-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy paththeta.cmake
More file actions
17 lines (13 loc) · 871 Bytes
/
Copy paththeta.cmake
File metadata and controls
17 lines (13 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
### Theta ###
# To compile PT-SCOTCH on Theta, either request an interactive session or submit
# the compilation as a job to the queue
SET(CMAKE_Fortran_COMPILER "ftn" CACHE STRING "MPI Fortran compiler")
SET(CMAKE_C_COMPILER "cc" CACHE STRING "MPI C compiler")
SET(CMAKE_CXX_COMPILER "CC" CACHE STRING "MPI C++ compiler")
SET(CMAKE_Fortran_FLAGS "-O3 -ip -xmic-avx512 -fp-model precise" CACHE STRING "Fortran flags")
SET(CMAKE_C_FLAGS "-O3 -ip -xmic-avx512 -fp-model precise -std=c99" CACHE STRING "C flags")
SET(CMAKE_CXX_FLAGS "-O3 -ip -xmic-avx512 -fp-model precise -std=c++11" CACHE STRING "C++ flags")
SET(ELPA2_KERNEL "AVX512" CACHE STRING "Use ELPA AVX512 kernel")
SET(ENABLE_TESTS ON CACHE BOOL "Enable tests")
SET(ENABLE_PEXSI ON CACHE BOOL "Enable PEXSI")
SET(SCOTCH_LAST_RESORT "aprun -n 1 -N 1" CACHE STRING "Command to run PT-SCOTCH header generation")