<div dir="ltr"><div><div><div>Dear Fang,<br><br></div> I do not know what the problem is, but if you insert those ".a" with the -l<name> option, you must have libraries called "lib<name>.a.a" or "lib<name>.a.so" in the directories. Please check again in all the names of libraries, and post us the resulting compilation log together with the "make.sys" file.<br><br></div> Good Luck,<br><br></div> apsi<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-12 17:14 GMT+02:00 yuewen.fang <span dir="ltr"><<a href="mailto:yuewen.fang@gmail.com" target="_blank">yuewen.fang@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
Hi HTH,<div><br></div><div>Thanks for your reply. However, that's not the key. Before posting this question, I've tested what you said and it gave same errors.</div><div><br></div><div>Bests</div><div>Fang<br><br>
<hr style="WIDTH:101px;border:0;border-top:1px solid #ccc" align="left">
<div><a href="http://www.yomail.com/?utm_source=signature" style="font-size:12pt" target="_blank">Sent from YoMail</a></div>
<br>
<div class="gmail_quote"><span class="">
<span dir="ltr"><
<a href="mailto:lorenzo.paulatto@impmc.upmc.fr" target="_blank">Lorenzo Paulatto</a>> 2015-09-12 20:31:48 wrote:
</span>
<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div><span class=""><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></span><div class="gmail_quote"><span class="">On 12 Sep 2015 2:23 pm, "Yue-Wen Fang" <<a href="mailto:yuewen.fang@gmail.com" target="_blank"></a><a href="mailto:yuewen.fang@gmail.com" target="_blank">yuewen.fang@gmail.com</a>> wrote:<br type="attribution"></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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></div></div><span class=""> _______________________________________________<br> Pw_forum mailing list<br><a href="mailto:Pw_forum@pwscf.org" target="_blank"></a><a href="mailto:Pw_forum@pwscf.org" target="_blank">Pw_forum@pwscf.org</a><br><a href="http://pwscf.org/mailman/listinfo/pw_forum" rel="noreferrer" target="_blank"></a><a href="http://pwscf.org/mailman/listinfo/pw_forum" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br></span></blockquote></div></div>
</div>
</blockquote>
</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><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-<br> Ari Paavo Seitsonen / <a href="mailto:Ari.P.Seitsonen@iki.fi" target="_blank">Ari.P.Seitsonen@iki.fi</a> / <a href="http://www.iki.fi/~apsi/" target="_blank">http://www.iki.fi/~apsi/</a><br> Ecole Normale Supérieure (ENS), Département de Chimie, Paris<br> Mobile (F) : +33 789 37 24 25 (CH) : +41 79 71 90 935<br></div></div></div></div>
</div>