Skip to content

Commit

Permalink
Disable FP checks for a certain LAPACK routine, by using ieee_excepti…
Browse files Browse the repository at this point in the history
…ons module

to turn off FP trapping that is enabled by -fpe0.
Only for DEBUG builds, only for cori-knl, and only for Intel compiler.
Fixes #1183
[BFB]
  • Loading branch information
ndkeen committed Apr 24, 2017
1 parent 30f6336 commit b9f1f71
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config/acme/machines/config_compilers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -596,8 +596,7 @@ for mct, etc.
<ADD_SLIBS> -L$(NETCDF_DIR) -lnetcdff -Wl,--as-needed,-L$(NETCDF_DIR)/lib -lnetcdff -lnetcdf </ADD_SLIBS>
<ADD_SLIBS> -mkl -lpthread -lm </ADD_SLIBS>
<ADD_GPTL_CPPDEFS> -DHAVE_PAPI </ADD_GPTL_CPPDEFS>
<ADD_CPPDEFS> -DHAVE_SLASHPROC </ADD_CPPDEFS>
<!--ADD_CPPDEFS> -DHAVE_NANOTIME -DBIT64 -DHAVE_VPRINTF -DHAVE_BACKTRACE -DHAVE_SLASHPROC -DHAVE_COMM_F2C -DHAVE_TIMES -DHAVE_GETTIMEOFDAY </ADD_CPPDEFS> -->
<ADD_CPPDEFS> -DARCH_MIC_KNL -DHAVE_SLASHPROC </ADD_CPPDEFS>
<MPIFC> ftn </MPIFC>
<MPICC> cc </MPICC>
<MPICXX> CC </MPICXX>
Expand Down

0 comments on commit b9f1f71

Please sign in to comment.