<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Dear Fabio,
<div class="">Quantum ESPRESSO automatically downloads Wannier90 and prepares a make.inc file inside the folder it creates.</div>
<div class="">In there, you can change the variables defining the compilers to use.</div>
<div class="">Before recompiling, I suggest to do a ‘make clean’ inside the Wannier90 folder to remove old compiled objects, if any.</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Giovanni</div>
<div class=""><br class="">
<div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">
-- <br class="">
Giovanni Pizzi<br class="">
Theory and Simulation of Materials and MARVEL, EPFL<br class="">
<a href="http://people.epfl.ch/giovanni.pizzi" class="">http://people.epfl.ch/giovanni.pizzi</a><br class="">
http://nccr-marvel.ch/en/people/profile/giovanni-pizzi</div>
</div>
<div class=""><br class="webkit-block-placeholder">
</div>
<div class=""><br class="">
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 9 Apr 2019, at 18:39, Paolo Giannozzi <<a href="mailto:p.giannozzi@gmail.com" class="">p.giannozzi@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">Wannier90 uses its own build system, so you will have to figure out what has to be changed there</div>
<div class=""><br class="">
</div>
<div class="">Paoo<br class="">
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Apr 9, 2019 at 5:59 PM Fabio Costa <<a href="mailto:fabiocosta4@hotmail.com" class="">fabiocosta4@hotmail.com</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr" class="">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
Dear Pietro</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
Thank you very much for your help so far, things are starting to work out. Your guess was actually right, and the mpif90 was using the old version. After a few attempts, The installation was successful, and now I have both mpif90 and gfortran v-5.4 . </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
I still need to indicate the path of these updated executables when compiling QE, so Im starting with the command "./configure MPIF90=/home/fabio/local/bin/mpif90 F90=/home/fabio/local/bin/gfortran ". This step runs successfully, but when making pw, but eventually
 it stops with a fatal error warning, about some fox module that could not be opened because it was created with a different GNU fortran version. At this point I found out that inside make.inc, the path I provided to mpif90 was accurate, but F90 contained only
 gfortran, which I think would link to the native (not-updated) executable. To correct this, I added to F90 the path to the updated executable. After this change, the make pw, ph and w90 finish successfully, and after some quick tests, it seems that the executables
 are running as expected (no more segmentation faults).</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
Unfortunately, when I try to make epw, the fatal error happens again (<a href="https://imgur.com/ukHDZYc" id="gmail-m_1461332944298281958LPNoLP360181" target="_blank" class="">https://imgur.com/ukHDZYc</a>). This should be happening because something was compiled
 with the old gfortran, even when I manually changed the MPIF90 and F90 to link to the updated versions. Do you have any insights on what could have went wrong?</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
Thanks for the assistance</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
<blockquote type="cite" style="color:rgb(51,51,51);background-color:rgb(255,255,255)" class="">
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; background-color: rgb(255, 255, 255);" class="">
Fábio Costa</div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; background-color: rgb(255, 255, 255);" class="">
<span class=""> </span>MSc student in physics</div>
<div style="margin: 0px; font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; background-color: rgb(255, 255, 255);" class="">
<span class=""> </span>Federal University of Bahia, Brazil</div>
</div>
</blockquote>
<br class="">
<br class="">
</div>
</div>
_______________________________________________<br class="">
users mailing list<br class="">
<a href="mailto:users@lists.quantum-espresso.org" target="_blank" class="">users@lists.quantum-espresso.org</a><br class="">
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank" class="">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote>
</div>
<br clear="all" class="">
<br class="">
-- <br class="">
<div dir="ltr" class="gmail_signature">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div class="">Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br class="">
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br class="">
Phone +39-0432-558216, fax +39-0432-558222<br class="">
<br class="">
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br class="">
users mailing list<br class="">
<a href="mailto:users@lists.quantum-espresso.org" class="">users@lists.quantum-espresso.org</a><br class="">
https://lists.quantum-espresso.org/mailman/listinfo/users</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>