On Thu, 28 May 2009, Silviu Groza wrote:
> I am trying to install a qauntum chemistry program (Dalton) with LAM-MPI
> under PelicanHPC. PelicanHPC has both LAM-MPI as well as OpenMPI. I have
> chosen LAM-MPI due to lack of clear documentation of OpenMPI, and
> because LAM-MPI environment is the default on PelicanHPC.
> ---------------> Linking parallel dalpar.x ...
> mpif77 -march=x86-64 -O3 -ffast-math -fexpensive-optimizations -funroll-loops -fno-range-check -fsecond-underscore \
> -o /mnt/sda8/home/dalton-2.0/bin/dalpar.x abacus/dalton.o cc/crayio.o abacus/linux_mem_allo.o \
> abacus/herpar.o eri/eri2par.o amfi/amfi.o amfi/symtra.o -Labacus -labacus -Lrsp -lrsp -Lsirius -lsirius -labacus -Leri -leri -Ldensfit -ldensfit -Lcc -lcc -Ldft -ldft -Lgp -lgp -Lpdpack -lpdpack -L/usr/lib -llapack -lblas \
> -L/usr/lib/lam/lib -lmpi
> abacus/dalton.o: In function `getmmbas_':
> dalton.F:(.text+0x379): undefined reference to `mpi_bcast__'
Try removing the -fsecond-underscore option from your FFLAGS in the
makefile. LAM/MPI was likely built without that option, which means that
the name mangling convention is different between when LAM was compiled
and your application was built. Removing the option should ensure the
same name mangling is used.
> As you can see, I also get the error "mpif77: No such file or directory".
> Please look at the MPI_INCLUDE_DIR ,MPI_LIB_PATH and MPI_LIB in Makefile.config, because I susspect that the paths are wrong.
The No such file or directory error is an erroneous but harmless error
message from mpif77 - it can be safely ignored.
Brian
--
Brian Barrett
LAM/MPI Developer
Make today a LAM/MPI day!
|