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