Quantcast
Channel: Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 2652

unable to find @rpath/libiomp5.dylib

$
0
0

I am new to MKL on Mac. 

I am running code in Fortran as follows: 

ifort -o name.x -fast -mkl program.f90

and I get the following error 

ipo: warning #11012: unable to find @rpath/libiomp5.dylib

I tried looking online to find a solution but I could find anything straight forward. 

 

The closest I got to a solution is to do the following wich is without '-fast' option 

ifort -o name.x -mkl program.f90 -Wl,-rpath,${MKLROOT}/lib -Wl,-rpath,$MKLROOT/../compiler/lib/

This works but when I do the following I get the same error 

ifort -o name.x -fast -mkl program.f90 -Wl,-rpath,${MKLROOT}/lib -Wl,-rpath,$MKLROOT/../compiler/lib/

ipo: warning #11012: unable to find @rpath/libiomp5.dylib

How can I add the path?


Viewing all articles
Browse latest Browse all 2652

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>