- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Code has been running well for a very long time (from Intel Visual Fortran Version 8 through oneAPI 2024.2). The code was even running fine today, but something has happened after a reboot.
The particular code in question, build with ifort (will test ifx shortly), fails in a subroutine prefix (iow before any statements are entered).
The code runs fine in single threaded mode in Debug build (no optimizations)
But fails with optimizations disabled .AND. configured to generate OpenMP parallel code.
The affected subroutine does not use OpenMP (no directives, but a module it uses contains USE OMP_LIB)
The subroutine has no arguments, the assembly code on the left is preamble code when compiled with OpenMP.
One of the modules has ThreadPrivate data, and this is the requirement for the preamble code.
The subroutine is (in this call) called outside of a parallel region (later it will be called inside a parallel region).
Register info stepping through code:
At the ...2326 location it gets an error reading location 3.
Other than for a system reboot, I cannot account for this symptom.
Trying ifx now...
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Compiling with ifx does not experience the problem.
I suspect an updated (different) OpenMP library/.dll linked in after reboot.
I do not expect ifort to get fixed. Just reporting this bug for others to be aware.
Jim Dempsey
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Compiling with ifx does not experience the problem.
I suspect an updated (different) OpenMP library/.dll linked in after reboot.
I do not expect ifort to get fixed. Just reporting this bug for others to be aware.
Jim Dempsey
![](/skins/images/DCC883141309A464C31AD18F1D8B9C6A/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page