pgc++-Fatal-/opt/nvidia/hpc_sdk/Linux_x86_64/21.3/compilers/bin/tools/cpp1 TERMINATED by signal 11

triangle_compile_fail.cpp (10.2 KB)

This is a simple Möller-Trumbore algorithm raytracer code that I was looking forward to parallelise using OpenACC , this is currently a C++ code , but pgc++ gives the following error when i to run this while g++ is able to compile and run this successfully.

$ pgc++ triangle_compile_fail.cpp                                                                                                                                                         [20:32:55]
pgc++-Fatal-/opt/nvidia/hpc_sdk/Linux_x86_64/21.3/compilers/bin/tools/cpp1 TERMINATED by signal 11
Arguments to /opt/nvidia/hpc_sdk/Linux_x86_64/21.3/compilers/bin/tools/cpp1
/opt/nvidia/hpc_sdk/Linux_x86_64/21.3/compilers/bin/tools/cpp1 --llalign -Dunix -D__unix -D__unix__ -Dlinux -D__linux -D__linux__ -D__NO_MATH_INLINES -D__LP64__ -D__x86_64 -D__x86_64__ -D__LONG_MAX__=9223372036854775807L '-D__SIZE_TYPE__=unsigned long int' '-D__PTRDIFF_TYPE__=long int' -D__amd64 -D__amd64__ -D__k8 -D__k8__ -D__MMX__ -D__SSE__ -D__SSE2__ -D__SSE3__ -D__SSSE3__ -D__SSE4_1__ -D__SSE4_2__ -D__AVX__ -D__AVX2__ -D__FMA__ -D__XSAVE__ -D__POPCNT__ -D__FXSR__ -D__PGI -D__NVCOMPILER -D_GNU_SOURCE -D_PGCG_SOURCE -I- -I/opt/nvidia/hpc_sdk/Linux_x86_64/21.3/compilers/include-gcc70 -I/opt/nvidia/hpc_sdk/Linux_x86_64/21.3/compilers/include -I/usr/include/c++/9 -I/usr/include/x86_64-linux-gnu/c++/9 -I/usr/include/c++/9/backward -I/usr/lib/gcc/x86_64-linux-gnu/9/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include -I/opt/nvidia/hpc_sdk/Linux_x86_64/21.3/compilers/include-gcc70 -I/opt/nvidia/hpc_sdk/Linux_x86_64/21.3/compilers/include -I/usr/lib/gcc/x86_64-linux-gnu/9/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include -D__PGLLVM__ -D__NVCOMPILER_LLVM__ -D__extension__= --preinclude _cplus_preinclude.h --preinclude_macros _cplus_macros.h --gnu_version=90300 -D__pgnu_vsn=90300 -q -o /tmp/nvc++4b7cOIzPjp3N.il triangle_compile_fail.cpp

Thanks aswkumar. Looks like we’ve already fixed this one with the fix available in the 21.5 release.

You can download 21.5 from: NVIDIA HPC SDK 21.5 Downloads | NVIDIA Developer

-Mat