Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

OpenMP error message

dsmanoli
Beginner
1,224 Views

Hi,

I just wanted to update my previous post below. I updated to the Intel Fotran 11.0 compiler, and I receive this error message which may have slightly more information than the message below:

OMP: Warning #2: Cannot open message catalog "1033\libguide40ui.dll":
OMP: System error #126: The specified module could not be found
OMP: Info #3: Default messages will be used.
OMP: Error #144: Cannot create thread.
OMP: System error #87: The parameter is incorrect


I would really appreciate any help. Thanks!


Hi,

I am using Intel Visual Fortran with Microsoft Visual Studio 2005 on a 64 bit platform.

I am using OpenMP to parallelize some code, and I am having some problems. The code compiles with no problems, but when I run the program, I get the following error message:

system error(87): __kmp_create_worker: CreateThread: The parameter is incorrect.

OMP abort: fatal system error detected.

I cut and paste this code from a previous program that run without any problems, so I think the code is fine. I made ure to use the "include 'omp_lib.h' " statement and I have changed the compiling setting to generate the parallel code with OpenMP, so I am not sure what else to do. Is there something I have to change with the libraries or something else?

If anyone has any suggestions, I would really appreciate the help. Thanks!

0 Kudos
5 Replies
gib
New Contributor II
1,225 Views

Hi,

I just wanted to update my previous post below. I updated to the Intel Fotran 11.0 compiler, and I receive this error message which may have slightly more information than the message below:

OMP: Warning #2: Cannot open message catalog "1033libguide40ui.dll":
OMP: System error #126: The specified module could not be found
OMP: Info #3: Default messages will be used.
OMP: Error #144: Cannot create thread.
OMP: System error #87: The parameter is incorrect


I would really appreciate any help. Thanks!


Hi,

I am using Intel Visual Fortran with Microsoft Visual Studio 2005 on a 64 bit platform.

I am using OpenMP to parallelize some code, and I am having some problems. The code compiles with no problems, but when I run the program, I get the following error message:

system error(87): __kmp_create_worker: CreateThread: The parameter is incorrect.

OMP abort: fatal system error detected.

I cut and paste this code from a previous program that run without any problems, so I think the code is fine. I made ure to use the "include 'omp_lib.h' " statement and I have changed the compiling setting to generate the parallel code with OpenMP, so I am not sure what else to do. Is there something I have to change with the libraries or something else?

If anyone has any suggestions, I would really appreciate the help. Thanks!

This may not have any significance, but I do not include omp_lib.h. Instead I use the module:

use omp_lib

0 Kudos
TimP
Honored Contributor III
1,225 Views


OMP: Warning #2: Cannot open message catalog "1033libguide40ui.dll":

This message casts doubt on whether you re-compiled everything with the 11.0 compiler, where libiomp5 would be used, unless you specifically set the legacy openmp option, or were building .DLLs. For the latter case, we have been offered conflicting information about whether defaulting to libguide is a mistake, or whether there may be a technical reason. If you linked against more than one OpenMP run-time library, whether it is both libiomp5 and libguide, or one static and the other dynamic, or one from 11.0 and another from an earlier compiler, you could expect problems.
0 Kudos
dsmanoli
Beginner
1,225 Views
Quoting - tim18
This message casts doubt on whether you re-compiled everything with the 11.0 compiler, where libiomp5 would be used, unless you specifically set the legacy openmp option, or were building .DLLs. For the latter case, we have been offered conflicting information about whether defaulting to libguide is a mistake, or whether there may be a technical reason. If you linked against more than one OpenMP run-time library, whether it is both libiomp5 and libguide, or one static and the other dynamic, or one from 11.0 and another from an earlier compiler, you could expect problems.

Hi,

Thanks for your response. I think I re-compiled everything with the 11.0 compiler, and I am getting the following error message:

OMP: Warning #2: Cannot open message catalog "1033libiomp5ui.dll":
OMP: System error #126: The specified module could not be found
OMP: Info #3: Default messages will be used.
OMP: Error #144: Cannot create thread.
OMP: System error #87: The parameter is incorrect

Please let me know if there is something I should change. I am using Microsoft Visual Studio, so if you could tell me what to change there, that would be great.

Thanks,
Day
0 Kudos
bacardi1607
Beginner
1,225 Views
OMP: Warning #2: Cannot open message catalog "1033libiomp5ui.dll":
OMP: System error #126: The specified module could not be found
OMP: Info #3: Default messages will be used.
OMP: Error #144: Cannot create thread.
OMP: System error #87: The parameter is incorrect

Hi, I have the same message! I solved the problem with three of this lines by simple creation of new directory 1033 with included library libiomp5ui.dll which MVS 2005 is asking for.

However, the thread is still could not be created and I don't know why. Probably the problem is that the code itself is written as unable to be parallelized but I am not sure
0 Kudos
Steven_L_Intel1
Employee
1,225 Views
The warnings about the message catalog should not appear in current versions of the product. Can you reproduce the thread error with Intel Visual Fortran Composer XE 2011 Update 3?
0 Kudos
Reply