Hi all<br><br>I was compiling espresso on a Redhat machine, with PBS and mpi-intel library,<br><br>it seems I can't use the flag "<b>--disable-shared</b>", once I do so,  I got the following in make.sys<br><b>DFLAGS         =  -D__INTEL -D__FFTW3</b><br clear="all">
there is no "-D__MPI -D__PARA", and if I add these two by hand in make.sys, it complained with error.<br><br>If I did simply "./configure" in espresso top directory, then change the BLAS/LAPACK library to internal by hand,<br>
I got the following error in running.(compilation is successful.)<br><br><b>/home/***/pw.x: symbol lookup error: /opt/openmpi/1.4.3/intel/lib/libopen-pal.so.0: undefined symbol: __intel_sse2_strcpy<br>/home/***/pw.x: symbol lookup error: /opt/openmpi/1.4.3/intel/lib/libopen-pal.so.0: undefined symbol: __intel_sse2_strcpy<br>
/home/***/pw.x: symbol lookup error: /opt/openmpi/1.4.3/intel/lib/libopen-pal.so.0: undefined symbol: __intel_sse2_strcpy<br>/home/***/pw.x: symbol lookup error: /opt/openmpi/1.4.3/intel/lib/libopen-pal.so.0: undefined symbol: __intel_sse2_strcpy</b><br>
<br>and I think I already source all the necessary lib in the batch script like the below:<br><br>#PBS -l nodes=1:ppn=4<br>#PBS -l walltime=00:01:00<br>source /opt/intel/Compiler/11.1/072/bin/ifortvars.sh intel64<br>source /opt/intel/fce/10.1.012/bin/ifortvars.sh<br>
source /opt/intel/cce/10.1.012/bin/iccvars.sh<br>#source /opt/openmpi/1.4.3/intel/bin/<br>export LD_LIBRARY_PATH=/opt/intel/Compiler/11.1/072/mkl/lib/em64t:/opt/openmpi/1.4.3/intel/lib:/opt/intel/fce/10.1.012/lib:/opt/pbs/lib64<br>
<br>Does anyone have any idea of what is going on here?<br><br>Thank you all for reading this!<br><br>-- <br>Sincerely,<br><br>Rui DONG<br>