OpenMP taskloop is not supported by the new nvcc compiler

I tried to compile the latest version of SuperLU-DIST library with OpenMP enabled. I got the following error

“/home/xxxxx/petsc/traverse-nvidia-real/externalpackages/git.superlu_dist/SRC/pdgstrs_lsum.c”, line 1072: error: this OpenMP construct is not supported in NVIDIA subset: The ‘taskloop’ construct is not supported

However, it compiles well using the legacy PGI compiler.

I don’t know why we only get a subset of features in NVCC by upgrading. Is there a way to release this limit?

However, it compiles well using the legacy PGI compiler.

Yes, and no. We accepted the syntax but taskloop wasn’t implemented. We decided it would be better to be more explicit about what features aren’t supported and hence the error.

We’re working on feature completeness of the OpenMP 5.x standard, but currently higher priority is being given to offload features. Hence I don’t have a firm ETA on when taskloop will be available.

-Mat

OK. Thank you for clarifying.