[Pw_forum] error while compiling quantum espresso-5.0.1 with ifort 12.0

ruchir behal ruchir.behal at gmail.com
Thu Dec 6 16:58:04 CET 2012


Hi,

we are trying to compile quantum espresso-5.0.1 on centos 5.2, intel x86_64
platform using intel compilers (version 12.0), and mkl 10.3. We  are
getting following error :

FC=ifort, (linking :   -L/opt/ICS/mkl/lib/intel64
/opt/ICS/mkl/lib/intel64/libmkl_blas95_ilp64.a
/opt/ICS/mkl/lib/intel64/libmkl_lapack95_ilp64.a -lmkl_intel_ilp64
-lmkl_intel_thread -lmkl
_core -liomp5 -lpthread -lm )
##################################################################
make[2]: Nothing to be done for `lib+util'.
make[2]: Leaving directory `/home/ruchir/espresso-5.0.1/S3DE/iotk/src'
cd ../bin; ln -fs ../S3DE/iotk/tools/iotk .; \
        ln -fs ../S3DE/iotk/src/iotk.x .; \
        ln -fs ../S3DE/iotk/src/iotk_print_kinds.x .; \
        cd ../; ln -fs S3DE/iotk iotk
make[1]: Leaving directory `/home/ruchir/espresso-5.0.1/install'
( cd Modules ; if test "make" = "" ; then make  TLDEPS= all ; \
        else make  TLDEPS= all ; fi )
make[1]: Entering directory `/home/ruchir/espresso-5.0.1/Modules'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ruchir/espresso-5.0.1/Modules'
cd install ; make  -f extlibs_makefile liblapack
make[1]: Entering directory `/home/ruchir/espresso-5.0.1/install'
touch fake_liblapack.a
rm fake_liblapack.a
make[1]: Leaving directory `/home/ruchir/espresso-5.0.1/install'
cd install ; make  -f extlibs_makefile libblas
make[1]: Entering directory `/home/ruchir/espresso-5.0.1/install'
touch fake_libblas.a
rm fake_libblas.a
make[1]: Leaving directory `/home/ruchir/espresso-5.0.1/install'
( cd clib ; if test "make" = "" ; then make  TLDEPS= all ; \
        else make  TLDEPS= all ; fi )
make[1]: Entering directory `/home/ruchir/espresso-5.0.1/clib'
mpiicc -O2 -D__GFORTRAN -D__STD_F95 -D__FFTW3
-I/opt/ICS/composerxe-2011.0.084/mkl/include  -c hills.c
hills.c(271): error: identifier "BOLTZ" is undefined
      this_ww =
hills.wwr*exp(-hills.Vhills/(BOLTZ*(colvar.wfactor-1.0)*colvar.simtemp));
                                             ^

compilation aborted for hills.c (code 2)
make[1]: *** [hills.o] Error 2
make[1]: Leaving directory `/home/ruchir/espresso-5.0.1/clib'
make: *** [libs] Error 2
#############################################################################
Please help us to resolve the same.

-Ruchir
N.H.R.L
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20121206/9a2fea01/attachment.html>


More information about the users mailing list