Skip to content

Commit

Permalink
Merge pull request #195 from climbfuji/patch-1
Browse files Browse the repository at this point in the history
Update ectrans_compile_options.cmake to fix build error with Intel oneAPI 2025.0.0 ifx
  • Loading branch information
samhatfield authored Dec 20, 2024
2 parents a0f1455 + 98f0d50 commit 6b03cd7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/ectrans_compile_options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ elseif( CMAKE_Fortran_COMPILER_ID MATCHES "Cray" )
ecbuild_add_fortran_flags("-hnomessage=878") # A module named ... has already been directly or indirectly use associated into this scope
ecbuild_add_fortran_flags("-hnomessage=867") # Module ... has no public objects declared in the module, therefore nothing can be use associated from the module.
ecbuild_add_fortran_flags("-M7256") # An OpenMP parallel construct in a target region is limited to a single thread.
elseif( CMAKE_Fortran_COMPILER_ID MATCHES "IntelLLVM" )
ecbuild_add_fortran_flags("-march=core-avx2 -no-fma" BUILD BIT)
ecbuild_add_fortran_flags("-fp-model precise -fp-speculation=safe")
elseif( CMAKE_Fortran_COMPILER_ID MATCHES "Intel" )
ecbuild_add_fortran_flags("-march=core-avx2 -no-fma" BUILD BIT)
ecbuild_add_fortran_flags("-fast-transcendentals -fp-model precise -fp-speculation=safe")
Expand Down

0 comments on commit 6b03cd7

Please sign in to comment.