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

debuging compiler flags

parent 6a2efab2
No related branches found
No related tags found
No related merge requests found
......@@ -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 " -restrict -alias-const -parallel -funroll-loops -no-ansi-alias -mavx -fma " CACHE STRING FORCE)
set(comp_flags "-restrict -alias-const -parallel -funroll-loops -no-ansi-alias -mavx -fma" CACHE STRING FORCE)
endif()
if ( COMPILER STREQUAL "intel_oneapi")
......@@ -35,7 +35,7 @@ if ( COMPILER STREQUAL "gnu")
set(CMAKE_CXX_COMPILER mpicxx CACHE STRING "CXX compiler" FORCE) # C++ compiler for parallel build
set(CMAKE_Fortran_COMPILER mpifort CACHE STRING "Fortran compiler" FORCE) # Fortran compiler for parallel build
endif()
set(comp_flags " -O3 -fno-strict-aliasing -funroll-loops -march=native -std=c++0x " CACHE STRING "comp_flags to add" FORCE)
set(comp_flags "-O3 -fno-strict-aliasing -funroll-loops -march=native -std=c++0x" CACHE STRING "comp_flags to add" FORCE)
endif()
#specify stuff for run-script
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment