<div dir="ltr"><div>Update: I downgraded gfortran to version 4.8.5 and compilation went smoothly, even without issuing "make libfox" before. Weird, but... well, it works. Thanks for the suggestion on "make libfox", seems like gfortran 7.3 is buggy.</div><div><br></div><div>Best regards,</div><div><br></div><div>Marcos<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 13, 2018 at 11:47 PM, Marcos Veríssimo Alves <span dir="ltr"><<a href="mailto:marcos.verissimo.alves@gmail.com" target="_blank">marcos.verissimo.alves@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"><div>Hi Paolo,</div><div><br></div><div>I tried "make libfox" and it starts to compile FoX, but I get a compilation error - I am using gfortran 7.3.0 on Xubuntu:</div><div><br></div><div>config.status: creating arch.make<br>config.status: creating FoX-config<br>make[2]: Entering directory '/software/q-e-qe-6.2.1/FoX/<wbr>fox'<br>mkdir -p objs/lib objs/finclude<br>(cd fsys; make VPATH=/fsys)<br>make[3]: Entering directory '/software/q-e-qe-6.2.1/FoX/<wbr>fox/fsys'<br>gfortran -c -g -O2 -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DFC_EOR_LF fox_m_fsys_abort_flush.F90 <br>gfortran -c -g -O2 -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DFC_EOR_LF fox_m_fsys_array_str.F90 <br>gfortran -c -g -O2 fox_m_fsys_realtypes.f90<br>gfortran -c -g -O2 -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DFC_EOR_LF fox_m_fsys_format.F90 <br>fox_m_fsys_format.F90:413:0:<br><br> if (.not.checkFmt(fmt)) then<br> <br>internal compiler error: Segmentation fault<br>Please submit a full bug report,<br>with preprocessed source if appropriate.<br>See <file:///usr/share/doc/gcc-7/<wbr>README.Bugs> for instructions.<br>../arch.make:40: recipe for target 'fox_m_fsys_format.o' failed<br>make[3]: *** [fox_m_fsys_format.o] Error 1<br>make[3]: Leaving directory '/software/q-e-qe-6.2.1/FoX/<wbr>fox/fsys'<br>Makefile:130: recipe for target 'fsys_lib' failed<br>make[2]: *** [fsys_lib] Error 2<br>make[2]: Leaving directory '/software/q-e-qe-6.2.1/FoX/<wbr>fox'<br>make[1]: Leaving directory '/software/q-e-qe-6.2.1/<wbr>install'</div><div><br></div><div>I'll try to install an earlier version of gfortran and see if it works fine. Not sure if this is a bug from the code, since other users must have compiled it with no problems (with earlier versions of gfortran, I guess).</div><div><br></div><div>Best regards,</div><div><br></div><div>Marcos<br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 13, 2018 at 8:09 PM, Marcos Veríssimo Alves <span dir="ltr"><<a href="mailto:marcos.verissimo.alves@gmail.com" target="_blank">marcos.verissimo.alves@gmail.<wbr>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="auto">Hi Ari and Paolo,<div dir="auto"><br></div><div dir="auto">1) It's possible that I was running a parallel compilation, but right now I can't remember it.</div><div dir="auto"><br></div><div dir="auto">2) I didn't try issuing a "make libfox" command - it was not, as far as I remember, among the "make" options.</div><div dir="auto"><br></div><div dir="auto">Thank you both for bringing these possibilities up. I'll try both of them tonight and let you know if they work.</div><div dir="auto"><br></div><div dir="auto">Best regards from sunny (!!!!) Poland,</div><div dir="auto"><br></div><div dir="auto">Marcos</div></div><br><div class="gmail_quote"><div><div class="m_1540089327349704128h5"><div dir="ltr">Em dom, 13 de mai de 2018 19:35, Paolo Giannozzi <<a href="mailto:p.giannozzi@gmail.com" target="_blank">p.giannozzi@gmail.com</a>> escreveu:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_1540089327349704128h5"><div dir="ltr">On Sun, May 13, 2018 at 1:10 AM, Marcos Veríssimo Alves <span dir="ltr"><<a href="mailto:marcos.verissimo.alves@gmail.com" rel="noreferrer" target="_blank">marcos.verissimo.alves@gmail.<wbr>com</a>></span> wrote:<br><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>At this point of the compilation, the FoX directory is empty. </div></div></div></div></blockquote><div><br></div><div dir="ltr">What happens you you type "make libfox"?<br><br></div><div>P.<br></div></div><br>-- <br><div class="m_1540089327349704128m_-151542243243872193m_-7483994845379755354gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>Phone +39-0432-558216, fax +39-0432-558222<br><br></div></div></div></div></div>
</div></div></div></div>
______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@lists.quantum-espresso.org" rel="noreferrer" target="_blank">users@lists.quantum-espresso.o<wbr>rg</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">https://lists.quantum-espresso<wbr>.org/mailman/listinfo/users</a></blockquote></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>