Skip to content

Commit 44e5f29

Browse files
author
Vasileios Karakasis
authored
Merge pull request #1798 from vkarak/docs/misc-fixes
[bugfix] More documentation fixes
2 parents a7011d8 + 8a02a37 commit 44e5f29

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

docs/tutorial_deps.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Here is the output when running the OSU tests with the asynchronous execution po
103103
104104
[ReFrame Setup]
105105
version: 3.4-dev2 (rev: 56c6c237)
106-
command: './bin/reframe --system=daint -C tutorials/config/settings.py -c tutorials/deps/osu_benchmarks.py -r'
106+
command: './bin/reframe -C tutorials/config/settings.py -c tutorials/deps/osu_benchmarks.py -r'
107107
launched by: user@daint101
108108
working directory: '/users/user/Devel/reframe'
109109
settings file: 'tutorials/config/settings.py'
@@ -256,7 +256,7 @@ As a result, its immediate dependency :class:`OSUBuildTest` will be skipped, whi
256256

257257
.. code-block:: console
258258
259-
./bin/reframe -c tutorials/deps/osu_benchmarks.py -n OSULatencyTest -l
259+
./bin/reframe -c tutorials/deps/osu_benchmarks.py --system=daint:gpu -n OSULatencyTest -l
260260
261261
.. code-block:: none
262262

reframe/core/pipeline.py

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -652,17 +652,21 @@ def pipeline_hooks(cls):
652652
#:
653653
#: ::
654654
#:
655-
#: 'resources': {
656-
#: 'gpu': [
657-
#: '--gres=gpu:{num_gpus_per_node}'
658-
#: ],
659-
#: 'datawarp': [
660-
#: '#DW jobdw capacity={capacity}',
661-
#: '#DW stage_in source={stagein_src}'
662-
#: ]
663-
#: }
655+
#: 'resources': [
656+
#: {
657+
#: 'name': 'gpu',
658+
#: 'options': ['--gres=gpu:{num_gpus_per_node}']
659+
#: },
660+
#: {
661+
#: 'name': 'datawarp',
662+
#: 'options': [
663+
#: '#DW jobdw capacity={capacity}',
664+
#: '#DW stage_in source={stagein_src}'
665+
#: ]
666+
#: }
667+
#: ]
664668
#:
665-
#: A regression test then may instantiate the above resources by setting
669+
#: A regression test may then instantiate the above resources by setting
666670
#: the :attr:`extra_resources` attribute as follows:
667671
#:
668672
#: ::

0 commit comments

Comments
 (0)