Hi,<div><br></div><div>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 :</div><div><br></div><div>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</div>
<div>_core -liomp5 -lpthread -lm )</div><div>##################################################################</div><div><div>make[2]: Nothing to be done for `lib+util'.</div><div>make[2]: Leaving directory `/home/ruchir/espresso-5.0.1/S3DE/iotk/src'</div>
<div>cd ../bin; ln -fs ../S3DE/iotk/tools/iotk .; \</div><div> ln -fs ../S3DE/iotk/src/iotk.x .; \</div><div> ln -fs ../S3DE/iotk/src/iotk_print_kinds.x .; \</div><div> cd ../; ln -fs S3DE/iotk iotk</div>
<div>make[1]: Leaving directory `/home/ruchir/espresso-5.0.1/install'</div><div>( cd Modules ; if test "make" = "" ; then make TLDEPS= all ; \</div><div> else make TLDEPS= all ; fi )</div>
<div>make[1]: Entering directory `/home/ruchir/espresso-5.0.1/Modules'</div><div>make[1]: Nothing to be done for `all'.</div><div>make[1]: Leaving directory `/home/ruchir/espresso-5.0.1/Modules'</div><div>cd install ; make -f extlibs_makefile liblapack</div>
<div>make[1]: Entering directory `/home/ruchir/espresso-5.0.1/install'</div><div>touch fake_liblapack.a</div><div>rm fake_liblapack.a</div><div>make[1]: Leaving directory `/home/ruchir/espresso-5.0.1/install'</div>
<div>cd install ; make -f extlibs_makefile libblas</div><div>make[1]: Entering directory `/home/ruchir/espresso-5.0.1/install'</div><div>touch fake_libblas.a</div><div>rm fake_libblas.a</div><div>make[1]: Leaving directory `/home/ruchir/espresso-5.0.1/install'</div>
<div>( cd clib ; if test "make" = "" ; then make TLDEPS= all ; \</div><div> else make TLDEPS= all ; fi )</div><div>make[1]: Entering directory `/home/ruchir/espresso-5.0.1/clib'</div><div>
mpiicc -O2 -D__GFORTRAN -D__STD_F95 -D__FFTW3 -I/opt/ICS/composerxe-2011.0.084/mkl/include -c hills.c</div><div>hills.c(271): error: identifier "BOLTZ" is undefined</div><div> this_ww = hills.wwr*exp(-hills.Vhills/(BOLTZ*(colvar.wfactor-1.0)*colvar.simtemp));</div>
<div> ^</div><div><br></div><div>compilation aborted for hills.c (code 2)</div><div>make[1]: *** [hills.o] Error 2</div><div>make[1]: Leaving directory `/home/ruchir/espresso-5.0.1/clib'</div>
<div>make: *** [libs] Error 2</div></div><div>#############################################################################</div><div>Please help us to resolve the same. </div><div><br></div><div>-Ruchir</div><div>N.H.R.L</div>