nncarlson / gfortran.dg

The GFortran testsuite rigged for testing other Fortran compilers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMakeFile.txt portability issues for the NAG compiler

nncarlson opened this issue · comments

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 and inline_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 in CMakeFile.txt

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.