Adjusted CRITICIAL section names for Intel Fortran Compiler#4547
Adjusted CRITICIAL section names for Intel Fortran Compiler#4547hfp merged 1 commit intocp2k:masterfrom
Conversation
d418b61 to
b1c282c
Compare
|
The script |
|
I'd like to remove the |
Yes, that's in mind and I will help with this whether it's here, with CMake, or with the Spack repo/recipes. Anyway, I will squeeze out the "value" (issues) of the failures here (Makefile) before moving on. I already reported the name clash for critical (this will be an extra comment). |
|
Regarding name of CRITICAL sections, this is what our people say:
Citation and reference is here. As we all interpret the standard, there are different interpretations (let alone issues in the standard). Also, "there is hope for forgiveness and this shall become a warning rather than an error". It might be Intel follows GNU Fortran to accept a clashing name. That's my hope btw (aka IMHO). |
|
I don't mind as long as it reliably throws an error - ideally with a meaningful message. |
|
It's not too bad to get an error and resolve via this PR (sure, I am affiliated ;-). This now triggers other/unrelated issues, i.e., the ICE for |
- Revised some workarounds for Intel Compiler. - Improved applying workaround (if needed).
With Intel Fortran Compiler (ifx and ifort), the name of an OpenMP critical section cannot be named like the subroutine containing it. The issue will be reported.