[QE-users] Compilation on a server ends with error 1

Fabio Costa fabiocosta4 at hotmail.com
Tue Apr 9 17:58:46 CEST 2019


Dear Pietro

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 .

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).

Unfortunately, when I try to make epw, the fatal error happens again (https://imgur.com/ukHDZYc). 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?

Thanks for the assistance

Fábio Costa
 MSc student in physics
 Federal University of Bahia, Brazil


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20190409/56a5ce43/attachment.html>


More information about the users mailing list