charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Dimar Jaime González Soto <dimar.gonzalez.soto AT gmail.com>
- To: "Jain, Nikhil" <nikhil AT illinois.edu>
- Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
- Subject: Re: [charm] make pgm error
- Date: Mon, 18 Mar 2013 21:07:38 -0300
- List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
- List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
The LD_LIBRARY_PATH environment variable is properly configured in the .bashrc file:
LD_LIBRARY_PATH=/shared/openmpi-1.6.4/lib:/opt/platform_mpi/lib/linux_amd64:$LD_LIBRARY_PATH
2013/3/18 Jain, Nikhil <nikhil AT illinois.edu>
It appears that your MPI library is not in the linker path, and hence ld is not able to locate any of the functions required from MPI. Can you check the LD_LIBRARY_PATH environment variable.
--Nikhil
--Nikhil Jain, nikhil AT illinois.edu, http://charm.cs.uiuc.edu/people/nikhilDoctoral Candidate @ CS, UIUC
Date: Monday, March 18, 2013 3:56 PM
To: Nikhil Jain <nikhil AT illinois.edu>, "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
Subject: Re: [charm] make pgm error
Resent-From: Nikhil Jain <nikhil AT illinois.edu>
Resent-Date: Mon, 18 Mar 2013 15:56:23 -0500
Thanks for the response Jain, as a like before I builded charm successfully. I use the follow commmand line to build charm:
MPICXX=/shared/openmpi-1.6.4/bin/mpicxx ./build charm++ mpi-linux-x86_64 --with-production
next I go to:
cd mpi-linux-x86_64/tests/charm++/megatest
and write:
make pgm
the output:
../../../bin/../lib/libconv-cplus-y.a(machine.o): In function `CmiReplicaRecv':machine.c:(.text+0x5d): undefined reference to `hpmp_byte'../../../bin/../lib/libconv-cplus-y.a(machine.o): In function `CmiReplicaSend':machine.c:(.text+0x84): undefined reference to `hpmp_byte'../../../bin/../lib/libconv-cplus-y.a(machine.o): In function `CmiBarrierZero':machine.c:(.text+0xe3): undefined reference to `hpmp_byte'machine.c:(.text+0x14f): undefined reference to `hpmp_byte'../../../bin/../lib/libconv-cplus-y.a(machine.o): In function `CmiReplicaSendrecv':machine.c:(.text+0x36e): undefined reference to `hpmp_byte'../../../bin/../lib/libconv-cplus-y.a(machine.o):machine.c:(.text+0x78a): more undefined references to `hpmp_byte' follow../../../bin/../lib/libconv-cplus-y.a(machine.o): In function `CmiTimerInit':machine.c:(.text+0xc1c): undefined reference to `hpmp_min'machine.c:(.text+0xc23): undefined reference to `hpmp_double'../../../bin/../lib/libconv-cplus-y.a(machine.o): In function `ConverseInit':machine.c:(.text+0x11f4): undefined reference to `hpmp_comm_world'machine.c:(.text+0x1328): undefined reference to `hpmp_comm_world'machine.c:(.text+0x1471): undefined reference to `hpmp_comm_world'machine.c:(.text+0x1482): undefined reference to `hpmp_comm_self'../../../bin/../lib/libconv-cplus-y.a(machine.o): In function `CmiNotifyIdleForMPI':machine.c:(.text+0x192f): undefined reference to `hpmp_byte'machine.c:(.text+0x1961): undefined reference to `hpmp_byte'collect2: ld returned 1 exit statusFatal Error by charmc in directory /home/hpcadmin/software/NAMD_2.9_Source/charm-6.4.0/mpi-linux-x86_64/tests/charm++/megatestCommand /shared/openmpi-1.6.4/bin/mpicxx -m64 -fPIC -DCMK_GFORTRAN -rdynamic -o pgm -L../../../bin/../lib -I../../../bin/../include ../../../bin/../lib/libldb-rand.o megatest.o groupring.o nodering.o varsizetest.o varsizetest2.o varraystest.o groupcast.o groupmulti.o groupsectiontest.o multisectiontest.o nodecast.o synctest.o fib.o arrayring.o tempotest.o packtest.o queens.o migration.o marshall.o priomsg.o priotest.o rotest.o statistics.o templates.o inherit.o reduction.o bitvector.o immediatering.o callback.o inlineem.o completion_test.o moduleinit10933.o -lmodulecompletion ../../../bin/../lib/libmemory-default.o ../../../bin/../lib/libthreads-default.o -lck -lconv-cplus-y -lconv-core -lconv-util -lckqt -ldl -lmodulecompletion -lm returned error code 1charmc exiting...
2013/3/18 Jain, Nikhil <nikhil AT illinois.edu>
Hi Dimar,
Unless I missed it completely, what you had pasted did not indicate why linking failed. Are you able to compile simple Charm++ program such as in $(CHARMDIR)/examples/charm++/hello. If yes, my suspects will be the location of fft/tcl installations. It will be helpful if you can look at the error output again, and see if there is a print about why the linking failed. Also, can you paste the ./config command you had used for building NAMD.
--Nikhil
--Nikhil Jain, nikhil AT illinois.edu, http://charm.cs.uiuc.edu/people/nikhilDoctoral Candidate @ CS, UIUC
From: Dimar Jaime González Soto <dimar.gonzalez.soto AT gmail.com>
Date: Monday, March 18, 2013 9:01 AM
To: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
Subject: [charm] make pgm error
Resent-From: Nikhil Jain <nikhil AT illinois.edu>
Resent-Date: Mon, 18 Mar 2013 09:23:23 -0500
Dimar González Soto
--
Atte.
Dimar González SotoIngeniero Civil en InformáticaUniversidad Austral de Chile
Atte.
Dimar González Soto
Ingeniero Civil en Informática
Universidad Austral de Chile
- [charm] make pgm error, Dimar Jaime González Soto, 03/18/2013
- <Possible follow-up(s)>
- Re: [charm] make pgm error, Jain, Nikhil, 03/18/2013
- Re: [charm] make pgm error, Dimar Jaime González Soto, 03/18/2013
- Re: [charm] make pgm error, Jain, Nikhil, 03/18/2013
- Re: [charm] make pgm error, Dimar Jaime González Soto, 03/18/2013
- Re: [charm] make pgm error, Jain, Nikhil, 03/18/2013
- Re: [charm] make pgm error, Jain, Nikhil, 03/19/2013
- Re: [charm] make pgm error, Jain, Nikhil, 03/21/2013
Archive powered by MHonArc 2.6.16.