Skip to content

v4: Update NVHPC Flags

Choose a tag to compare

@mathomp4 mathomp4 released this 06 Nov 16:44
· 5 commits to release/v4 since this release
778843a

This release updates the NVHPC flags to remove -Ktrap=fp from Release builds. Testing showed this caused FPEs during runs.


From CHANGELOG.md

Changed

  • Use explicit -O3 -Kieee -g flags instead of -fast -Kieee -g for NVHPC Release builds and the build types that inherit its optimization flags.
  • Enable NVHPC floating-point trapping (-Ktrap=fp) only in Debug and VectTrap builds, avoiding the observed initialization SIGFPE in optimized GEOSgcm runs with the NVHPC 26.9 next-generation compiler. Release, NoVect, Vect, and Aggressive builds no longer enable trapping by default. The PGI compiler alias uses the same flags.

What's Changed

  • v4: Limit NVHPC floating-point trapping to Debug and VectTrap by @mathomp4 in #608

Full Changelog: v4.52.0...v4.53.0