stfc / PSyclone

Domain-specific compiler and code transformation system for Finite Difference/Volume/Element Earth-system models in Fortran
BSD 3-Clause "New" or "Revised" License
104 stars 27 forks source link

'nvidia' profiling wrapper results in seg. fault with gfortran-compiled offload #2655

Open arporter opened 2 months ago

arporter commented 2 months ago

We've been doing some experiments with gfortran and offloading (based on gcc 13) with OpenACC. We've found that if profiling calipers are added (so that we call into the nvtx library) then the resulting code fails at run time.

In this issue we will investigate whether it's possible to get this working.