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
Link Copied
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.
For more complete information about compiler optimizations, see our Optimization Notice.