Compiling siesta 4 on Ubuntu 18.04

Asked by Leopold Talirz on 2018-09-27

As part of moving Quantum Mobile VM (github.com/marvel-nccr/quantum-mobile) to Ubuntu 18.04 I am trying to compile Siesta 4.0.2 on Ubuntu 18.04.

I've tried with gfortran 6.4.0, gfortran 7.3.0 and gfortran 8.1.0 and I always seem to be running into the same compiler bug:

/home/max/codes/siesta-4.0.2/Src/FoX/fsys/fox_m_fsys_format.F90:1294: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-6/README.Bugs> for instructions.

Has anybody run into the same problem and/or found a solution?

Best,
Leopold

Question information

Language:
English Edit question
Status:
Solved
For:
Siesta Edit question
Assignee:
No assignee Edit question
Solved by:
Leopold Talirz
Solved:
2018-10-07
Last query:
2018-10-07
Last reply:

This seems to be a problem of interference with other packages installed in Quantum Mobile.
The stand-alone siesta role [1] builds fine, both on Ubuntu 16.04 and 18.04 [2].

[1] https://github.com/marvel-nccr/ansible-role-siesta/blob/master/tasks/main.yml
[2] https://travis-ci.org/marvel-nccr/ansible-role-siesta/builds/438144670?utm_source=github_status&utm_medium=notification