error running LAPACK with intel mkl with automatic offloads over Xeon phi
2 views (last 30 days)
Show older comments
Hi, I have set up a computer running on xeon E52600v2 and xeon Phi. I installed intel's mkl as it is explained in a tutorial by Intel such that matlab can automatically offload linear algebra routines (lu,cholesky,...) to the xeon phi.
I don't know if it is a xeon phi issue (I hope not and I don't think so) or a intel mkl issue but matlab crashes running the "bench" test routine when I have the following on my .profile:
#MKL export MKLROOT=/opt/intel/mkl export BLAS_VERSION=/opt/intel/composer_xe_2015/mkl/lib/intel64/libmkl_rt.so export LAPACK_VERSION=/opt/intel/composer_xe_2015/mkl/lib/intel64/libmkl_rt.so /opt/intel/composer_xe_2015/mkl/bin/mklvars.sh intel64 export MKL_MIC_MAX_MEMORY=16G export MKL_MIC_ENABLE=1 #export OMP_NUM_THREADS=16 #export MIC_OMP_NUM_THREADS=240 #export OFFLOAD_REPORT=2 # the value 1 is also available #export MIC_ENV_PREFIX=MIC #export MIC_KMP_AFFINITY=granularity=fine,explicit,proclist=[1-240:1] #export MIC_USE_2MB_BUFFERS=32K #export MIC_MKL_DYNAMIC=false #export KMP_AFFINITY=granularity=fine,scatter #export OFFLOAD_DEVICES=0 #export OFFLOAD_ENABLE_ORSL=1 export LD_LIBRARY_PATH="/opt/intel/mic/coi/host-linux-release/lib:${LD_LIBRARY_PATH}" export MIC_LD_LIBRARY_PATH="/opt/intel/mic/coi/device-linux-release/lib:/opt/inte/composer_xe_2015.0.090/compiler/lib/mic/:${MIC_LD_LIBRARY_PATH}"
I showed the commented environment variables as well as they might should have been uncommented?
I also join the matlab crash dump as attachment.
Anybody having an idea is my saver. :)
Thank you,
Jonathan
3 Comments
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!