Nvc++ fatal error, terminated by signal 11

Hello, I’m using the latest Nvidia HPC sdk to compile a software called cdo. And it ran into the following error, “terminated by signal 11”. Did anyone has insight about this error I’m having?

make[2]: Entering directory `/usr/local/cdo-1.9.9/src'
source='vertical_interp.cc' object='libcdo_la-vertical_interp.lo' libtool=yes \
DEPDIR=.deps depmode=pgcc /bin/sh ../config/depcomp \
/bin/sh ../libtool  --tag=CXX   --mode=compile /opt/nvidia/hpc_sdk/Linux_x86_64/20.9/compilers/bin/nvc++ -std=c++11 -DHAVE_CONFIG_H -I.  -I../libcdi/src -I../src/mpim_grid -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -DgFortran  -g -O2 -fopenmp -pthread -c -o libcdo_la-vertical_interp.lo `test -f 'vertical_interp.cc' || echo './'`vertical_interp.cc
libtool: compile:  /opt/nvidia/hpc_sdk/Linux_x86_64/20.9/compilers/bin/nvc++ -std=c++11 -DHAVE_CONFIG_H -I. -I../libcdi/src -I../src/mpim_grid -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -DgFortran -g -O2 -fopenmp -pthread -c vertical_interp.cc -MD  -fPIC -DPIC -o .libs/libcdo_la-vertical_interp.o
"vertical_interp.cc", line 397: warning: specifying a default argument on this
          declaration is nonstandard
  template void genind(int *nx, const double *plev, const float *fullp, long ngp, long nplev, long nhlev, bool lreverse = false);
                ^

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

It’s a compiler issue. Is the source publicly available and if so, can you post the link so I can see if I can reproduce the issue?

Thanks,
Mat

Hi, Mat

The code is publicly available from the following website. The version I was trying to install is cdo-1.9.9
It requires some additional packages to be installed, such as hdf5 and netcdf(trying to install with netcdf support, there is a libs4cdo link on homepage for all necessary packages). Info are avaiable on the homepage.
CDO - CDO - Project Management Service (homepage)
Files - CDO - Project Management Service (download link)

Regards
Juntao

Thanks Juntao. I was able to download the package and reproduce the error. I added TPR #29390 and sent it to our engineers for further investigation.

The error appears to be related to the warning:

“vertical_interp.cc”, line 397: warning: specifying a default argument on this
declaration is nonstandard
template void genind(int *nx, const double *plev, const float *fullp, long ngp, long nplev, long nhlev, bool lreverse = false);

If you remove the default argument, “= false”, from lines 397, 398, 441, and 442, the code will compile successfully.

-Mat

1 Like

Hi Juntao,

Apologies for the late notification but engineering was going through older problem reports and realized we missed letting you that TPR #29390 was fixed back in the 22.5 release.

-Mat