ParallelAccelerator.jl icon indicating copy to clipboard operation
ParallelAccelerator.jl copied to clipboard

Setting ParallelAccelerator to use MKL instead of OpenBLAS

Open ig0xb opened this issue 8 years ago • 1 comments

I was able to setup ParallelAccelerator to use OpenBLAS using this Link which i found in the previous post in the Issues section. I tried to set up MKL_LIB=1 & OPENBLAS_LIB = 0 . But no luck i guess its more than that I have also made the following changes to bashprofile

export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/opt/intel/mkl/include/ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/mkl/lib/

Kindly let me know what changes do i need to make to setup in order for ParallelAccelerator to use MKL. Thank You Regards Saran

ig0xb avatar Jul 13 '17 11:07 ig0xb

If you want to use MKL, I'd recommend using the following link to get Julia itself setup for MKL. Then, I'd re-build the ParallelAccelerator package with Pkg.build("ParallelAccelerator"). Look at generated/config.jl to make sure mkl_lib is set. If it isn't, let us know. You're approach of setting those directly in the config.jl would probably work but they are paths, not 1 or 0. So, I'd still suggest re-running the build script.

How to setup Julia for MKL.

DrTodd13 avatar Sep 15 '17 22:09 DrTodd13