| April 10, 2009 12:00 AM PDT | |
"OMP: Error #15: Initializing libguide.dylib, but found libiomp5.dylib already initialized" is a linker error generated when different parts of a program try to link both static and dynamic verions of the OpenMP runtime. The solution is to explicitly call out either a dynamic or static link. The Intel compiler options for specifying the OpenMP library to be linked on Mac OS X* is -openmp-link static and -openmp-link dynamic.
This error has also been reported when two or more versions of MKL were installed. Under this scenario, some files were being linked from one MKL version and some were being linked from another MKL version. Setting the dynamic library enviornment variable DYLD_LIBRARY_PATH to include a path to only one MKL version resolved this issue.
A related article for Windows* developers can be found here.
This article applies to: Intel® C++ Compiler for Mac OS X* Knowledge Base, Intel® Fortran Compiler for Mac OS X* Knowledge Base, Intel® Math Kernel Library Knowledge Base
For more complete information about compiler optimizations, see our Optimization Notice.
Comments (1) 
Trackbacks (0)
Leave a comment 
Elizabeth S (Intel)
|


Gennady Fedorov (Intel)
45,230
The more overall problem's description you can find in the the article “OMP Abort: Initializing libguide40.dll but found libiomp5md.dll already initialized” following the link "http://software.intel.com/en-us/articles/opm-abort-initializing-libguide40dll
--Gennady