Goddard-Fortran-Ecosystem / pFUnit

Parallel Fortran Unit Testing Framework
Other
172 stars 45 forks source link

Remove -Mchkfpstk flag from cmake/NVHPC.cmake #339

Open cponder opened 2 years ago

cponder commented 2 years ago

The -Mchkfpstk flag here

5    set(check_all "-Mbounds -Mchkfpstk -Mchkstk")

causes an error

nvfortran-Error-Unknown switch: -Mchkfpstk

I assume that it's an old flag no longer supported.

cponder commented 2 years ago

A workaround is to add the -noswitcherror, which is usually used to make the PGI compilers digest GCC or Intel flags. But I'd prefer to just clean it out.