[Users] HPMPI
Erik Schnetter
schnetter at cct.lsu.edu
Tue Jan 16 17:29:02 CST 2007
On Jan 16, 2007, at 16:48:13, Ryoji Takahashi wrote:
> Hi, i never compile with hpmpi.
>
> with following configure file
>
> MPI=CUSTOM
> MPI_LIBS= mpi
> MPI_LIB_DIRS=/opt/hpmpi/lib/linux_amd64
> MPI_INC_DIRS=/opt/hpmpi/include
> PTHREADS=yes
>
> i am getting the following link error.
>
> /global/malcubi/ryoji/Cactus/configs/x86_64/lib/libthorn_Cactus.a
> (CactusDefaultComm.c.o)(.text+0x69a): In function
> `CactusDefaultMyProc':
> : undefined reference to `MPI_Comm_rank'
> /global/malcubi/ryoji/Cactus/configs/x86_64/lib/libthorn_Cactus.a
> (CactusDefaultComm.c.o)(.text+0x6c7): In function
> `CactusDefaultMyProc':
> : undefined reference to `MPI_Error_string'
> /global/malcubi/ryoji/Cactus/configs/x86_64/lib/
> libthorn_CarpetInterp.a(interp.cc.o)(.text+0x879): In function
> `Carpet_DriverInterpolate':
> : undefined reference to `hpmp_int'
You probably need to list more libraries in "MPI_LIBS", not just
"mpi". Look into the directory "/opt/hpmpi/lib/linux_amd64", and
list some of the other libraries that are there (if there are more).
The order in which you list the libraries is also important -- you
may have to try some permutations.
-erik
--
Erik Schnetter <schnetter at cct.lsu.edu>
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from www.keyserver.net.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://www.cactuscode.org/pipermail/users/attachments/20070116/367605bc/attachment.bin
More information about the Users
mailing list