spread function compiler bug with gfortran-8
Issue #15
resolved
Currently some of the tests fail with:
Fortran runtime error: rank mismatch in spread()
[snip]
#4 0xd6c8d9 in __dist_fn_MOD_get_init_field
at /home/joseph/code/gs2/dist_fn.f90:7056
This appears to be a compiler bug in 8.1.0 (for me) and 8.1.1 for this SO. I recommend the comments to answer 1 as an exemplar of constructive discourse...
I think we should just bump the version of gfortran used in the docker image.
Comments (4)
-
reporter -
I can confirm this is fixed in 8.2 -- I'm in favour of just bumping the version used in docker image, as you suggest
-
reporter Thanks! 8.1.0 is the version in Ubuntu 16.04.
-
reporter - changed status to resolved
Compiler updated to gfortran 8.2 in automated-testing branch.
- Log in to comment
PS: Example program which fails with gfortran 8 and works with gfortran 7: