Skip to content

Commit

Permalink
WIP: disable vectorization intel
Browse files Browse the repository at this point in the history
  • Loading branch information
awnawab committed Mar 15, 2024
1 parent 9b0a36b commit 1da0a02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/ecwam_compile_flags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ elseif(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
set(checkbounds_flags "-check bounds")
set(initsnan_flags "-init=snan")
set(fpe_flags "-fpe0")
set(vectorization_flags "-march=core-avx2 -no-fma")
# set(vectorization_flags "-march=core-avx2 -no-fma")
set(fpmodel_flags "-fp-model precise -fp-speculation=safe")
set(transcendentals_flags "-fast-transcendentals")
# set(transcendentals_flags "-fast-transcendentals")

elseif(CMAKE_Fortran_COMPILER_ID MATCHES "PGI|NVHPC")
set(autopromote_flags "-r8")
Expand Down

0 comments on commit 1da0a02

Please sign in to comment.