<p dir="ltr">You must not put the ".a" in library names </p>
<p dir="ltr">HTH </p>
<p dir="ltr">Lorenzo Paulatto - Paris</p>
<div class="gmail_quote">On 12 Sep 2015 2:23 pm, "Yue-Wen Fang" <<a href="mailto:yuewen.fang@gmail.com">yuewen.fang@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear all,<div><br></div><div>I moved to a new HPC, hence need install QE from scratch. </div><div><br></div><div><b>In configuration step</b>, the MKL lib that I need  was found successfully as shown below:</div><div><br></div><div><div>The following libraries have been found:</div><div>  BLAS_LIBS=-L/opt/intel/mkl/<a href="http://10.2.5.035/lib/em64t" target="_blank">10.2.5.035/lib/em64t</a> -lmkl_blas95_lp64.a -lmkl_core.a -lmkl_sequential.a</div><div>  LAPACK_LIBS=-L/opt/intel/mkl/<a href="http://10.2.5.035/lib/em64t" target="_blank">10.2.5.035/lib/em64t</a> -lmkl_lapack95_lp64.a</div><div>  SCALAPACK_LIBS=-L/opt/intel/mkl/<a href="http://10.2.5.035/lib/em64t" target="_blank">10.2.5.035/lib/em64t</a> -lmkl_scalapack_lp64.a</div><div>  FFT_LIBS=</div><div>Please check if this is what you expect.</div><div><br></div><div><b>The second step </b>followed as make all. <b>However, it gave some errors about scalapack.</b></div><div><br></div><div><div>           pwscf.o  libpw.a ../../Modules/libqemod.a ../../flib/ptools.a ../../flib/flib.a ../../clib/clib.a ../../iotk/src/libiotk.a -L/opt/intel/mkl/<a href="http://10.2.5.035/lib/em64t" target="_blank">10.2.5.035/lib/em64t</a> -lmkl_scalapack_lp64.a -L/opt/intel/mkl/<a href="http://10.2.5.035/lib/em64t" target="_blank">10.2.5.035/lib/em64t</a> -lmkl_lapack95_lp64.a  -L/opt/intel/mkl/<a href="http://10.2.5.035/lib/em64t" target="_blank">10.2.5.035/lib/em64t</a> -lmkl_blas95_lp64.a -lmkl_core.a -lmkl_sequential.a</div><div>ld: <b>cannot find -lmkl_scalapack_lp64.a</b></div><div>make[2]: *** [pw.x] Error 1</div><div>make[2]: Leaving directory `/home/user/pwscf/espresso-5.0.2/PW/src'</div><div>make[1]: *** [pw] Error 2</div><div>make[1]: Leaving directory `/home/user/pwscf/espresso-5.0.2/PW'</div><div>make: *** [pw] Error 2</div></div><div><br></div><div>I am very sure that <b>there are libmkl_scalapack_lp64.a, libmkl_scalapack_lp64.so files in this directory and they can work for other programs</b>.</div><div><br></div><div>Has anyone encountered with this error before? I googled this error but hasn't get a solution. Hope to get some advice here.</div><div><br></div><div>Thank you!</div><div><br></div><div>Bests</div><div>Fang</div>-- <br><div><div dir="ltr">------------------------------------------------------------------------------------------------------------<div>Yue-Wen FANG, PhD candidate<br><div><a href="http://clpm.ecnu.edu.cn/" style="font-family:arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)" target="_blank">Key Laboratory of Polar Materials and Devices, Ministry of Education</a><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><a href="http://english.ecnu.edu.cn/" target="_blank">East China Normal University </a></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><br></div></div><div><br></div><div><br></div></div></div></div>
</div></div>
<br>_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a href="http://pwscf.org/mailman/listinfo/pw_forum" rel="noreferrer" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br></blockquote></div>