Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29234 Discussions

OMP: Hint: Check NLSPATH environment variable, its value is "(null)"

Caitlin_G_
Beginner
1,351 Views
Dear expert,

I'm trying to run ifort on my Mac Pro.
I get the following error from my batch job - submitted by the command

nohup a.out > dump &


I get the error message and hints given below in my dump file. I'm not sure what any of this means.


Thanks for your help.

Caitlin


OMP: Warning #2: Cannot open message catalog "libiomp5.cat":

OMP: System error #2: (null)

OMP: Hint: Check NLSPATH environment variable, its value is "(null)".

OMP: Info #3: Default messages will be used.

OMP: Error #15: Initializing libiomp5.dylib, but found libiomp5.dylib already initialized.

OMP: Hint: This may cause performance degradation and correctness issues. Set environment variable KMP_DUPLICATE_LIB_OK=TRUE to ignore this problem and force the program to continue anyway. Please note that the use of KMP_DUPLICATE_LIB_OK is unsupported and using it may cause undefined behavior. For more information, please see http://www.intel.com/software/products/support/.

forrtl: error (76): Abort trap signal

Image PC Routine Line Source

libSystem.B.dylib 00007FFF80F3AF17 Unknown Unknown Unknown


0 Kudos
3 Replies
Kevin_D_Intel
Employee
1,351 Views

This Knowledge Base article (here) will help explain some of this. Just guessing but maybe you compiled with -static or -fast (which implies -static).In addition to compiler options you currently use, also compile with: -openmp-link dynamic to see if this resolves the error.
0 Kudos
TimP
Honored Contributor III
1,351 Views

This Knowledge Base article (here) will help explain some of this. Just guessing but maybe you compiled with -static or -fast (which implies -static).In addition to compiler options you currently use, also compile with: -openmp-link dynamic to see if this resolves the error.
I get a Page Not Found when attempting to follow the "here" chain. In short, it's OK to link the same dynamic OpenMP library as often as you like, but any mixture of such libraries, or linking the static one at more than one stage of your build, would produce such a fault. The compiler threatens to change the scheme for this at each major release.
One possible source of confusion would be that setting -openmp inherently links OpenMP library, and it is not good to specify such a library explicitly in addition, as the performance library instructions imply you should do (and could require if you didn't set -openmp).
The question of whether you have set up correctly to get the run-time message in a language of your choice is another issue.
0 Kudos
Kevin_D_Intel
Employee
1,351 Views
Quoting - tim18
I get a Page Not Found when attempting to follow the "here" chain.

Embedded link in the earlier post is valid, but here's the URL: http://software.intel.com/en-us/articles/omp-error-15-initializing-libguidedylib-but-found-libiomp5dylib-already-initialized/
0 Kudos
Reply