[QE-users] Problem compiling QE 6.2.1

Marcos Veríssimo Alves marcos.verissimo.alves at gmail.com
Mon May 14 00:25:47 CEST 2018


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.

Best regards,

Marcos

On Sun, May 13, 2018 at 11:47 PM, Marcos Veríssimo Alves <
marcos.verissimo.alves at gmail.com> 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 <
> marcos.verissimo.alves at gmail.com> 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 <p.giannozzi at gmail.com>
>> escreveu:
>>
>>> On Sun, May 13, 2018 at 1:10 AM, Marcos Veríssimo Alves <
>>> marcos.verissimo.alves at gmail.com> 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
>>> users at lists.quantum-espresso.org
>>> https://lists.quantum-espresso.org/mailman/listinfo/users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20180514/9b8512f7/attachment.html>


More information about the users mailing list