Skip to content

Commit b30e760

Browse files
author
Vasileios Karakasis
authored
Merge branch 'master' into feat/time_profiling
2 parents 3e2f7e0 + f8bde58 commit b30e760

File tree

76 files changed

+672
-930
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+672
-930
lines changed

cscs-checks/apps/icon/rrtmgp_check.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ def __init__(self):
1919
self.sourcesdir = os.path.join(self.current_system.resourcesdir,
2020
'RRTMGP')
2121
self.tags = {'external-resources'}
22-
self.prebuild_cmd = ['cp build/Makefile.conf.dom build/Makefile.conf']
22+
self.prebuild_cmds = ['cp build/Makefile.conf.dom build/Makefile.conf']
2323
self.executable = 'python'
2424
self.executable_opts = [
2525
'util/scripts/run_tests.py',
2626
'--verbose', '--rel_diff_cut 1e-13',
2727
'--root ..', '--test ${INIFILE}_ncol-${NCOL}.ini'
2828
]
29-
self.pre_run = [
29+
self.prerun_cmds = [
3030
'pwd',
3131
'module load netcdf-python/1.4.1-CrayGNU-19.06-python2',
3232
'cd test'

cscs-checks/apps/openfoam/check_openfoam.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def __init__(self):
2929
self.maintainers = ['MKr', 'AJ']
3030
self.tags = {'scs', 'production', 'external-resources'}
3131

32-
self.pre_run = ['source $FOAM_BASH']
32+
self.prerun_cmds = ['source $FOAM_BASH']
3333

3434

3535
@rfm.simple_test

cscs-checks/apps/openfoam/check_openfoam_extend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __init__(self):
3434

3535
self.maintainers = ['MKr', 'AJ']
3636
self.tags = {'scs', 'production', 'external-resources'}
37-
self.pre_run = ['source $FOAM_INST_DIR/foam-extend-4.0/etc/bashrc']
37+
self.prerun_cmds = ['source $FOAM_INST_DIR/foam-extend-4.0/etc/bashrc']
3838

3939

4040
@rfm.simple_test

cscs-checks/apps/quantumespresso/quantumespresso_check.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,20 +117,20 @@ def __init__(self, scale, variant):
117117
references = {
118118
'maint': {
119119
'small': {
120-
'dom:gpu': {'time': (60.0, None, 0.05, 's')},
121-
'daint:gpu': {'time': (60.0, None, 0.10, 's')}
120+
'dom:gpu': {'time': (61.0, None, 0.05, 's')},
121+
'daint:gpu': {'time': (61.0, None, 0.05, 's')}
122122
},
123123
'large': {
124-
'daint:gpu': {'time': (60.0, None, 0.10, 's')}
124+
'daint:gpu': {'time': (54.0, None, 0.05, 's')}
125125
}
126126
},
127127
'prod': {
128128
'small': {
129-
'dom:gpu': {'time': (60.0, None, 0.05, 's')},
130-
'daint:gpu': {'time': (60.0, None, 0.10, 's')}
129+
'dom:gpu': {'time': (61.0, None, 0.05, 's')},
130+
'daint:gpu': {'time': (61.0, None, 0.05, 's')}
131131
},
132132
'large': {
133-
'daint:gpu': {'time': (60.0, None, 0.10, 's')}
133+
'daint:gpu': {'time': (54.0, None, 0.05, 's')}
134134
}
135135
}
136136
}

cscs-checks/apps/spark/spark_check.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ def __init__(self):
1919
self.valid_prog_environs = ['builtin']
2020
self.modules = ['Spark']
2121
self.sourcesdir = None
22-
self.pre_run = ['start-all.sh']
23-
self.post_run = ['stop-all.sh']
22+
self.prerun_cmds = ['start-all.sh']
23+
self.postrun_cmds = ['stop-all.sh']
2424
self.num_tasks = 2
2525
self.num_tasks_per_node = 1
2626
pi_value = sn.extractsingle(r'Pi is roughly\s+(?P<pi>\S+)',

cscs-checks/apps/tensorflow/tensorflow_check.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ def __init__(self, model_name):
2828
# TensorFlow
2929
# FIXME: Currently the branch for Tensorflow 1.14.0 is not
3030
# available, we use the one for 1.13.0
31-
# self.pre_run = ['git checkout r%s' % tf_version]
32-
self.pre_run = ['git checkout r1.13.0']
31+
# self.prerun_cmds = ['git checkout r%s' % tf_version]
32+
self.prerun_cmds = ['git checkout r1.13.0']
3333
self.variables = {'PYTHONPATH': '$PYTHONPATH:.'}
3434

3535

@@ -74,6 +74,6 @@ def __init__(self):
7474
0.85, -0.05, None)
7575
])
7676

77-
self.pre_run += ['mkdir ./official/wide_deep/model_dir',
78-
'python3 ./official/wide_deep/census_dataset.py '
79-
'--data_dir ./official/wide_deep/']
77+
self.prerun_cmds += ['mkdir ./official/wide_deep/model_dir',
78+
'python3 ./official/wide_deep/census_dataset.py '
79+
'--data_dir ./official/wide_deep/']

cscs-checks/apps/tensorflow/tf2_horovod_check.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ def __init__(self, variant):
6060
'NCCL_IB_CUDA_SUPPORT': '1',
6161
'OMP_NUM_THREADS': '$SLURM_CPUS_PER_TASK',
6262
}
63-
self.pre_run = ['wget https://raw.githubusercontent.com/horovod/'
64-
'horovod/26b55a7890f6923ca58cdb68a765ed0ec436ab0f/'
65-
'examples/tensorflow2_synthetic_benchmark.py']
63+
self.prerun_cmds = ['wget https://raw.githubusercontent.com/horovod/'
64+
'horovod/26b55a7890f6923ca58cdb68a765ed0ec436ab0f/'
65+
'examples/tensorflow2_synthetic_benchmark.py']
6666
self.executable = 'python'
6767
self.executable_opts = [
6868
'tensorflow2_synthetic_benchmark.py',

cscs-checks/apps/tensorflow/tf_horovod_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def __init__(self, variant):
4747
self.sanity_patterns = sn.assert_eq(sn.count(sn.findall(
4848
r'total images/sec:', self.stdout)), self.num_tasks)
4949

50-
self.pre_run = ['git checkout cnn_tf_v%s_compatible' % tfshortver]
50+
self.prerun_cmds = ['git checkout cnn_tf_v%s_compatible' % tfshortver]
5151
self.variables = {
5252
'NCCL_DEBUG': 'INFO',
5353
'NCCL_IB_HCA': 'ipogif0',

cscs-checks/compile/libsci_resolve.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def __init__(self, module_name):
4949
# produce any output when xalt/2.7.10 is loaded, thus we use readelf
5050
# to find the dynamic libraries of the executable
5151
# self.build_system.fflags = ['-Wl,-ydgemm_']
52-
self.postbuild_cmd = ['readelf -d %s' % self.executable]
52+
self.postbuild_cmds = ['readelf -d %s' % self.executable]
5353

5454
@rfm.run_before('sanity')
5555
def set_sanity(self):
@@ -99,7 +99,7 @@ def __init__(self):
9999
# to find the dynamic libraries of the executable
100100
# self.build_system.fflags = ['-Wl,-ydgemm_', '-mkl']
101101
self.build_system.fflags = ['-mkl']
102-
self.postbuild_cmd = ['readelf -d %s' % self.executable]
102+
self.postbuild_cmds = ['readelf -d %s' % self.executable]
103103
regex = (r'.*\(NEEDED\).*libmkl_(?P<prgenv>[A-Za-z]+)_(?P<version>\S+)'
104104
r'\.so')
105105
self.sanity_patterns = sn.all([

cscs-checks/cuda/cuda_memtest_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def __init__(self):
2020
self.modules = ['cudatoolkit']
2121
src_url = ('https://downloads.sourceforge.net/project/cudagpumemtest/'
2222
'cuda_memtest-1.2.3.tar.gz')
23-
self.prebuild_cmd = [
23+
self.prebuild_cmds = [
2424
'wget %s' % src_url,
2525
'tar -xzf cuda_memtest-1.2.3.tar.gz',
2626
'cd cuda_memtest-1.2.3',

0 commit comments

Comments
 (0)