Quantcast
Channel: Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2583

Problem running openmp with ifort - dyld: Library not loaded: @rpath/libiomp5.dylib

$
0
0

 

Hi, my name is Sergio Ocampo, I'm currently migrating my fortran code from gfortran to ifort. My code uses openmp and I'm getting  the following error when I try to run it:    

  ifort -qopenmp -I./Compiled_Files GKK_Main.f90  -o ./Compiled_Files/GKK_Main.a

  ./Compiled_Files/GKK_Main.a

  dyld: Library not loaded: @rpath/libiomp5.dylib

  Referenced from: /Users/sergioocampo/Documents/GKKC_Code/./Compiled_Files/GKK_Main.a

  Reason: image not found

I have checked other forums for answers but I do not understand the steps they recommend taking. It seems that I need to tell the compiler where the omp library is located. But I don't know how to do it. 

Thanks for your help.

Sergio

 

Thread Topic: 

Help Me

Viewing all articles
Browse latest Browse all 2583

Trending Articles



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