OpenMP

OpenMP

HI,

how do I get openmp to work in xcode 3.1 ? I have the most recent intel fortran and it's running fine without openmp.
If I choose enable openMP support in the build settings I get the following error message:

dyld: Library not loaded: libiomp5.dylib

Referenced from: /Users/.../Library/Developer/Xcode/DerivedData/hello_world-gboojatjcgugwggnwsmnsuruvbam/Build/Products/Debug/hello world

Reason: image not found



thanks a lot.


Michael

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi Michael,

You need to setDYLD_LIBRARY_PATHenvironment variable in the Xcode environment.
You can find more details here

Thanks, after fixing that I still get the following error message:

sharedlibrary apply-load-rules all

Warning: the current language does not match this frame.

No memory available to program now: unsafe to call malloc

warning: Attempting to create USE_BLOCK_IN_FRAME variable with block that isn't in the frame.

warning: Attempting to create USE_BLOCK_IN_FRAME variable with block that isn't in the frame.

Current language: auto; currently fortran

Any ideas what to do about this one?

Leave a Comment

Please sign in to add a comment. Not a member? Join today