Link the "The runtime single dynamic libraries (SDL) library" of Intel MKL

158 views
Skip to first unread message

Sen Jia

unread,
May 10, 2015, 3:14:53 AM5/10/15
to gadg...@googlegroups.com
When I run Gadgetron on Ubuntu, I suddenly encountered the following error that stop the running of Gadgetron (gtplus gadget & toolbox):

" MKL function load error: cpu specific dynamic library is not loaded. "



This was a unexpected and strange situation which was not occurring and reproduced on another Gadgetron machine in our lab. 


The solution was based on:



I changed the FindMKL.cmake, and added the following line:

SET(MKL_LIBRARIES ${MKL_LIBRARIES} libmkl_rt.so)

to link libmkl_rt.so (there was no libmkl_rt.a). 






Xue, Hui (NIH/NHLBI) [E]

unread,
May 10, 2015, 8:06:00 PM5/10/15
to Sen Jia, gadg...@googlegroups.com
My experience with MKL is that it can work with gadgetron with either explicitly listing required libraries as suggested in MKL linkage advisor https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor

Or, it can work with MKL dynamic linkage libmkl_rt.so, if a single dynamic library is preferred..

In either way, the /opt/intel/mkl/lib/intel64 and /opt/intel/compiler/lib/intel64 should be in the LD_LIBRARY_PATH for gadgetron to find MKL.

I am on mkl l1.2 and ubuntu 14.04.



________________________________
From: Sen Jia [jiaca...@gmail.com]
Sent: Sunday, May 10, 2015 3:14 AM
To: gadg...@googlegroups.com
Subject: Link the "The runtime single dynamic libraries (SDL) library" of Intel MKL
--
You received this message because you are subscribed to the Google Groups "Gadgetron" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gadgetron+...@googlegroups.com<mailto:gadgetron+...@googlegroups.com>.
To post to this group, send email to gadg...@googlegroups.com<mailto:gadg...@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/gadgetron/69325f65-ef69-4303-bd7e-ad5c52b0be7f%40googlegroups.com<https://groups.google.com/d/msgid/gadgetron/69325f65-ef69-4303-bd7e-ad5c52b0be7f%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages