Community
cancel
Showing results for 
Search instead for 
Did you mean: 
yongbei_ma_
New Contributor I
38 Views

MPICH3.14 with intel c++ complier on os x 10.10.3,Error:dyld: Library not loaded: libiomp5.dylib

Hi friends:

I install MPICH with intel c++ complier on OS X,when I complier the code link with MKL library,and run the code,it gives me error:

mpicxx -mkl testcode.cpp -o testcode

mpiexec -n 3 ./testcode

dyld: Library not loaded: libiomp5.dylib

  Referenced from: /Users/.....

  Reason: image not found

 

how can  I fix this?

thanks.

yongbei

0 Kudos
1 Reply
yongbei_ma_
New Contributor I
38 Views

Hi

I have solve this problem by myself

just add 

export DYLD_LIBRARY_PATH=/opt/intel/composer_xe_2015/lib:/opt/intel/composer_xe_2015/mkl/lib

thanks anyway.

Reply