On May 31, 2009, at 3:59 AM, Silviu Groza wrote:
> Trying to install Dalton chemistry program with LAM-MPI under
> PelicanHPC was not successful.
> Therefore I installed LAM-MPI (7.1.4) on OpenSuse machine with Intel
> compilers suite with the following sequence:
>
> LIBS = -L/usr/lib64 -lblas -Vaxlib
>
> ---------------> Linking sequential dalton.x ...
> mpif77 -O3 -xW -ip -w \
> -o /home/dan/DaltonparalelsubLAMinstalatdinsursa/dalton-2.0/
> bin/dalton.x abacus/dalton.o cc/crayio.o abacus/linux_mem_allo.o \
> abacus/herpar.o eri/eri2par.o amfi/amfi.o amfi/symtra.o gp/
> mpi_dummy.o -Labacus -labacus -Lrsp -lrsp -Lsirius -lsirius -labacus
> -Leri -leri -Ldensfit -ldensfit -Lcc -lcc -Ldft -ldft -Lgp -lgp -
> Lpdpack -lpdpack -L/usr/lib64 -lblas -Vaxlib
> ld: warning: libopen-rte.so.0, needed by /usr/local/lib/libmpi.so,
> not found (try using -rpath or -rpath-link)
> ld: warning: libopen-pal.so.0, needed by /usr/local/lib/libmpi.so,
> not found (try using -rpath or -rpath-link)
> dft/libdft.a(general.o): In function `dftfuncsync_':
> general.c:(.text+0x2d7): undefined reference to `lam_mpi_int'
> general.c:(.text+0x2df): undefined reference to `lam_mpi_comm_world'
> general.c:(.text+0x329): undefined reference to `lam_mpi_char'
> general.c:(.text+0x331): undefined reference to `lam_mpi_comm_world'
> dft/libdft.a(general.o): In function `dft_cslave_':
> general.c:(.text+0x4d4): undefined reference to `lam_mpi_comm_world'
> general.c:(.text+0x4ec): undefined reference to `lam_mpi_comm_world'
> general.c:(.text+0x503): undefined reference to `lam_mpi_int'
> general.c:(.text+0x50b): undefined reference to `lam_mpi_comm_world'
> dft/libdft.a(general.o): In function `dft_wake_slaves':
> general.c:(.text+0x56a): undefined reference to `lam_mpi_comm_world'
> general.c:(.text+0x5d6): undefined reference to `lam_mpi_int'
> general.c:(.text+0x5de): undefined reference to `lam_mpi_comm_world'
I'd have to think that Open MPI's libraries are installed in /usr/
lib64 and since you explicitly added a -L/usr/lib64 (which is almost
always a bad idea), Open MPI's libmpi is being found before LAM's
libmpi.
Brian
--
Brian Barrett
LAM/MPI Developer
Make today a LAM/MPI day!
|