Closed havogt closed 2 years ago
After debugging the segfault described in #363, I noticed that this fix seems to be needed in some environments (e.g. my laptop with openSUSE tumbleweed), but not in all environments (e.g. not in the ubuntu based docker container that is mentioned in #363).
Note that Assert_Real has these #ifdefs https://github.com/Goddard-Fortran-Ecosystem/pFUnit/blob/26ac761630dd3012081d67ce03ee99bff2dbe8d9/src/funit/asserts/Assert_Real.tmpl#L129. I just copied from there and it fixed my problem. (In the meantime I upgraded my system and cannot reproduce the failure anymore.)
Yes - the #ifdef
s there are also unnecessary. Probably not worth fixing, but I'll try to remember the next time I make a change.
Enables compilation with nvhpc (tested with 22.3).
Maybe related to discussion in #337.