From 190f1d1d148247f304f689918e74a2cf45fe8722 Mon Sep 17 00:00:00 2001 From: Debolskiy Andrey <and.debol@gmail.com> Date: Fri, 1 Dec 2023 23:12:29 +0000 Subject: [PATCH] Fixed flags in local-ubuntu.cmake --- cluster_configs/local-ubuntu.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cluster_configs/local-ubuntu.cmake b/cluster_configs/local-ubuntu.cmake index d6a9fea..03839eb 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") -- GitLab