Open robbmcleod opened 7 years ago
Hi Robb,
I was not able to reproduce this issue on a machine with the same Ubuntu/gfortran versions:
$ gfortran --version GNU Fortran (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 2016060
It compiled just fine when using the build_all script. When I try to compile only the offending file like you did, I get the same error, but perhaps we are not providing the same flags that are actually used during the build. Can you confirm that the gfortran being used for build is the system default one? e.g. in the beginning of build the following lines are reported:
-- The Fortran compiler identification is GNU -- Check for working Fortran compiler: /usr/bin/gfortran -- Check for working Fortran compiler: /usr/bin/gfortran -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /usr/bin/gfortran supports Fortran 90 -- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes -- adding gfortran specific flags
Thank you.
Installing Focus on Ubuntu 16.04 results in some segmentation fault in building the CCP-EM Fortran backend. I suspect it is a version issue as I don't remember having similar problems in the past with 2dx in older Ubuntu versions. From 14.04 to 16.04, the default compiler went from gcc 4.8 to 5. so perhaps there is some problems with the newer
gfortran
that comes with it?Attempting direct compilation of the offending file gives the following errors: