[SOLVED] Build Error - ABINIT 6.12.2
Posted: Tue Apr 17, 2012 5:17 pm
While building ABINIT 6.12.2 using Intel compiler version 12 and SGI MPT (MPI library), I came across this error:
configure: === libXC library OK for use
configure: === generating the src/libxc_names.in file
checking whether linear algebra libraries work... no
configure: error: no working linear algebra libraries have been found
make[3]: *** [stamps/atompaw-config-stamp] Error 1
make[3]: Leaving directory `/nas/store/cho/CSM/ABINIT/abinit-6.12.2/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 `/nas/store/cho/CSM/ABINIT/abinit-6.12.2/fallbacks'
I was trying to use Intel MKL BLAS as you can see from my configure command below:
configure \
--enable-mpi \
--with-mpi-level=2 \
--with-mpi-includes="-I/sw/sdev/mpt-x86_64/2.06-ga/include" \
--with-mpi-libs="-L/sw/sdev/mpt-x86_64/2.06-ga/lib -lmpi" \
FC=ifort \
FCFLAGS="-O3 -xAVX -ip -I/sw/sdev/mpt-x86_64/2.06-ga/include" \
FC_LDFLAGS="-L/sw/sdev/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lmkl_blas95_lp64 -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_blacs_sgimpt_lp64 -lmkl_scalapack_lp64" \
FC_LIBS="-L/sw/sdev/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lmkl_blas95_lp64 -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_blacs_sgimpt_lp64 -lmkl_scalapack_lp64" \
CC=icc \
CXX=icpc \
CFLAGS="-O3 -xAVX -I/sw/sdev/mpt-x86_64/2.06-ga/include" \
CC_LDFLAGS="-L/sw/sdev/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lmkl_blas95_lp64 -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_blacs_sgimpt_lp64 -lmkl_scalapack_lp64" \
CC_LIBS="-L/sw/sdev/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lmkl_blas95_lp64 -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_blacs_sgimpt_lp64 -lmkl_scalapack_lp64"
Any idea as what went wrong here?
Thanks in advance
Kah-Song Cho
cho@sgi.com
configure: === libXC library OK for use
configure: === generating the src/libxc_names.in file
checking whether linear algebra libraries work... no
configure: error: no working linear algebra libraries have been found
make[3]: *** [stamps/atompaw-config-stamp] Error 1
make[3]: Leaving directory `/nas/store/cho/CSM/ABINIT/abinit-6.12.2/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 `/nas/store/cho/CSM/ABINIT/abinit-6.12.2/fallbacks'
I was trying to use Intel MKL BLAS as you can see from my configure command below:
configure \
--enable-mpi \
--with-mpi-level=2 \
--with-mpi-includes="-I/sw/sdev/mpt-x86_64/2.06-ga/include" \
--with-mpi-libs="-L/sw/sdev/mpt-x86_64/2.06-ga/lib -lmpi" \
FC=ifort \
FCFLAGS="-O3 -xAVX -ip -I/sw/sdev/mpt-x86_64/2.06-ga/include" \
FC_LDFLAGS="-L/sw/sdev/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lmkl_blas95_lp64 -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_blacs_sgimpt_lp64 -lmkl_scalapack_lp64" \
FC_LIBS="-L/sw/sdev/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lmkl_blas95_lp64 -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_blacs_sgimpt_lp64 -lmkl_scalapack_lp64" \
CC=icc \
CXX=icpc \
CFLAGS="-O3 -xAVX -I/sw/sdev/mpt-x86_64/2.06-ga/include" \
CC_LDFLAGS="-L/sw/sdev/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lmkl_blas95_lp64 -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_blacs_sgimpt_lp64 -lmkl_scalapack_lp64" \
CC_LIBS="-L/sw/sdev/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lmkl_blas95_lp64 -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_blacs_sgimpt_lp64 -lmkl_scalapack_lp64"
Any idea as what went wrong here?
Thanks in advance
Kah-Song Cho
cho@sgi.com