<div dir="ltr">Dear All,<div><br></div><div>I am trying to install quantum espresso 4.2.1 in my Ubuntu 12.04 64 bits devise. </div><div><br></div><div>when trying <font color="#666666" face="verdana, sans-serif">$./configure</font> I get the following error</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">configure: error: in `/home/amel/espresso-4.2.1':<br>configure: error: linking to Fortran libraries from C fails<br>See `config.log' for more details.</blockquote><div><br></div><div>I have tried changing  the <span style="color:rgb(77,77,77);font-family:monospace;font-size:14px;line-height:20px;text-align:justify">include/c_defs.h </span><span style="font-size:14px;line-height:20px;text-align:justify"><font color="#000000" face="arial, helvetica, sans-serif">and</font></span><span style="color:rgb(77,77,77);font-family:monospace;font-size:14px;line-height:20px;text-align:justify"> clib</span><span style="color:rgb(77,77,77);font-family:monospace;font-size:14px;line-height:20px;text-align:justify">/memstaat.c </span></div><div>replacing F77 by gfortran.</div><div><br></div><div style="text-align:justify">Tried to install <span style="color:rgb(77,77,77);font-family:arial,helvetica,sans-serif;font-size:14px;line-height:20px;text-align:justify">BLAS, LAPACK, FFT, MPI libraries </span><span style="text-align:justify"><font color="#000000"><font face="arial, helvetica, sans-serif"><span style="font-size:14px;line-height:20px">but they are not recognized by the system.</span></font></font></span></div><div style="text-align:justify"><span style="text-align:justify"><font color="#000000"><font face="arial, helvetica, sans-serif"><span style="font-size:14px;line-height:20px"><br></span></font></font></span></div><div style="text-align:justify"><span style="text-align:justify"><font color="#000000"><font face="arial, helvetica, sans-serif"><span style="font-size:14px;line-height:20px">Also tried</span></font></font></span></div><div style="text-align:justify"><span style="color:rgb(51,51,51);font-family:'courier new';line-height:27.0270004272461px;text-align:center">$sudo apt-get install build-essential fftw3-dev gfortran</span><span style="text-align:justify"><font color="#000000"><font face="arial, helvetica, sans-serif"><span style="font-size:14px;line-height:20px"><br></span></font></font></span></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex" class="gmail_quote"><span style="text-align:center"><font color="#333333" face="courier new"><span style="line-height:27.0270004272461px">0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.</span></font></span></blockquote><div> </div><div style="text-align:justify"><span style="color:rgb(51,51,51);font-family:'courier new';line-height:27.0270004272461px;text-align:center">$</span><span style="color:rgb(51,51,51);font-family:'courier new';line-height:27.0270004272461px;text-align:center">sudo apt-get install liblapack-dev fftw-dev</span></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex" class="gmail_quote"><font color="#333333" face="courier new"><span style="line-height:27.0270004272461px">0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.</span></font></blockquote><div style="text-align:justify"><br></div><div><br></div><div>I also tried </div><div><br></div><div><span style="color:rgb(0,0,0);font-family:courier,'courier new',monospace;font-size:14px;line-height:19.6000003814697px;white-space:pre-wrap">$gcc --version</span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font color="#000000" face="courier, courier new, monospace"><span style="font-size:14px;line-height:19.6000003814697px;white-space:pre-wrap">gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3</span></font></blockquote><div><span style="color:rgb(0,0,0);font-family:courier,'courier new',monospace;font-size:14px;line-height:19.6000003814697px;white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);font-family:courier,'courier new',monospace;font-size:14px;line-height:19.6000003814697px;white-space:pre-wrap">$</span><span style="color:rgb(0,0,0);font-family:courier,'courier new',monospace;font-size:14px;line-height:19.6000003814697px;white-space:pre-wrap">gfortran --version</span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font color="#000000" face="courier, courier new, monospace"><span style="font-size:14px;line-height:19.6000003814697px;white-space:pre-wrap">GNU Fortran (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3</span></font></blockquote><div> </div><div><pre style="font-family:courier,'courier new',monospace;font-size:14px;white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);line-height:19.6000003814697px">$/opt/mpich2GNU/bin/mpif90 -show</pre><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex" class="gmail_quote"><font color="#000000" face="courier, courier new, monospace"><span style="font-size:14px;line-height:19.6000003814697px;white-space:pre-wrap">bash: $/opt/mpich2GNU/bin/mpif90: No such file or directory</span></font></blockquote><div> </div></div><div><br></div><div>Your help is kindly appreciated.</div><div><br></div><div>Thank you,</div><div><br></div><div>Kind regards,</div><div>Amel Alhassan</div><div><br></div><div><br></div><div><br></div><div><br></div><div class="gmail_signature"><div dir="ltr"><br></div></div>
</div></div>