I'm attempting to build abinit 6.12.1 from source for our cluster. While running make, linking fails with the error I've pasted at the bottom of this post. Here are some useful notes:
-we've successfully compiled and used 6.10.2 on the same system and environment
-I can successfully compile if I disable mpi
-looking at the first libtool line in the output below, I can see that -rpath is being passed as an argument twice, both times with the same path, so perhaps there is a problem in the abinit config file??
-export FC=ifort CC=icc CXX=icpc
Can anyone offer insight and or suggestions on how to resolve this?
Regards,
Daniel
libtool: link: mpif90 -free -g -extend-source -vec-report0 -noaltparam -nofpscomp -O2 -g -I/afs/hpc2n.umu.se/lap/abinit/6.12.1/src/abinit-6.12.1/abisko-intel/fallbacks/exports/include -rpath /lap/libfftw/3.3.0/lib -rpath /lap/libfftw/3.3.0/lib/openmpi -o atompaw atompaw_prog.o -L/lap/libfftw/3.3.0/lib -L/lap/libfftw/3.3.0/lib/openmpi ./.libs/libatompaw.a -L/afs/hpc2n.umu.se/lap/abinit/6.12.1/src/abinit-6.12.1/abisko-intel/fallbacks/exports/lib -lmkl_scalapack_lp64 -lmkl_blacs_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core /afs/hpc2n.umu.se/lap/abinit/6.12.1/src/abinit-6.12.1/abisko-intel/fallbacks/exports/lib/libnetcdf.a /lap/openmpi/1.5.4/intel-12.1/lib/libmpi_f90.so /lap/openmpi/1.5.4/intel-12.1/lib/libmpi_f77.so /lap/openmpi/1.5.4/intel-12.1/lib/libmpi.so -ldl -lnsl -lutil /afs/hpc2n.umu.se/lap/abinit/6.12.1/src/abinit-6.12.1/abisko-intel/fallbacks/exports/lib/libxc.a -pthread -rpath /lap/openmpi/1.5.4/intel-12.1/lib -rpath /lap/openmpi/1.5.4/intel-12.1/lib
ifort: command line warning #10006: ignoring unknown option '-rpath'
ifort: command line warning #10006: ignoring unknown option '-rpath'
ifort: command line remark #10010: option '-pthread' is deprecated and will be removed in a future release. See '-help deprecated'
ifort: command line warning #10006: ignoring unknown option '-rpath'
ifort: command line warning #10006: ignoring unknown option '-rpath'
ipo: warning #11010: file format not recognized for /lap/libfftw/3.3.0/lib
ipo: warning #11010: file format not recognized for /lap/libfftw/3.3.0/lib/openmpi
ipo: warning #11010: file format not recognized for /lap/openmpi/1.5.4/intel-12.1/lib
ipo: warning #11010: file format not recognized for /lap/openmpi/1.5.4/intel-12.1/lib
ld: /lap/libfftw/3.3.0/lib: No such file: File format not recognized
make[6]: *** [atompaw] Error 1
make[6]: Leaving directory `/afs/hpc2n.umu.se/lap/abinit/6.12.1/src/abinit-6.12.1/abisko-intel/fallbacks/sources/atompaw-3.0.1.3/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/afs/hpc2n.umu.se/lap/abinit/6.12.1/src/abinit-6.12.1/abisko-intel/fallbacks/sources/atompaw-3.0.1.3'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/afs/hpc2n.umu.se/lap/abinit/6.12.1/src/abinit-6.12.1/abisko-intel/fallbacks/sources/atompaw-3.0.1.3'
make[3]: *** [stamps/atompaw-build-stamp] Error 2
make[3]: Leaving directory `/afs/hpc2n.umu.se/lap/abinit/6.12.1/src/abinit-6.12.1/abisko-intel/fallbacks'
make[2]: [all-local] Error 2 (ignored)
Checking build of atompaw fallback
test -e stamps/atompaw-install-stamp
make[2]: *** [all-local] Error 1
make[2]: Leaving directory `/afs/hpc2n.umu.se/lap/abinit/6.12.1/src/abinit-6.12.1/abisko-intel/fallbacks'
make[1]: *** [multi] Error 2
make[1]: Leaving directory `/afs/hpc2n.umu.se/lap/abinit/6.12.1/src/abinit-6.12.1/abisko-intel'
make: *** [mj4] Error 2