Compiling SuiteSparse with Intel's MKL - gher-uliege/Documentation GitHub Wiki

Compilation with gcc

Download the code:

wget http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-4.5.5.tar.gz
tar -xvf SuiteSparse-4.5.5.tar.gz

Check the configuration:

export LD_LIBRARY_PATH="/cluster/compilers/intel/ictce/3.2.2.013/mkl/10.2.2.025/lib/em64t:$LD_LIBRARY_PATH"
BLAS="-L/cluster/compilers/intel/ictce/3.2.2.013/mkl/10.2.2.025/lib/em64t -lmkl_intel_lp64 -lmkl_sequential -lmkl_core" LAPACK="-L/cluster/compilers/intel/ictce/3.2.2.013/mkl/10.2.2.025/lib/em64t -lmkl_intel_lp64 -lmkl_sequential -lmkl_core"  make config

Compile

BLAS="-L/cluster/compilers/intel/ictce/3.2.2.013/mkl/10.2.2.025/lib/em64t -lmkl_intel_lp64 -lmkl_sequential -lmkl_core" LAPACK="-L/cluster/compilers/intel/ictce/3.2.2.013/mkl/10.2.2.025/lib/em64t -lmkl_intel_lp64 -lmkl_sequential -lmkl_core"  make -j 5

Compilation with icc

  • no luck