diff --git a/cluster_configs/local-ubuntu.cmake b/cluster_configs/local-ubuntu.cmake index d6a9feab313216d8db280521f18c912cfeeb5c32..03839eb2934eda4a8b68399edef0354ced06072b 100644 --- a/cluster_configs/local-ubuntu.cmake +++ b/cluster_configs/local-ubuntu.cmake @@ -18,7 +18,7 @@ if ( COMPILER STREQUAL "intel") set(CMAKE_CXX_COMPILER mpiicpc CACHE STRING "CXX compiler" FORCE) # C++ compiler for parallel build set(CMAKE_Fortran_COMPILER mpiifort CACHE STRING "Fortran compiler" FORCE) # Fortran compiler for parallel build endif() - set(comp_flags -O3-restrict -alias-const -parallel -funroll-loops -no-ansi-alias -mavx -fma CACHE STRING FORCE) + set(comp_flags -O3 -restrict -alias-const -parallel -funroll-loops -no-ansi-alias -xhost CACHE STRING FORCE) endif() if ( COMPILER STREQUAL "intel_oneapi") @@ -31,7 +31,7 @@ if ( COMPILER STREQUAL "intel_oneapi") set(CMAKE_CXX_COMPILER mpiicpc -cxx=icpx CACHE STRING "CXX compiler" FORCE) # C++ compiler for parallel build set(CMAKE_Fortran_COMPILER mpiifort -fc=ifx CACHE STRING "Fortran compiler" FORCE) # Fortran compiler for parallel build endif() - set(comp_flags -O3 -no-ansi-alias -funroll-loops -mavx -xavx -Wno-tautological-constant-compare CACHE STRING "comp_flags to add" FORCE) + set(comp_flags -O3 -no-ansi-alias -funroll-loops -xhost -Wno-tautological-constant-compare CACHE STRING "comp_flags to add" FORCE) endif() if ( COMPILER STREQUAL "gnu")