Hi Pierre,
Do you have minimal reproducing example you can provide?
This seems similar, albeit not exactly the same, as an issue reported here: Issue with locally defined classes in OpenMP offload region (since NVHPC 22.5)
Though I can’t be sure without a way to reproduce the error.
Thanks,
Mat