- removed comment
Add autoconf macro to test for OpenMP collapse statement
Issue #865
resolved
Keyword:
Comments (4)
-
reporter -
reporter - changed status to open
- removed comment
-
repo owner - changed status to open
- removed comment
Patch looks ok. One comment: maybe we want to add a define for COLLAPSE (uppercase) as well as collapse for the Fortran case to provide some case insensitivity (assuming that no one spells collapse as "CoLllaSE" in Fortran even though they migh).
-
reporter - changed status to resolved
- removed comment
Added upper-case version. Applied.
- Log in to comment
It turns out that it would be difficult to create an actual autoconf test, since the symptoms are bad behaviour at run time. Instead, we should check the compiler vendor or version
I checked, and #defining collapse(N) should work fine.