Skip to content
Snippets Groups Projects
Commit 190f1d1d authored by Debolskiy Andrey's avatar Debolskiy Andrey :bicyclist_tone5:
Browse files

Fixed flags in local-ubuntu.cmake

parent 3723d900
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ if ( COMPILER STREQUAL "intel") ...@@ -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_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 set(CMAKE_Fortran_COMPILER mpiifort CACHE STRING "Fortran compiler" FORCE) # Fortran compiler for parallel build
endif() 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() endif()
if ( COMPILER STREQUAL "intel_oneapi") if ( COMPILER STREQUAL "intel_oneapi")
...@@ -31,7 +31,7 @@ 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_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 set(CMAKE_Fortran_COMPILER mpiifort -fc=ifx CACHE STRING "Fortran compiler" FORCE) # Fortran compiler for parallel build
endif() 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() endif()
if ( COMPILER STREQUAL "gnu") if ( COMPILER STREQUAL "gnu")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment