-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcobra.cmake
More file actions
17 lines (13 loc) · 1005 Bytes
/
Copy pathcobra.cmake
File metadata and controls
17 lines (13 loc) · 1005 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
### Cobra ###
SET(CMAKE_Fortran_COMPILER "mpiifort" CACHE STRING "MPI Fortran compiler")
SET(CMAKE_C_COMPILER "mpiicc" CACHE STRING "MPI C compiler")
SET(CMAKE_CXX_COMPILER "mpiicpc" CACHE STRING "MPI C++ compiler")
SET(CMAKE_Fortran_FLAGS "-O3 -ip -xcore-avx512 -fp-model precise" CACHE STRING "Fortran flags")
SET(CMAKE_C_FLAGS "-O3 -ip -xcore-avx512 -fp-model precise -std=c99" CACHE STRING "C flags")
SET(CMAKE_CXX_FLAGS "-O3 -ip -xcore-avx512 -fp-model precise -std=c++11" CACHE STRING "C++ flags")
SET(USE_EXTERNAL_ELPA ON CACHE BOOL "Use external ELPA")
SET(ENABLE_PEXSI ON CACHE BOOL "Enable PEXSI")
SET(ENABLE_TESTS ON CACHE BOOL "Enable tests")
SET(INC_PATHS "$ENV{ELPA_HOME}/include/elpa-2020.05.001/modules" CACHE STRING "External library include paths")
SET(LIB_PATHS "$ENV{ELPA_HOME}/lib $ENV{MKLROOT}/lib/intel64" CACHE STRING "External library paths")
SET(LIBS "elpa mkl_scalapack_lp64 mkl_blacs_intelmpi_lp64 mkl_intel_lp64 mkl_sequential mkl_core" CACHE STRING "External libraries")