gitlab-ci: Select CUDA version explicitly in NVHPC job
The job added by commit 16a5c36795
(gitlab-ci: add nightly job testing
NVHPC with Ninja on Linux, 2022-11-21) started failing after CI hosts
were updated from NVIDIA driver version 520 to version 525. Somehow
this causes the NVHPC multi-cuda `nvcc` wrapper to select CUDA 10.2
instead of 11.7 as with older driver versions.
As a workaround, add the preferred version of `nvcc` to the PATH.
Issue: #24225
This commit is contained in:
parent
e0a35098bb
commit
7d2979d6eb
@ -3,3 +3,7 @@ export CXX=nvc++
|
||||
export FC=nvfortran
|
||||
export CUDACXX=nvcc
|
||||
export CUDAHOSTCXX=nvc++
|
||||
# FIXME(#24225): /opt/nvidia/hpc_sdk/Linux_x86_64/22.9/compilers/bin/nvcc
|
||||
# selects a CUDA version 10.2 with host driver versions > 520.
|
||||
# Manually select the preferred nvcc version.
|
||||
export PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/22.9/cuda/11.7/bin:$PATH
|
||||
|
Loading…
Reference in New Issue
Block a user