Linking MKL


Click here for full thread
Forum Vet
Quote:Cchang Oct 1st 6:26 am
Hi Niri,

Quote: Sep 30th 10:21 pm
Hi Chris,
Do you already have this env variable defined ? If so, can you disable it? and try building again.

-Niri


  I did that, and the tests were succeeding when I left.
I've gotten NWChem to build against other BLAS libraries,
but MKL seems to be more complicated to use. I had assumed
it was a problem with how I had tried to link it.

Has anyone there gotten it to build with MKL?


We use the following on Chinook:

setenv BLASOPT -Wl,rpath,/mscf/apps/libraries/intel/mkl/10.0.011/lib/em64t
                         -L/mscf/apps/libraries/intel/mkl/10.0.011/lib/em64t -lmkl_solver_lp64 
-lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lmkl_cdft_core
-lmkl_vml_def -lguide -lpthread -lm

Bert