File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ project(
19
19
20
20
# Set paths to Intel oneAPI MKL
21
21
if (${ENABLE_SPBLAS} )
22
- set (MKLROOT $ENV{MKLROOT} ) # Assuming MKLROOT is already set in the environment
22
+ set (MKLROOT $ENV{MKLROOT} CACHE PATH "Installation directory of Intel MKL" )
23
23
if (NOT MKLROOT)
24
24
message (FATAL_ERROR "MKLROOT environment variable is not set." )
25
25
endif ()
Original file line number Diff line number Diff line change 2
2
[[ -d build-spblas-levante ]] && rm -rf build-spblas-levante
3
3
cmake -S . -B build-spblas-levante\
4
4
-DCMAKE_Fortran_COMPILER=ifx\
5
+ -DMKLROOT=/sw/spack-levante/intel-oneapi-mkl-2022.0.1-ttdktf/mkl/2022.0.1\
5
6
-DMKLLIB=/sw/spack-levante/intel-oneapi-mkl-2022.0.1-ttdktf/mkl/2022.0.1/lib/intel64/\
6
7
-DMKLINCLUDE=/sw/spack-levante/intel-oneapi-mkl-2022.0.1-ttdktf/mkl/2022.0.1/include\
7
8
-DBUILD_TESTING=ON\
You can’t perform that action at this time.
0 commit comments