- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi: We upgraded to XE 2013 SP 1 and our main code now crashes when trying to access an allocatable array. The array was apparently not allocated successfully even though the STAT variable (as in ALLOCATE( array(12), STAT=ios)) says the allocation is successful. I've tried to simplify the code and have attached a little example problem which seems to reproduce the issue. The problem arises when compiling with OpenMP active. Building the program with OpenMP OFF yields a successful run; turning it ON causes an ALLOCATE to fail without setting the STAT variable. A successful run should say:
> driver.exe
ONAME allocation succeeded
Output should be "a" on a line and "b" on the next line
a
b
The failed run shows:
> driver_omp.exe
ONAME allocation succeeded
Output should be "a" on a line and "b" on the next line
Hmm. ONAME wasn't allocated???
Furthermore, the routine with the OpenMP commands is not even being invoked.
Interestingly, I get the same result both on windows with 14.0.0.103 Build 20130728 and on linux with 14.0.0.080 Build 20130728. The example program works correctly both with and without OpenMP when compiled with 13.1.0.149 Build 20130118 (on windows).
Thanks,
Allen
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, we'll take a look.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi: Were you able to reproduce my problem?
Thanks,
Allen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I could. We are still investigating.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK. Thanks for the response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Escalated as issue DPD200248411. Curiously, /Qopenmp_stubs doesn't trigger the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks as if this got fixed in Update 2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. Update 2 is solves all our problems. Thanks!

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