Hi, I'm trying to compile and run OpenMP codes on my machine (2013 Mac Pro, Composer XE 2015, OSX Yosemite), but they don't run successfully. I compile with the -openmp flag and it compiles just fine, but when I try to run it I get the error that libiomp5.dylib isn't loaded. If I then export the DYLD_LIBRARY_PATH variable to point to the proper directory, I now get an Illegal Instruction: 4 error.
These codes run fine on other machines, and I can compile and run programs using MKL on this system.
Anybody else have a solution to this problem?