Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Library not loaded

allioneg
Beginner
528 Views
I am trying to use OpenMP. I can compile but when I try to run the executable it gives me the following error:

dyld: Library not loaded: /opt/intel/composer_xe_2011_sp1.7.246/compiler/libiomp5.dylib
Referenced from: /Users/gloria/Desktop/Fortran/OpenMP/./OpenMP
Reason: image not found
Trace/BPT trap: 5
How can I solve my problem?
Thanks.
0 Kudos
1 Reply
Ron_Green
Moderator
528 Views
source /opt/intel/bin/compilervars.sh intel64

before you run. Put this in your startup script ~/.bashrc

ron
0 Kudos
Reply