Skip to content

Commit e47b437

Browse files
author
Vasileios Karakasis
committed
Fix CUDA Fortran + OpenACC tests
1 parent f7db90a commit e47b437

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

cscs-checks/prgenv/cuda-fortran/cuda_fortran_check.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,8 @@ def set_fflags(self):
3131
# FIXME: PGI 20.x does not support CUDA 11, see case #275674
3232
@run_before('compile')
3333
def cudatoolkit_pgi_20x_workaround(self):
34-
if self.current_system.name == 'daint':
35-
cudatoolkit_version = '10.2.89_3.29-7.0.2.1_3.27__g67354b4'
36-
else:
37-
self.variables['CUDA_HOME'] = '$CUDATOOLKIT_HOME'
38-
cudatoolkit_version = '10.2.89_3.28-2.1__g52c0314'
39-
34+
cudatoolkit_version = '10.2.89_3.28-2.1__g52c0314'
35+
self.variables['CUDA_HOME'] = '$CUDATOOLKIT_HOME'
4036
self.modules += [f'cudatoolkit/{cudatoolkit_version}']
4137

4238
@run_before('sanity')

cscs-checks/prgenv/openacc_checks.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,9 @@ def set_variables(self):
5353
# FIXME: PGI 20.x does not support CUDA 11, see case #275674
5454
@run_before('compile')
5555
def cudatoolkit_pgi_20x_workaround(self):
56-
# FIXME: Align cudatoolkit versions when daint/dom are in sync
57-
if self.current_system.name == 'daint':
58-
cudatoolkit_version = '10.2.89_3.29-7.0.2.1_3.27__g67354b4'
59-
elif self.current_system.name == 'dom':
60-
self.variables['CUDA_HOME'] = '$CUDATOOLKIT_HOME'
61-
cudatoolkit_version = '10.2.89_3.28-2.1__g52c0314'
62-
6356
if self.current_system.name in {'daint', 'dom'}:
57+
cudatoolkit_version = '10.2.89_3.28-2.1__g52c0314'
58+
self.variables['CUDA_HOME'] = '$CUDATOOLKIT_HOME'
6459
self.modules += [f'cudatoolkit/{cudatoolkit_version}']
6560

6661
@run_before('compile')

0 commit comments

Comments
 (0)