File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,15 @@ set(CMAKE_C_FLAGS "-O3 -DNDEBUG -xCORE-AVX2 -mcmodel=large -shared-intel" CACHE
4
4
set (CMAKE_Fortran_COMPILER "ifort" CACHE STRING "" FORCE )
5
5
set (CMAKE_Fortran_FLAGS "-O3 -DNDEBUG -xCORE-AVX2 -mcmodel=large -shared-intel" CACHE STRING "" FORCE )
6
6
7
+ if (USE_SCALAPACK )
8
+ if (SCALAPACK_LIBRARIES MATCHES "" )
9
+ set (SCALAPACK_LIBRARIES "-L$ENV{MKLROOT} /lib/intel64 -lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lmkl_blacs_sgimpt_lp64" )
10
+ endif (SCALAPACK_LIBRARIES MATCHES "" )
11
+
12
+ message (STATUS "SCALAPACK_LIBRARY_DIR is ${SCALAPACK_LIBRARY_DIR} " )
13
+ message (STATUS "SCALAPACK_LIBRARIES is ${SCALAPACK_LIBRARIES} " )
14
+ endif (USE_SCALAPACK )
15
+
7
16
# for Intel MKL
8
17
set (BLA_VENDOR "Intel10_64lp" CACHE STRING "" FORCE )
9
18
You can’t perform that action at this time.
0 commit comments