Skip to content

Commit 46ca10b

Browse files
committed
Add PGI workaround for Daint/Dom tests
1 parent 41f8423 commit 46ca10b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

cscs-checks/microbenchmarks/mpi/halo_exchange/halo_cell_exchange.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,12 @@ def __init__(self):
9393

9494
self.maintainers = ['AJ']
9595
self.tags = {'benchmark'}
96+
97+
@rfm.run_before('compile')
98+
def pgi_workaround(self):
99+
if self.current_system.name in ['daint', 'dom']:
100+
if self.current_environ.name == 'PrgEnv-pgi':
101+
self.variables = {
102+
'CUDA_HOME': '$CUDATOOLKIT_HOME',
103+
}
104+

0 commit comments

Comments
 (0)