Skip to content

Commit 91e9cbf

Browse files
author
Vasileios Karakasis
authored
Merge branch 'master' into docs/testdeps
2 parents 152da75 + b1c20a6 commit 91e9cbf

File tree

22 files changed

+606
-486
lines changed

22 files changed

+606
-486
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,9 @@ For unsubscribing, you may send an empty message to [[email protected]
9595
### Slack
9696

9797
You may also reach the community through Slack [here](https://reframe-slack.herokuapp.com).
98+
99+
100+
## Contributing back
101+
102+
ReFrame is an open-source project and we welcome third-party contributions.
103+
Check out our Contribution Guide [here](https://github.com/eth-cscs/reframe/wiki/contributing-to-reframe).

ci-scripts/ci-runner.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ run_tutorial_checks()
5050
run_user_checks()
5151
{
5252
cmd="./bin/reframe -C config/cscs.py --exec-policy=async --save-log-files \
53-
-r --flex-alloc-tasks=2 -t production|benchmark $@"
53+
-r --flex-alloc-nodes=2 -t production|benchmark $@"
5454
echo "Running user checks with \`$cmd'"
5555
checked_exec $cmd
5656
}

config/cscs.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,6 @@ class ReframeSettings:
189189
'PrgEnv-pgi'],
190190
'descr': 'Hybrid nodes (Haswell/P100)',
191191
'max_jobs': 100,
192-
'resources': {
193-
'switches': ['--switches={num_switches}']
194-
}
195192
},
196193

197194
'mc': {

cscs-checks/libraries/io/netcdf_compile_run.py

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,24 @@ def setup(self, partition, environ, **job_opts):
6363
'-lnetcdf', '-lnetcdf_c++4', '-lnetcdff'
6464
]
6565
elif environ.name == 'PrgEnv-pgi-nompi':
66-
self.build_system.ldflags = ['-B' + self.linkage]
66+
self.modules = ['netcdf/4.6.1-pgi-18.5-gcc-5.4.0-2.26',
67+
'netcdf-c++/4.3.0-pgi-18.5-gcc-5.4.0-2.26',
68+
'netcdf-fortran/4.4.4-pgi-18.5-gcc-5.4.0-2.26']
69+
self.build_system.ldflags = [
70+
'-B' + self.linkage,
71+
'-L$EBROOTNETCDF/lib',
72+
'-L$EBROOTNETCDFMINCPLUSPLUS/lib',
73+
'-L$EBROOTNETCDFMINFORTRAN/lib',
74+
'-L$EBROOTNETCDF/lib64',
75+
'-L$EBROOTNETCDFMINCPLUSPLUS/lib64',
76+
'-L$EBROOTNETCDFMINFORTRAN/lib64',
77+
'-lnetcdf', '-lnetcdf_c++4', '-lnetcdff'
78+
]
79+
self.build_system.fflags = [
80+
'-I$EBROOTNETCDF/include',
81+
'-I$EBROOTNETCDFMINCPLUSPLUS/include',
82+
'-I$EBROOTNETCDFMINFORTRAN/include'
83+
]
6784
else:
6885
self.build_system.ldflags = ['-%s' % self.linkage]
6986

cscs-checks/mch/collectives_halo.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ def __init__(self, variant):
108108
super().__init__(variant,
109109
{
110110
'kesch': {
111-
'nocomm': 5.7878,
112-
'nocomp': 5.62155,
113-
'default': 5.53777
111+
'nocomm': 6.89819,
112+
'nocomp': 6.98276,
113+
'default': 6.85289
114114
},
115115
'daint': {
116116
'nocomm': 0.0171947,
@@ -130,8 +130,8 @@ def __init__(self, variant):
130130
{
131131
'kesch': {
132132
'nocomm': 5.7878,
133-
'nocomp': 5.62155,
134-
'default': 5.53777
133+
'nocomp': 54.2012,
134+
'default': 55.142
135135
},
136136
'daint': {
137137
'nocomm': 0.978306,

cscs-checks/microbenchmarks/alloc_speed/alloc_speed.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ def __init__(self, hugepages):
4747
'time': (1.41, None, 0.05, 's')
4848
},
4949
'kesch:cn': {
50-
'time': (1.25, None, 0.10, 's')
50+
'time': (1.41, None, 0.10, 's')
5151
},
5252
'kesch:pn': {
53-
'time': (0.55, None, 0.10, 's')
53+
'time': (0.70, None, 0.10, 's')
5454
},
5555
'*': {
5656
'time': (0, None, None, 's')

cscs-checks/prgenv/helloworld.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ def __init__(self, lang, linkage):
137137
'PrgEnv-intel': ['-qopenmp'],
138138
'PrgEnv-pgi': ['-mp']
139139
}
140+
if self.current_system.name == 'kesch':
141+
self.prgenv_flags['PrgEnv-cray'] = ['-homp']
142+
140143
self.num_tasks = 1
141144
self.num_tasks_per_node = 1
142145
self.num_cpus_per_task = 4
@@ -193,6 +196,9 @@ def __init__(self, lang, linkage):
193196
'PrgEnv-intel': ['-qopenmp'],
194197
'PrgEnv-pgi': ['-mp']
195198
}
199+
if self.current_system.name == 'kesch':
200+
self.prgenv_flags['PrgEnv-cray'] = ['-homp']
201+
196202
self.num_tasks = 6
197203
self.num_tasks_per_node = 3
198204
self.num_cpus_per_task = 4

cscs-checks/tools/profiling_and_debugging/perftools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __init__(self, lang):
7575
self.post_run = ['grep INFO rfm_*_build.err']
7676
self.sanity_patterns = sn.all([
7777
sn.assert_found('SUCCESS', self.stdout),
78-
sn.assert_found(r'^INFO: creating the CrayPat-instrumented exec',
78+
sn.assert_found(r'^INFO: creating the (\w+)-instrumented exec',
7979
self.stdout),
8080
sn.assert_found('Table 1: Profile by Function', self.stdout),
8181
])

docs/configure.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Each system is a key/value pair, with the key being the name of the system and t
103103
The valid attributes of a system are the following:
104104

105105
* ``descr``: A detailed description of the system (default is the system name).
106-
* ``hostnames``: This is a list of hostname patterns that will be used by ReFrame when it tries to `auto-detect <#system-auto-detection>`__ the current system (default ``[]``).
106+
* ``hostnames``: This is a list of hostname patterns according to the `Python Regular Expression Syntax <https://docs.python.org/3/library/re.html#regular-expression-syntax>`__ , which will be used by ReFrame when it tries to `auto-detect <#system-auto-detection>`__ the current system (default ``[]``).
107107
* ``modules_system``: *[new in 2.8]* The modules system that should be used for loading environment modules on this system (default :class:`None`).
108108
Three types of modules systems are currently supported:
109109

@@ -382,7 +382,7 @@ System Auto-Detection
382382
When ReFrame is launched, it tries to detect the current system and select the correct site configuration entry. The auto-detection process is as follows:
383383

384384
ReFrame first tries to obtain the hostname from ``/etc/xthostname``, which provides the unqualified *machine name* in Cray systems.
385-
If this cannot be found the hostname will be obtained from the standard ``hostname`` command.
385+
If this cannot be found the hostname will be obtained from the standard ``hostname`` command.
386386
Having retrieved the hostname, ReFrame goes through all the systems in its configuration and tries to match the hostname against any of the patterns in the ``hostnames`` attribute of `system configuration <#system-configuration>`__.
387387
The detection process stops at the first match found, and the system it belongs to is considered as the current system.
388388
If the system cannot be auto-detected, ReFrame will issue a warning and fall back to a generic system configuration, which is equivalent to the following:

docs/index.rst

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,16 @@ You can always find the latest release `here <https://github.com/eth-cscs/refram
3131
Publications
3232
============
3333

34-
* Slides [`pdf <https://drive.google.com/open?id=1iwg1I48LVaWhhZCZIYPJSi3hdFLRcuhi>`__] @ `HPC Knowledge Meeting '19 <https://hpckp.org/>`__
35-
* Slides [`pdf <https://fosdem.org/2019/schedule/event/reframe/attachments/slides/3226/export/events/attachments/reframe/slides/3226/FOSDEM_2019.pdf>`__] & `Talk <https://fosdem.org/2019/schedule/event/reframe/>`__ @ `FOSDEM'19 <https://fosdem.org/2019/>`__
36-
* Slides [`pdf <https://indico.cism.ucl.ac.be/event/4/contributions/24/attachments/30/62/ReFrame_EUM_2019.pdf>`__] @ `4th EasyBuild User Meeting <https://github.com/easybuilders/easybuild/wiki/4th-EasyBuild-User-Meeting>`__
37-
* Slides [`pdf <https://drive.google.com/open?id=1bSykDrl1e2gPflf4jFJ8kfe_SZAtrJ_Q>`__] @ `SC18 <https://sc18.supercomputing.org/>`__
38-
* Slides [`pdf <https://github.com/eth-cscs/UserLabDay/blob/master/slides/ci_and_regression/ReFrame_CI.pdf>`__] [`pptx <https://github.com/eth-cscs/UserLabDay/blob/master/slides/ci_and_regression/ReFrame_CI.pptx>`__] @ `CSCS User Lab Day 2018 <https://github.com/eth-cscs/UserLabDay>`__
39-
* Slides [`pdf <https://drive.google.com/open?id=1sZhibvUlGlT670aOHPdMlWFffWptYzLX>`__] @ `HPC Advisory Council 2018 <http://www.hpcadvisorycouncil.com/events/2018/swiss-workshop/>`__
40-
* Slides [`pdf <https://drive.google.com/open?id=1EyJ-siupkgLeVT54A4WlFpQtrJaU0xOy>`__] @ `SC17 <https://sc17.supercomputing.org/>`__
41-
* Slides [`pdf <https://drive.google.com/open?id=18VrCy0MTplGo67uxVbzYZicQChor9VSY>`__] @ `CUG 2017 <https://cug.org/cug-2017/>`__
34+
* Slides [`pdf <https://drive.google.com/open?id=1Z3faPh9OSSXvlLHL07co3MRRn443dYsY>`__] @ `HPC System Testing BoF <https://sc19.supercomputing.org/session/?sess=sess324>`__, SC'19.
35+
* Slides [`pdf <https://drive.google.com/open?id=1JOFqY3ejbR1X5kTn_IZyp1GlCd2ZZS58>`__] @ `HUST 2019 <https://sc19.supercomputing.org/session/?sess=sess116>`__, SC'19.
36+
* Slides [`pdf <https://drive.google.com/open?id=1iwg1I48LVaWhhZCZIYPJSi3hdFLRcuhi>`__] @ `HPC Knowledge Meeting '19 <https://hpckp.org/>`__.
37+
* Slides [`pdf <https://fosdem.org/2019/schedule/event/reframe/attachments/slides/3226/export/events/attachments/reframe/slides/3226/FOSDEM_2019.pdf>`__] & `Talk <https://fosdem.org/2019/schedule/event/reframe/>`__ @ `FOSDEM'19 <https://fosdem.org/2019/>`__.
38+
* Slides [`pdf <https://indico.cism.ucl.ac.be/event/4/contributions/24/attachments/30/62/ReFrame_EUM_2019.pdf>`__] @ `4th EasyBuild User Meeting <https://github.com/easybuilders/easybuild/wiki/4th-EasyBuild-User-Meeting>`__.
39+
* Slides [`pdf <https://drive.google.com/open?id=1bSykDrl1e2gPflf4jFJ8kfe_SZAtrJ_Q>`__] @ `HUST 2018 <https://sc18.supercomputing.org/>`__, SC'18.
40+
* Slides [`pdf <https://github.com/eth-cscs/UserLabDay/blob/master/slides/ci_and_regression/ReFrame_CI.pdf>`__] [`pptx <https://github.com/eth-cscs/UserLabDay/blob/master/slides/ci_and_regression/ReFrame_CI.pptx>`__] @ `CSCS User Lab Day 2018 <https://github.com/eth-cscs/UserLabDay>`__.
41+
* Slides [`pdf <https://drive.google.com/open?id=1sZhibvUlGlT670aOHPdMlWFffWptYzLX>`__] @ `HPC Advisory Council 2018 <http://www.hpcadvisorycouncil.com/events/2018/swiss-workshop/>`__.
42+
* Slides [`pdf <https://drive.google.com/open?id=1EyJ-siupkgLeVT54A4WlFpQtrJaU0xOy>`__] @ `SC17 <https://sc17.supercomputing.org/>`__.
43+
* Slides [`pdf <https://drive.google.com/open?id=18VrCy0MTplGo67uxVbzYZicQChor9VSY>`__] @ `CUG 2017 <https://cug.org/cug-2017/>`__.
4244

4345

4446

0 commit comments

Comments
 (0)