- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Build Number: OneApi 2021.3.0
Environment: Linux 4.4.59-92.20
Reason: Defect
Description: The binary generated by ifort fails to respect the OpenMP task dependencies between tasks instantiated in a subroutine and the ones instantiated in its internal subroutines.
Observations: Works properly when the variable that creates the dependency is ALLOCATABLE or the array has constant explicit shape.
Steps to Reproduce:
1) Compile the attached test (test.f90) with:
ifort -qopenmp -f test.exe test.f90
2) Set OMP_NUM_THREADS biger than 1
3) Run the test.exe
4) The output of the second task is printed before the first one, which implies that the dependency is not respected.
Expected Result: The tasks execution respects the order specified by the dependencies: the first task completes its execution before the second one starts.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us. We are working on your issue. We'll get back to you soon.
Best Regards,
Shanmukh.SS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thank you for contacting Intel Support.
We have reproduced the behavior on our end and it looks like a bug in Intel Fortran Compiler.
I have now passed the information to Intel Fortran development team to have a look.
I will post an update once we get information from the development team.
In the meantime we are glad that you have a workaround available.
Regards,
Khalik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Shanmukh and Khalik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I realize this fix took some time to come. But the reproducer is now compiling and running successfully with ifx 2023.0.0. This compiler was released in December as part of oneAPI HPC Toolkit 2023.0.
Give it a try!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page