Just released: HPC SDK 24.1

HPC SDK 24.1 includes the cuBLASMp preview library, as well as providing minor bug fixes and enhancements.

Please refer to the Release Notes for full details.

Download the current release at https://developer.nvidia.com/nvidia-hpc-sdk-downloads .

View the current documentation .

Just downloaded 24.1, and tried once again to see if omp offload will work. My project uses Eigen,
and this does not compile:
nvvmCompileProgram error 9: NVVM_ERROR_COMPILATION.
Error: /tmp/nvacc9s3gBMKubH.gpu (325295, 14): parse use of undefined value ‘@_ZN5Eigen8internal13gemm_pack_lhsIdlNS0_22const_blas_data_mapperIdlLi0EEELi1ELi1EdLi0ELb0ELb0EEclEPdRKS3_llll’
NVC+±W-0155-Compiler failed to translate accelerator region (see -Minfo messages): Device compiler exited with error status code (minimalBlockSON.cpp: 72)
NVC+±W-0155-Compiler failed to translate accelerator region (see -Minfo messages): Device compiler exited with error status code (minimalBlockSON.cpp: 72)
NVC++/x86-64 Linux 24.1-0: compilation completed with warnings
/opt/nvidia/hpc_sdk/Linux_x86_64/24.1/compilers/share/llvm/bin/llc: error: /opt/nvidia/hpc_sdk/Linux_x86_64/24.1/compilers/share/llvm/bin/llc: minimalBlockSON.ll:242475:1: error: expected instruction opcode
}
^
So, this appears to be due to Eigen? Is there any hope of getting this to work?

Hi ksavvidis,

Are you trying to call an Eigen routine from an OpenMP target offload region in your code?

The error here is that the device symbol for “Eigen::internal::gemm_pack_lhs” can’t be be found. It would need to be in “declare target” region in order for the compiler to know to create a device symbol for it.

-Mat

I tried to install it. It shows the newest version but does not accept any

nvfortran

command

:~$sudo apt-get install -y nvhpc-24-1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
nvhpc-24-1 is already the newest version (24.1).
:~$ nvfortran --version
nvfortran: command not found

I followed the instructions from the link

$ curl https://developer.download.nvidia.com/hpc-sdk/ubuntu/DEB-GPG-KEY-NVIDIA-HPC-SDK | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg
$ echo 'deb [signed-by=/usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg] https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 /' | sudo tee /etc/apt/sources.list.d/nvhpc.list
$ sudo apt-get update -y
$ sudo apt-get install -y nvhpc-24-1

and I do not find any further instructions there.

Did you set-up your environment so nvfortran is in your path as shown here: Installation Guide Version 24.1