- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all,
I am experimenting with openMP for the first time.
I have put some compiler directives around a small loop in a DLL I am working on and have attempted to get the compiler to generate parallel code by:
enabling the following compiler flags: /fpp /Qopenmp /Qopenmp-report
enabling the following linker flags: /LIBPATH:"C:Program FilesIntelCompilerFortran10.1.021IA32Lib" /MDd "libguide40.lib"
When I run the app, it asks for libguide40.dll so I have copied it into the same directory for the time being.
When the app gets going I revieve the following error:
forrtl: severe (151): allocatable array is already allocated
The call stack in VS looks like this:
libifcoremdd.dll!185a4f4c()
[Frames below may be incorrect and/or missing, no symbols loaded for libifcoremdd.dll]
ntdll.dll!7c96e0d4()
bla bla bla()
Could this be something to do with other DLLs the app is using being compiled with incompatible versions of libifcoremdd?
Any help would be greatly appreciated.
Kind regards,
Pete
I am experimenting with openMP for the first time.
I have put some compiler directives around a small loop in a DLL I am working on and have attempted to get the compiler to generate parallel code by:
enabling the following compiler flags: /fpp /Qopenmp /Qopenmp-report
enabling the following linker flags: /LIBPATH:"C:Program FilesIntelCompilerFortran10.1.021IA32Lib" /MDd "libguide40.lib"
When I run the app, it asks for libguide40.dll so I have copied it into the same directory for the time being.
When the app gets going I revieve the following error:
forrtl: severe (151): allocatable array is already allocated
The call stack in VS looks like this:
libifcoremdd.dll!185a4f4c()
[Frames below may be incorrect and/or missing, no symbols loaded for libifcoremdd.dll]
ntdll.dll!7c96e0d4()
bla bla bla()
Could this be something to do with other DLLs the app is using being compiled with incompatible versions of libifcoremdd?
Any help would be greatly appreciated.
Kind regards,
Pete
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should have the path to the compiler LIB folder added to PATH rather than copying that one DLL. I don't see any evidence of "incompatible versions of libifcoremdd".
It is possible that you have data corruption or incorrect synchronization between threads. You'd need to debug this program in order to determine the issue, or consider trying Intel Thread Checker.
It is possible that you have data corruption or incorrect synchronization between threads. You'd need to debug this program in order to determine the issue, or consider trying Intel Thread Checker.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page