Skip to content

Commit

Permalink
Merge pull request #35 from COSIMA/use-repro-flags-for-gadi
Browse files Browse the repository at this point in the history
Use reproducibility flags
  • Loading branch information
aekiss authored Jan 13, 2020
2 parents 1bb8904 + 59c9cb4 commit 8b1f312
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ endif()

# compiler flags for ifort
if(CMAKE_Fortran_COMPILER_ID MATCHES Intel)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -r8 -fpe0 -fp-model precise -traceback")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -g -check all")
set(CMAKE_Fortran_FLAGS_RELEASE "-O3")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -r8 -fpe0 -fp-model precise -fp-model source -align all -traceback")
set(CMAKE_Fortran_FLAGS_DEBUG "-g3 -O0 -check all")
set(CMAKE_Fortran_FLAGS_RELEASE "-g3 -O2 -axCORE-AVX2 -debug all -check none -qopt-report=5 -qopt-report-annotate")
endif()

# get external projects
Expand Down

0 comments on commit 8b1f312

Please sign in to comment.