<p dir="ltr">Thank you for writing.</p>
<p dir="ltr">Yes the OS is very old that is why I am trying an old version of QE.  Also because it is the version I started my project with in another computer, then I had to continue in this one.</p>
<p dir="ltr">Kind regards,<br>
Amel</p>
<div class="gmail_quote">On 20 Jan 2017 07:42, "Phanikumar Pentyala" <<a href="mailto:phani12.chem@gmail.com">phani12.chem@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"><div style="font-family:times new roman,serif" class="gmail_default">First of all, why you want to install QE-4.2? I think it's already version 6 available in online.<br><br><br></div><div style="font-family:times new roman,serif" class="gmail_default">Also, OS (ubuntu) very old version. Now many updates and software also not available in 12 version<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 19, 2017 at 7:37 PM, Amel Alhassan <span dir="ltr"><<a href="mailto:alhassan.amel@gmail.com" target="_blank">alhassan.amel@gmail.com</a>></span> wrote:<br><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 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 face="verdana, sans-serif" color="#666666">$./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 face="arial, helvetica, sans-serif" color="#000000">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 face="courier new" color="#333333"><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 face="courier new" color="#333333"><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 face="courier, courier new, monospace" color="#000000"><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 face="courier, courier new, monospace" color="#000000"><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 face="courier, courier new, monospace" color="#000000"><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="m_3046628265513844576m_-5513492429284305982gmail_signature"><div dir="ltr"><br></div></div>
</div></div>
<br>______________________________<wbr>_________________<br>
Pw_forum mailing list<br>
<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">http://pwscf.org/mailman/listi<wbr>nfo/pw_forum</a><br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<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/<wbr>listinfo/pw_forum</a><br></blockquote></div>