statically link libraries
Posted: Thu May 27, 2010 5:27 pm
I would like to compile abinit with statically linked libraries. I used the following configuration options
but I get the following error
Can anyone tell me the mistake I am making?
Code: Select all
./configure --prefix=$HOME/program/abinit --program-suffix="-mpi" --enable-mpi --with-linalg-libs="-Wl,-rpath,/usr/local/intel-11.1.056/mkl/lib/em64t -Wl,--start-group /usr/local/intel-11.1.056/mkl/lib/em64t/libmkl_intel_lp64.a /usr/local/intel-11.1.056/mkl/lib/em64t/libmkl_sequential.a /usr/local/intel-11.1.056/mkl/lib/em64t/libmkl_core.a -Wl,--end-group -lguide -lpthread -lm" --enable-scalapack -with-scalapack-libs="-Wl,-rpath,/usr/local/intel-11.1.056/mkl/lib/em64t -Wl,--start-group /usr/local/intel-11.1.056/mkl/lib/em64t/libmkl_intel_lp64.a /usr/local/intel-11.1.056/mkl/lib/em64t/libmkl_sequential.a /usr/local/intel-11.1.056/mkl/lib/em64t/libmkl_core.a -Wl,--end-group -lpthread" FC=mpif90 CC=mpiCC
but I get the following error
configure: parsing command-line options
configure: error: invalid library statement in with_linalg_libs: /usr/local/intel-11.1.056/mkl/lib/em64t/libmkl_intel_lp64.a
Can anyone tell me the mistake I am making?