Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions cscs-checks/apps/icon/rrtmgp_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@

@rfm.simple_test
class RRTMGPTest(rfm.RegressionTest):
'''This is an outdated PoC test for ICON-RRTMGP.'''

def __init__(self):
super().__init__()
self.valid_systems = ['dom:gpu', 'daint:gpu']
self.valid_prog_environs = ['PrgEnv-pgi']
self.sourcesdir = os.path.join(self.current_system.resourcesdir,
'RRTMGP')
self.prebuild_cmd = ['cp build/Makefile.conf.dom build/Makefile.conf']
self.executable = 'python'
self.executable_opts = [
'util/scripts/run_tests.py',
Expand All @@ -20,7 +23,7 @@ def __init__(self):
]
self.pre_run = [
'pwd',
'module load netcdf-python/1.4.1-CrayGNU-18.08-python2',
'module load netcdf-python/1.4.1-CrayGNU-19.06-python2',
'cd test'
]
self.modules = ['craype-accel-nvidia60', 'cray-netcdf']
Expand All @@ -34,5 +37,4 @@ def __init__(self):
[sn.assert_gt(sn.count(values), 0, msg='regex not matched')],
sn.map(lambda x: sn.assert_lt(x, 1e-5), values))
)
self.tags = {'production'}
self.maintainers = ['WS', 'VK']