<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jul 17, 2012, at 10:51 AM, Mahdi Faghih nasiri wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Dear all,<br> When I tried to compile espresso-4.3.2 with composer_xe_2011_sp1.6.233, the error "cannot find -lmkl_em64t_nothread" came out.<br>i use this command for installing QE from link below:<br><a href="http://www.democritos.it/pipermail/pw_forum/2011-February/019440.html">http://www.democritos.it/pipermail/pw_forum/2011-February/019440.html</a><br><br>./configure BLAS_LIBS="-L/tmp/espresso-4.3.2/install -L/opt/intel/mkl/lib/intel64 -lmkl_em64t_nothread" LAPACK_LIBS="-L/tmp/espresso-4.3.2/install -L/opt/intel/mkl/lib/intel64"<br>make all<br><br>i think mkl library changed in this version.<br>Please help me to resolve it, thank you in advance!</span></div><div><br><span></span></div><div><span></span></div><div> </div><div>Mahdi Faghih nasiri<br>MSC,<br>Guilan University,<br>Rasht, Iran.</div></div></div></blockquote><br></div><div><br></div><div>try either of the following:</div><div>1) modify your make.sys according to the following lines:</div><div>LDFLAGS        = -static-intel -Wl,--start-group /opt/intel/mkl/lib/intel64//libmkl_intel_lp64.a /opt/intel/mkl/lib/intel64//libmkl_sequential.a /opt/intel/mkl/lib/intel64//libmkl_core.a -Wl,--end-group -lpthread -lm</div><div>BLAS_LIBS      =   -lmkl_intel_lp64  -lmkl_sequential -lmkl_core</div><div><div>LAPACK_LIBS    =</div><div><br></div><div>2) run the configure script using:</div><div><div>./configure LDFLAGS="-Wl,--start-group ${MKL_PATH}/libmkl_intel_lp64.a ${MKL_PATH}/libmkl_sequential.a ${MKL_PATH}/libmkl_core.a -Wl,--end-group -lpthread -lm"</div></div><div>where MKL_PATH=/opt/intel/mkl/lib/intel64</div><div><br></div><div>Anyhow, you can also refer to the following link:</div></div><div><a href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/">http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/</a></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>where, by selecting the INTEL compiler/mkl version you use and your platform, the correct way of linking to mkl</div><div>is shown.</div><div><br></div><div>Giocanni<br class="Apple-interchange-newline"><br></div><div><br></div><div>--</div><div><div><br></div><div>**** PLEASE NOTICE THE NEW E-MAIL ADDRESS: <a href="mailto:giovanni.cantele@spin.cnr.it">giovanni.cantele@spin.cnr.it</a></div></div><div><br></div><div><div>Giovanni Cantele, PhD</div><div>CNR-SPIN</div><div>c/o Dipartimento di Scienze Fisiche</div><div>Universita' di Napoli "Federico II"</div><div>Complesso Universitario M. S. Angelo - Ed. 6</div><div>Via Cintia, I-80126, Napoli, Italy</div><div>Phone: +39 081 676910</div><div>Skype contact: giocan74</div><div><br></div><div>ResearcherID: <a href="http://www.researcherid.com/rid/A-1951-2009">http://www.researcherid.com/rid/A-1951-2009</a></div><div>Web page: <a href="http://people.na.infn.it/~cantele">http://people.na.infn.it/~cantele</a></div><div>                     <a href="http://www.nanomat.unina.it">http://www.nanomat.unina.it</a></div></div></div></div></div>
</div>
<br></body></html>