Hi all,
I have an interesting issue that seems to have arisen with NVHPC between versions 24.07
and 24.09
and is still around, I have started getting a compilation error triggered by this warning/info output:
Accelerator restriction: unsupported operation: DCMPLXABS
A c-code that triggers the problem can be found here
(Sorry for the size, not exactly ‘minimal’),
The file may be compiled with:
nvc -o ./MAXIV_Bloch.out ./MAXIV_Bloch.c -Wl,-O2 -Minfo=accel -acc=gpu -gpu=managed -DOPENACC
With nvc from 24.07
and earlier the code compiles OK, 24.09
and later fail with
nvvmCompileProgram: failed with error 9: NVVM_ERROR_COMPILATION nvnvvmd: error: /tmp/nvaccuiGDd85BX0TtZ.gpu (95719, 14): parse use of undefined value '@class_Mirror_toroid_trace'
I’ve compiled a small overview for various compiler versions and a couple of different versions of my own code. (Clicking any of the red “! Compile error !” links in that page will take you to the compiler output…)
Best,
Peter