From 81d590380e7fe2b441d11ce2c0a93beb1094017c Mon Sep 17 00:00:00 2001 From: Ahmad Nawab Date: Fri, 15 Mar 2024 15:00:24 +0000 Subject: [PATCH] WIP: disable vectorization intel --- cmake/ecwam_compile_flags.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/ecwam_compile_flags.cmake b/cmake/ecwam_compile_flags.cmake index f4685757..46e9efce 100644 --- a/cmake/ecwam_compile_flags.cmake +++ b/cmake/ecwam_compile_flags.cmake @@ -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(fpmodel_flags "-fp-model precise -fp-speculation=safe") - set(transcendentals_flags "-fast-transcendentals") +# set(vectorization_flags "-march=core-avx2 -no-fma") +# set(fpmodel_flags "-fp-model precise -fp-speculation=safe") +# set(transcendentals_flags "-fast-transcendentals") elseif(CMAKE_Fortran_COMPILER_ID MATCHES "PGI|NVHPC") set(autopromote_flags "-r8")