<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">ok, the config.log contains the answer, but I guess you didn't<div>export MKL_PATH=/opt/intel/mkl/lib/intel64/</div><div>which is not mandatory, but if you don't do it, you cannot use the variable ${MKL_PATH} but you must specify</div><div>for example /opt/intel/mkl/lib/intel64/libmkl_intel_lp64.a, etc.<br><div><br></div><div>Giovanni</div><div><br></div><div><br><div><div>On Jul 17, 2012, at 11:19 AM, Mahdi Faghih nasiri wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; position: static; z-index: auto; "><pre>Thank you.<br>I've edit the make.sys, But the following occurs:<br><br><br><br>linux-0zne:~/Desktop/pwscf/espresso-4.3.2 # ./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"checking build system type... x86_64-unknown-linux-gnu<br>checking architecture... x86_64<br>checking for ifort... ifort<br>configure: WARNING: In the future, Autoconf will not detect cross-tools<br>whose name does not start with the host triplet.  If you think this<br>configuration is useful to you, please write to <a href="mailto:autoconf@gnu.org">autoconf@gnu.org</a>.<br>checking for Fortran compiler default output file name... <br>configure: error: Fortran compiler cannot create executables<br>See `config.log' for more details.<br><br><br></pre><div> </div><div>Mahdi Faghih
 nasiri<br>MSC,<br>Guilan University,<br>Rasht, Iran.<br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Giovanni Cantele <<a href="mailto:giovanni.cantele@spin.cnr.it">giovanni.cantele@spin.cnr.it</a>><br> <b><span style="font-weight: bold;">To:</span></b> Mahdi Faghih nasiri <<a href="mailto:mahdi_fn109@yahoo.com">mahdi_fn109@yahoo.com</a>>; PWSCF Forum <<a href="mailto:pw_forum@pwscf.org">pw_forum@pwscf.org</a>> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, July 17, 2012 1:32 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Pw_forum] Problem on compiling espresso-4.3.2<br> </font> </div> <br><div id="yiv1145010919"><div><br><div><div>On Jul 17, 2012, at 10:51 AM, Mahdi Faghih nasiri wrote:</div><br class="yiv1145010919Apple-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 rel="nofollow" target="_blank" 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 rel="nofollow" target="_blank" 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;"><div style="word-wrap:break-word;"><div style="word-wrap:break-word;"><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="yiv1145010919Apple-interchange-newline"><br></div><div><br></div><div>--</div><div><div><br></div><div>**** PLEASE NOTICE THE NEW E-MAIL ADDRESS: <a rel="nofollow" ymailto="mailto:giovanni.cantele@spin.cnr.it" target="_blank" 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 rel="nofollow" target="_blank" href="http://www.researcherid.com/rid/A-1951-2009">http://www.researcherid.com/rid/A-1951-2009</a></div><div>Web page: <a rel="nofollow" target="_blank" href="http://people.na.infn.it/%7Ecantele">http://people.na.infn.it/~cantele</a></div><div>                     <a rel="nofollow" target="_blank" href="http://www.nanomat.unina.it/">http://www.nanomat.unina.it</a></div></div></div></div></div>
</div>
<br></div></div><br><br> </div> </div>  </div></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><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></span></div></span></div></span></div></span></span>
</div>
<br></div></div></body></html>