This is a follow up to my previous post involving an error when compiling scalar “kernels” regions:
In that topic, I was advised to use “parallel” in place of “kernels” for scalar device code. This does fix the problem when compiling with PGI 13.6. However when using the latest version of the compiler that I have installed (14.1) I am encountering a new issue: the compiler apparently segfaults while compiling the parallel region in the code (available in this link):
The error output is:
Stack dump: 0. Running pass 'Live Variable Analysis' on function '@ldc_explicit_iter_911_gpu' pgnvd-Fatal-/aoe/pgi/linux86-64/2014/cuda/5.0/nvvm/cicc TERMINATED by signal 11 Arguments to /aoe/pgi/linux86-64/2014/cuda/5.0/nvvm/cicc /aoe/pgi/linux86-64/2014/cuda/5.0/nvvm/cicc -arch compute_20 -m64 -ftz=0 -prec_div=1 -prec_sqrt=1 -fmad=1 /tmp/pgnvdaYXdaWIyK5Un.i -o /tmp/pgaccNXXd1Yj8FyTH.ptx PGF90-F-0155-Compiler failed to translate accelerator region (see -Minfo messages): Device compiler exited with error status code (solvers.f90: 1) PGF90/x86-64 Linux 14.1-0: compilation aborted make: *** [solvers.o] Error 2
Note that the code in the link will compile successfully if I change the parallel back to a kernels but generates incorrect output. If you want any more info about my system setup or compiler installation, I can post that as well.