CMakeFile.txt portability issues for the NAG compiler
nncarlson opened this issue · comments
Neil Carlson commented
Some portability issues with the CMakeFile.txt that affect the NAG compiler
- Include file search path. Some tests fail because the compiler cannot find the included file. For the CMP tests this affects
default_format*.f90
andinline_sum_2.f90
- Coarray tests fail because the
-fcoarray=single
compiler flag (not understood by NAG) is being used. Note that it is not coming from the obvious place inCMakeFile.txt
Neil Carlson commented
Solved in 002a46d
This also adds the -kind=byte
flag. Had been using a shell script that added this option as the compiler, but no longer necessary. Script path happened to include "gfortran" as a string, and this resulted in the coarray issue.