Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Paths of MKL/icc on Mac OS X

reiko_nakajima
Beginner
1,753 Views
Hello,

I have (hopefully) a simple question.

I have just installed MKL (m_mkl_p_10.0.3.020) on my Mac Pro, but the header files and the libraries are not showing up at the usual convenient site (/usr/local/lib, or even /opt/intel/), but are in directories such as:
/Library/Frameworks/Intel_MKL.framework/Versions/Current/Libraries/em64t/ ... etc.

I do have icc installed, but I've added the icc directory to my search path (/opt/intel/cce/10.1.014/bin/) to make it work, so I think my icc setup is incorrect as well. Could someone tell me what I'm missing?

Thanks in advance,
Reiko Nakajima

0 Kudos
3 Replies
TimP
Honored Contributor III
1,753 Views
Your icc installation is the normal default. You should have scripts in that directory which can be sourced to set the paths. As MKL is being incorporated into the compiler installation scheme, in the next major release, the compiler and MKL paths would be set in one step.
0 Kudos
reiko_nakajima
Beginner
1,753 Views
Thanks for your response. I see--so I need to source iccvars.csh (or .sh) so that the path, etc., are set; and if I understand correctly, I will need to create links in the LD_LIBRARY_PATH that points to where the MKL libraries currently are, as well as specifically point to the MKL header directories when I compile. Thanks, Reiko
0 Kudos
TimP
Honored Contributor III
1,753 Views
The new moderator's post tells how to get the new beta version of integrated compiler/mkl, so you could give feedback on whether the path setting is indeed more convenient:
http://software.intel.com/en-us/forums/showthread.php?t=60130
0 Kudos
Reply