<div dir="ltr"><div><div><div>Hi Manuale, to fix the problem you should do something like<br>espresso="set espresso path"<br><br>ifort -I$ESPRESSO/Modules -o pw2abinit.x pw2abinit.f90 $ESPRESSO/Modules/libqemod.a $ESPRESSO/flib/ptools.a $ESPRESSO/flib/flib.a $ESPRESSO/clib/clib.a -Wl,--start-group ${MKLROOT}/lib/intel64/libmkl_intel_ilp64.a ${MKLROOT}/lib/intel64/libmkl_core.a ${MKLROOT}/lib/intel64/libmkl_sequential.a -Wl,--end-group -lpthread -lm<br></div><br>Assuming you have intel compiler and mkl installed. Otherwise you can use lapack and gfortran.<br><br></div>IHTH<br><br></div>Nicola<br><div><div><div><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-27 16:58 GMT+02:00 Manuel Pérez Jigato <span dir="ltr"><<a href="mailto:manuel.perez@list.lu" target="_blank">manuel.perez@list.lu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<p><font face="sans-serif" size="2">thanks a lot Paolo</font><br>
<br>
<font face="sans-serif" size="2">I have tried to compile pw2abinit with the -I option (gfortran) pointing to the Modules/error_handler.o, and I get all sorts of fortran errors, "undefined reference to .." many things</font><span class=""><br>
<br>
<font face="sans-serif" size="2">Manuel</font><br>
<br>
<br>
<br>
<br>
<font face="sans-serif" size="2">Dr Manuel Pérez Jigato, Chargé de Recherche<br>
Luxembourg Institute of Science and Technology (LIST)<br>
Materials Research and Technology (MRT)<br>
41 rue du Brill<br>
L-4422 BELVAUX<br>
Grand-Duché de Luxembourg<br>
Tel <a href="tel:%28%2B352%29%2047%2002%2061%20-%20584" value="+352470261584" target="_blank">(+352) 47 02 61 - 584</a><br>
Fax <a href="tel:%28%2B352%29%2047%2002%2064" value="+352470264" target="_blank">(+352) 47 02 64</a><br>
e-mail <a href="mailto:manuel.perez@list.lu" target="_blank">manuel.perez@list.lu</a><br>
</font><br>
<br>
</span><img src="cid:1__=4EBBF4C1DFDF79EE8f9e8a93df938690@list.lu" alt="Inactive hide details for Paolo Giannozzi ---27/05/2015 15:41:53---Modules/error_handler.f90 should be the right place Paolo" height="16" width="16" border="0"><font face="sans-serif" size="2" color="#424282">Paolo Giannozzi ---27/05/2015 15:41:53---Modules/error_handler.f90 should be the right place Paolo</font><br>
<br>
<font face="sans-serif" size="1" color="#5F5F5F">From: </font><font face="sans-serif" size="1">Paolo Giannozzi <<a href="mailto:p.giannozzi@gmail.com" target="_blank">p.giannozzi@gmail.com</a>></font><br>
<font face="sans-serif" size="1" color="#5F5F5F">To: </font><font face="sans-serif" size="1">PWSCF Forum <<a href="mailto:pw_forum@pwscf.org" target="_blank">pw_forum@pwscf.org</a>>, </font><br>
<font face="sans-serif" size="1" color="#5F5F5F">Date: </font><font face="sans-serif" size="1">27/05/2015 15:41</font><br>
<font face="sans-serif" size="1" color="#5F5F5F">Subject: </font><font face="sans-serif" size="1">Re: [Pw_forum] subroutine error.f90? or error_handler.f90? for pw2abinit</font><br>
<font face="sans-serif" size="1" color="#5F5F5F">Sent by: </font><font face="sans-serif" size="1"><a href="mailto:pw_forum-bounces@pwscf.org" target="_blank">pw_forum-bounces@pwscf.org</a></font><br>
</p><hr style="color:#8091a5" align="left" noshade size="2" width="100%"><div><div class="h5"><br>
<br>
<br>
<font face="serif" size="3">Modules/error_handler.f90 should be the right place<br>
</font><br>
<font face="serif" size="3">Paolo</font><br>
<br>
<font face="serif" size="3">On Wed, May 27, 2015 at 1:58 PM, Manuel Pérez Jigato <</font><a href="mailto:manuel.perez@list.lu" target="_blank"><font face="serif" size="3" color="#0000FF"><u>manuel.perez@list.lu</u></font></a><font face="serif" size="3">> wrote:</font>
<ul style="padding-left:9pt"><font face="sans-serif" size="2">hello</font><font face="serif" size="3"><br>
</font><font face="sans-serif" size="2"><br>
I am trying to locate the right subroutine in order to compile pw2abinit<br>
The code seems to need an object file $espresso/flib/error.o, although<br>
version 5.1.2 of quantum-espresso does not seem to have it</font><font face="serif" size="3"><br>
</font><font face="sans-serif" size="2"><br>
I did find an error_handler.f90 and error_handler.o (I have already compiled quantum-espresso)<br>
inside Modules</font><font face="serif" size="3"><br>
</font><font face="sans-serif" size="2"><br>
is there anyone who could let me know the right error.o file, or else, where can I find it?</font><font face="serif" size="3"><br>
</font><font face="sans-serif" size="2"><br>
thanks a lot</font><font face="serif" size="3"><br>
</font><font face="sans-serif" size="2"><br>
Manuel</font><font face="serif" size="3"><br>
</font><font face="sans-serif" size="2"><br>
Dr Manuel Pérez Jigato, Chargé de Recherche<br>
Luxembourg Institute of Science and Technology (LIST)<br>
Materials Research and Technology (MRT)<br>
41 rue du Brill<br>
L-4422 BELVAUX<br>
Grand-Duché de Luxembourg<br>
Tel </font><a href="tel:%28%2B352%29%2047%2002%2061%20-%20584" target="_blank"><font face="sans-serif" size="2" color="#0000FF"><u>(+352) 47 02 61 - 584</u></font></a><font face="sans-serif" size="2"><br>
Fax </font><a href="tel:%28%2B352%29%2047%2002%2064" target="_blank"><font face="sans-serif" size="2" color="#0000FF"><u>(+352) 47 02 64</u></font></a><font face="sans-serif" size="2"><br>
e-mail </font><a href="mailto:manuel.perez@list.lu" target="_blank"><font face="sans-serif" size="2" color="#0000FF"><u>manuel.perez@list.lu</u></font></a><br>
<font face="serif" size="3"><br>
_______________________________________________<br>
Pw_forum mailing list</font><font face="serif" size="3" color="#0000FF"><u><br>
</u></font><a href="mailto:Pw_forum@pwscf.org" target="_blank"><font face="serif" size="3" color="#0000FF"><u>Pw_forum@pwscf.org</u></font></a><font face="serif" size="3" color="#0000FF"><u><br>
</u></font><a href="http://pwscf.org/mailman/listinfo/pw_forum" target="_blank"><font face="serif" size="3" color="#0000FF"><u>http://pwscf.org/mailman/listinfo/pw_forum</u></font></a></ul>
<tt><font size="2">_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org" target="_blank">Pw_forum@pwscf.org</a><br>
</font></tt><tt><font size="2"><a href="http://pwscf.org/mailman/listinfo/pw_forum" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a></font></tt><br>
</div></div><p></p></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" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br></blockquote></div><br></div>