Oh, I hadn't checked the issues. Thanks for letting me know. By the way, for Ari: make -j 8 pw (or pwall) worked fine for me once I downgraded to gfortran 4.8.5.
Best regards, Marcos On Mon, May 14, 2018 at 6:33 AM, Paolo Giannozzi <[email protected]> wrote: > The code is correct, it's a gfortran bug, present since v.6.4.1. There is > an available workaround: see https://gitlab.com/QEF/q-e/issues/28 > > On Sun, May 13, 2018 at 11:47 PM, Marcos Veríssimo Alves < > [email protected]> wrote: > >> Hi Paolo, >> >> 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: >> >> config.status: creating arch.make >> config.status: creating FoX-config >> make[2]: Entering directory '/software/q-e-qe-6.2.1/FoX/fox' >> mkdir -p objs/lib objs/finclude >> (cd fsys; make VPATH=/fsys) >> make[3]: Entering directory '/software/q-e-qe-6.2.1/FoX/fox/fsys' >> gfortran -c -g -O2 -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DFC_EOR_LF >> fox_m_fsys_abort_flush.F90 >> gfortran -c -g -O2 -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DFC_EOR_LF >> fox_m_fsys_array_str.F90 >> gfortran -c -g -O2 fox_m_fsys_realtypes.f90 >> gfortran -c -g -O2 -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DFC_EOR_LF >> fox_m_fsys_format.F90 >> fox_m_fsys_format.F90:413:0: >> >> if (.not.checkFmt(fmt)) then >> >> internal compiler error: Segmentation fault >> Please submit a full bug report, >> with preprocessed source if appropriate. >> See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions. >> ../arch.make:40: recipe for target 'fox_m_fsys_format.o' failed >> make[3]: *** [fox_m_fsys_format.o] Error 1 >> make[3]: Leaving directory '/software/q-e-qe-6.2.1/FoX/fox/fsys' >> Makefile:130: recipe for target 'fsys_lib' failed >> make[2]: *** [fsys_lib] Error 2 >> make[2]: Leaving directory '/software/q-e-qe-6.2.1/FoX/fox' >> make[1]: Leaving directory '/software/q-e-qe-6.2.1/install' >> >> 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). >> >> Best regards, >> >> Marcos >> >> On Sun, May 13, 2018 at 8:09 PM, Marcos Veríssimo Alves < >> [email protected]> wrote: >> >>> Hi Ari and Paolo, >>> >>> 1) It's possible that I was running a parallel compilation, but right >>> now I can't remember it. >>> >>> 2) I didn't try issuing a "make libfox" command - it was not, as far as >>> I remember, among the "make" options. >>> >>> Thank you both for bringing these possibilities up. I'll try both of >>> them tonight and let you know if they work. >>> >>> Best regards from sunny (!!!!) Poland, >>> >>> Marcos >>> >>> Em dom, 13 de mai de 2018 19:35, Paolo Giannozzi <[email protected]> >>> escreveu: >>> >>>> On Sun, May 13, 2018 at 1:10 AM, Marcos Veríssimo Alves < >>>> [email protected]> wrote: >>>> >>>> At this point of the compilation, the FoX directory is empty. >>>>> >>>> >>>> What happens you you type "make libfox"? >>>> >>>> P. >>>> >>>> -- >>>> Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche, >>>> Univ. Udine, via delle Scienze 208, 33100 Udine, Italy >>>> Phone +39-0432-558216, fax +39-0432-558222 >>>> >>>> _______________________________________________ >>>> users mailing list >>>> [email protected] >>>> https://lists.quantum-espresso.org/mailman/listinfo/users >>> >>> >> >> _______________________________________________ >> users mailing list >> [email protected] >> https://lists.quantum-espresso.org/mailman/listinfo/users >> > > > > -- > Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche, > Univ. Udine, via delle Scienze 208, 33100 Udine, Italy > Phone +39-0432-558216, fax +39-0432-558222 > > > _______________________________________________ > users mailing list > [email protected] > https://lists.quantum-espresso.org/mailman/listinfo/users >
_______________________________________________ users mailing list [email protected] https://lists.quantum-espresso.org/mailman/listinfo/users
