charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
Re: [charm] Charm build for XC40: Cannot get network topology information on a Cray build
Chronological Thread
- From: Tom Quinn <trq AT astro.washington.edu>
- To: Jeff Hammond <jeff.science AT gmail.com>
- Cc: Steve Petruzza <spetruzza AT sci.utah.edu>, charm <charm AT lists.cs.illinois.edu>
- Subject: Re: [charm] Charm build for XC40: Cannot get network topology information on a Cray build
- Date: Mon, 1 Aug 2016 08:55:21 -0700 (PDT)
I've had this problem on certain Crays. Try the following incantation (from Jim Phillips):
export PE_PKGCONFIG_LIBS=cray-pmi:cray-ugni:$PE_PKGCONFIG_LIBS
before building.
Tom Quinn Astronomy, University of Washington
Internet:
trq AT astro.washington.edu
Phone: 206-685-9009
On Mon, 1 Aug 2016, Jeff Hammond wrote:
I could not reproduce this with the latest git HEAD
(c0a12aaee85a0ce05271f9485979db1db4d1d74f).
On the other hand, I could not build with gcc 6.1.0 module. Switching to
gcc 5.3.0 module was required.
Jeff, who is a random person from the internet, not a Charm++ authority
charm++ built successfully.
Next, try out a sample program like
gni-crayxc-smp/tests/charm++/simplearrayhello
jhammond@edison11:~/Charm++/git>
./build charm++ gni-crayxc smp -j16
--with-production
jhammond@edison11:~/Charm++/git>
module list
Currently Loaded Modulefiles:
1) modules/3.2.10.4 10) ugni/6.0-1.0502.10245.9.9.ari
19) PrgEnv-intel/5.2.56
2) nsg/1.2.0 11)
pmi/5.0.10-1.0000.11050.0.0.ari 20) craype-ivybridge
3) eswrap/1.1.0-1.020200.1130.0 12)
dmapp/7.0.1-1.0502.10246.8.47.ari 21) cray-shmem/7.4.1
4) switch/1.0-1.0502.57058.1.58.ari 13)
gni-headers/4.0-1.0502.10317.9.2.ari 22) cray-mpich/7.4.1
5) craype-network-aries 14)
xpmem/0.1-2.0502.57015.1.15.ari 23) slurm/edison
6) craype/2.5.5 15)
dvs/2.5_0.9.0-1.0502.1958.2.55.ari 24) gcc/5.3.0
7) intel/16.0.2.181 16)
alps/5.2.3-2.0502.9295.14.14.ari 25) altd/2.0
8) cray-libsci/16.07.1 17)
rca/1.0.0-2.0502.57212.2.56.ari 26) craype-hugepages8M
9) udreg/2.3.2-1.0502.9889.2.20.ari 18) atp/2.0.2
On Sun, Jul 31, 2016 at 2:17 AM, Steve Petruzza
<spetruzza AT sci.utah.edu>
wrote:
Hi all,I?m trying to build on an XC40 charm++ 6.7.1 using:
./build charm++ gni-crayxc smp -j16 --with-production
but at some point I get the following error:
../bin/charmc -optimize -production -I. -c -o ckdll.o ckdll.C
../bin/charmc -optimize -production -I. -c -o ckhashtable.o
ckhashtable.C
../bin/charmc -optimize -production -I. -c -o sockRoutines.o
sockRoutines.c
../bin/charmc -optimize -production -I. -c -o conv-lists.o
conv-lists.C
../bin/charmc -optimize -production -I. -c -o RTH.o RTH.C
../bin/charmc -optimize -production -I. -c -o persist-comm.o
persist-comm.c
../bin/charmc -optimize -production -I. -c -o mempool.o mempool.c
../bin/charmc -optimize -production -I. -c -o graph.o graph.c
../bin/charmc -optimize -production -I. -c -o TopoManager.o
TopoManager.C
../bin/charmc -optimize -production -I. -c -o CrayNid.o CrayNid.c
../bin/charmc -optimize -production -I. -c -o BGQTorus.o
BGQTorus.C
../bin/charmc -optimize -production -I. -c -o
partitioning_strategies.o partitioning_strategies.C
../bin/charmc -optimize -production -c pup_f.f90 &&
../bin/charmc -optimize -production -cpmod ../include pupmod.M ||
touch pup_f.o
../bin/charmc -optimize -production -o ../lib/libldb-rand.a
cldb.rand.c
../bin/charmc -optimize -production -o ../lib/libldb-spray.a
cldb.spray.c
CrayNid.c: In function 'getXTNodeID':
CrayNid.c:32:5: error: #error "Cannot get network topology information
on a Cray build. Swap current module xt-mpt with xt-mpt/5.0.0 or
higher and xt-asyncpe with xt-asyncpe/4.0 or higher and then rebuild"
#error "Cannot get network topology information on a Cray build.
Swap current module xt-mpt with xt-mpt/5.0.0 or higher and xt-asyncpe
with xt-asyncpe/4.0 or higher and then rebuild"
^
Fatal Error by charmc in directory
/home/petruzsn/charm/gni-crayxc-smp/tmp
Command cc -I/opt/cray/rca/1.0.0-2.0502.60530.1.62.ari/include
-I/opt/cray/alps/5.2.4-2.0502.9774.31.11.ari/include
-I/opt/cray/gni-headers/4.0-1.0502.10859.7.8.ari/include
-I/opt/cray/pmi/5.0.10-1.0000.11050.0.0.ari/include
-I/opt/cray/ugni/6.0-1.0502.10863.8.29.ari/include
-I/opt/cray/wlm_detect/1.0-1.0502.64649.2.1.ari/include
-I/opt/cray/krca/1.0.0-2.0502.63139.4.31.ari/include
-I/opt/cray-hss-devel/7.2.0/include
-I/opt/cray/gni-headers/4.0-1.0502.10859.7.8.ari/include
-I/opt/cray/ugni/6.0-1.0502.10863.8.29.ari/include -D_REENTRANT
-D_REENTRANT -D_REENTRANT -D_REENTRANT -I../bin/../include
-D__CHARMC__=1 -I. -O2 -U_FORTIFY_SOURCE -c CrayNid.c -o CrayNid.o
returned error code 1
charmc exiting...
gmake: *** [CrayNid.o] Error 1
gmake: *** Waiting for unfinished jobs?.
My module list is this:
1) modules/3.2.10.3 8) slurm/slurm(default)
15) pmi/5.0.10-1.0000.11050.0.0.ari 22) atp/1.8.3
2) switch/1.0-1.0502.60522.1.61.ari 9)
eswrap/1.3.2-1.020200.1274.0 16)
dmapp/7.0.1-1.0502.11080.8.76.ari 23) PrgEnv-gnu/5.2.82
3) gcc/5.1.0 10) ksl/ksl
17) gni-headers/4.0-1.0502.10859.7.8.ari 24)
cmake/3.1.3
4) craype-network-aries 11) darshan/2.3.1
18) xpmem/0.1-2.0502.64982.5.3.ari 25)
craype-hugepages8M
5) craype-haswell 12) cray-libsci/13.2.0
19) dvs/2.5_0.9.0-1.0502.2188.1.116.ari
6) craype/2.4.2 13)
udreg/2.3.2-1.0502.10518.2.17.ari 20)
alps/5.2.4-2.0502.9774.31.11.ari
7) cray-mpich/7.2.6 14)
ugni/6.0-1.0502.10863.8.29.ari 21)
rca/1.0.0-2.0502.60530.1.62.ari
I could not find the modules mentioned in the error. What am I
missing?
Thank you,
Steve
--
Jeff Hammond
jeff.science AT gmail.com
http://jeffhammond.github.io/
- Re: [charm] Charm build for XC40: Cannot get network topology information on a Cray build, Jeff Hammond, 08/01/2016
- Re: [charm] Charm build for XC40: Cannot get network topology information on a Cray build, Tom Quinn, 08/01/2016
- Re: [charm] Charm build for XC40: Cannot get network topology information on a Cray build, Steve Petruzza, 08/01/2016
- Re: [charm] Charm build for XC40: Cannot get network topology information on a Cray build, Tom Quinn, 08/01/2016
Archive powered by MHonArc 2.6.19.