Skip to content

Commit

Permalink
Switch IEEE flags for NAG Fortran (#3644)
Browse files Browse the repository at this point in the history
Default is -ieee=stop, which causes problems when the H5T
module performs floating-point type introspection.

The new mode is -ieee=full
  • Loading branch information
derobins authored Oct 9, 2023
1 parent 6edd9a0 commit 2143649
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions config/linux-gnulibc1
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ case $FC_BASENAME in
H5_CFLAGS="$H5_CFLAGS"

F9XSUFFIXFLAG=""
# We force compiler to use upper case for external names
# (just in case since this should be a default EIP)
H5_FCFLAGS="$H5_FCFLAGS"
FSEARCH_DIRS=""

Expand Down Expand Up @@ -162,9 +160,10 @@ case $FC_BASENAME in
nagfor)

F9XSUFFIXFLAG=""
# We force compiler to use upper case for external names
# (just in case since this should be a default EIP)
H5_FCFLAGS="$H5_FCFLAGS"
# NOTE: The default is -ieee=stop, which will cause problems
# when the H5T module performs floating-point type
# introspection
H5_FCFLAGS="$H5_FCFLAGS -ieee=full"
FSEARCH_DIRS=""

# Production
Expand Down

0 comments on commit 2143649

Please sign in to comment.