Skip to Content.
Sympa Menu

charm - Re: [charm] help needed to compile charm on BG/Q

charm AT lists.siebelschool.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] help needed to compile charm on BG/Q


Chronological Thread 
  • From: Nikhil Jain <nikhil AT illinois.edu>
  • To: Jae-Seung Yeom <jyeom AT vbi.vt.edu>
  • Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: Re: [charm] help needed to compile charm on BG/Q
  • Date: Sat, 21 Sep 2013 21:09:40 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

My apologizes again for the delay (this message of yours was stuck in the moderator list, and only got released today).

Given that it is difficult to automate the handling of "name" used for pami library on different sites, I suggest following manual way to get things working: Attached is a patch that you can apply to your charm, which will modify appropriate configuration files for pamilrts build, which you are using on Vulcan (git apply vulcan.patch). If you intend to use other builds on BGQ (pami* or mpi*), I suggest making similar changes or asking me to provide you with an additional patch.

--Nikhil


On Fri, Sep 13, 2013 at 9:21 PM, Jae-Seung Yeom <jyeom AT vbi.vt.edu> wrote:
Hello,

Recently, one of the BG/Q system (vulcan.llnl.gov) updated
BGQ Driver [V1R2M1 (RHEL 6.4)]
Since then I cannot compile charm.
I use `./build charm++ pamilrts-bluegeneq smp -j16  --with-production --enable-tracing -DCMK_GLOBAL_LOCATION_UPDATE=1`

I get the following output.
---------------------------------------------------
 charmconfig.out
---------------------------------------------------
Error checking is disabled
Statistics collection is disabled
Charm tracing is enabled
Charm tracing communication thread is disabled
CharmDebug is disabled
Charm record/replay is disabled
CCS is enabled
Charm control point is disabled
Setting load balancing timer type as 'double'
### whether C++ compiler works
#include <stdio.h>
void foo(void) {
        printf("Hello, world!\n");
}
/bgsys/drivers/ppcfloor/gnu-linux/bin/powerpc64-bgq-linux-g++ -Wno-deprecated -I/bgsys/drivers/ppcfloor/comm/sys/include -I/bgsys/drivers/ppcfloor/spi/include -I/bgsys/drivers/ppcfloor -I/bgsys/drivers/ppcfloor/spi/include/kernel/cnk -I/soft/libraries/alcf/current/gcc/ZLIB//include -I../include -I. -c test.cpp -o test.o
### whether linker works
#include <stdio.h>
int main() {
        printf("Hello, world!\n");
        return 0;
}
/bgsys/drivers/ppcfloor/gnu-linux/bin/powerpc64-bgq-linux-g++ -Wno-deprecated -I/bgsys/drivers/ppcfloor/comm/sys/include -I/bgsys/drivers/ppcfloor/spi/include -I/bgsys/drivers/ppcfloor -I/bgsys/drivers/ppcfloor/spi/include/kernel/cnk -I/soft/libraries/alcf/current/gcc/ZLIB//include -I../include -I. -c test.cpp -o test.o
/bgsys/drivers/ppcfloor/gnu-linux/bin/powerpc64-bgq-linux-g++ -Wno-deprecated -I/bgsys/drivers/ppcfloor/comm/sys/include -I/bgsys/drivers/ppcfloor/spi/include -I/bgsys/drivers/ppcfloor -I/bgsys/drivers/ppcfloor/spi/include/kernel/cnk -I/soft/libraries/alcf/current/gcc/ZLIB//include -o testlink test.o -L/bgsys/drivers/ppcfloor/comm/sys-fast/lib -lpami -L/bgsys/drivers/ppcfloor/spi/lib -L/soft/libraries/alcf/current/gcc/ZLIB//lib -lSPI -lSPI_cnk -lpthread -lrt
/bgsys/drivers/toolchain/V1R2M1_base/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.6/../../../../powerpc64-bgq-linux/bin/ld: cannot find -lpami
collect2: ld returned 1 exit status
---------------------------------------------------

In fact, I cannot find libpami anywhere. If anyone has gone through this and have a solution, please let me know.
Thanks a lot.

Jae-Seung
_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm



--
Nikhil Jain, nikhil AT illinois.edu, http://charm.cs.uiuc.edu/people/nikhil
Doctoral Candidate @ CS, UIUC
 

Attachment: vulcan.patch
Description: Binary data




Archive powered by MHonArc 2.6.16.

Top of Page