Skip to content

Commit 30611f0

Browse files
authored
Merge pull request #2037 from jjotero/test/prgenv-nvidia
[test] Bugfix `cuda_aware_mpi_check`
2 parents cca262b + 66fd09d commit 30611f0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cscs-checks/prgenv/cuda/cuda_aware_mpi.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ def set_valid_prog_environs(self):
4747
def set_compilers(self):
4848
if self.current_environ.name == 'PrgEnv-pgi':
4949
self.build_system.cflags = ['-std=c99', ' -O3']
50+
elif self.current_environ.name == 'PrgEnv-nvidia':
51+
self.variables = {
52+
'CUDA_HOME': '$CRAY_NVIDIA_PREFIX/cuda'
53+
}
5054

5155
gcd_flgs = (
5256
'-gencode arch=compute_{0},code=sm_{0}'.format(self.gpu_arch)

0 commit comments

Comments
 (0)