MacOS install gfortran issues

I’m afraid this is a “feature” of gfortran version 10. Strict checking of array ranks was added and so this means that where a row or column of a 2D array gets passed to a subroutine that expects a 1D array then the compiler gives an error (even though the code would actually work).
The solutions to the issue are:

  1. Use a version of gfortran earlier than 10 (8 and 9 have both been tested and work fine)
  2. Wait for the release of version 6.0 where I have added work arounds by copying to dummy arrays before passing so that gfortran version 10 is happy.
1 Like