Internal compiler error from nvc++ with the 25.11 release of hpc_sdk

I am getting internal compiler error when trying to compile a C++ code that is designed as a header-only + driver combination. The specific error message is :

NVC+±F-0000-Internal compiler error. is_cond_jmp – Invalid ILI: 0 (../../include/sbd/chemistry/basic/determinants.h: 434)
NVC++/x86-64 Linux 25.11-0: compilation aborted

Due to the header-only design, it is difficult to extract a small test case, but it is simple to describe how to reproduce the error.

1. git clone GitHub - r-ccs-cms/sbd

  1. cd samples/chemistry_tpb_selected_basis_diagonalization

3. edit the Configuration file, set CCFLAGS=-O2

This is MPI code, so set MPICH_CXX=/path/to/nvc++ or OMPI_CXX if you are using OpenMPI, then “make”. It is not necessary to specify a BLAS/Lapack library because the failure is in the compilation step, before attemting to link the object file with libraries to create the executable. The same error arises with earlier versions of the nvc++ compiler that I tried, including 25.9. The test system is Linux, x86_64, with Ubuntu 22.04.5. This code compiles and runs correctly with GNU and Clang compilers, but it would be really useful to have nvc++ as a viable option.

Hi Walkup, thanks for the report and welcome!

I was able to reproduce the error here and it looks like it has to do with the code generation for the “ffsl” builtin, though using the “ffsl” call instead results in the same error. I’ll need engineering to dig into it to see what’s wrong.

I filed a problem report, TPR#38101, and sent it to them for investigation.

Note that the error doesn’t appear new as I was able reproduce the error with our 24.1 release.

-Mat

Hi Walkup,

FYI, TPR #38101 was fixed in our 26.1 release.

-Mat

Excellent … thanks!