From b025e7bd50c0ebe9a412e28e7c2229fbba2d0aa9 Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis Date: Thu, 18 Feb 2021 23:29:23 +0100 Subject: [PATCH] Documentation fixes --- docs/tutorial_deps.rst | 4 ++-- reframe/core/pipeline.py | 24 ++++++++++++++---------- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/docs/tutorial_deps.rst b/docs/tutorial_deps.rst index 913be3c7a2..e26cf93c91 100644 --- a/docs/tutorial_deps.rst +++ b/docs/tutorial_deps.rst @@ -103,7 +103,7 @@ Here is the output when running the OSU tests with the asynchronous execution po [ReFrame Setup] version: 3.4-dev2 (rev: 56c6c237) - command: './bin/reframe --system=daint -C tutorials/config/settings.py -c tutorials/deps/osu_benchmarks.py -r' + command: './bin/reframe -C tutorials/config/settings.py -c tutorials/deps/osu_benchmarks.py -r' launched by: user@daint101 working directory: '/users/user/Devel/reframe' settings file: 'tutorials/config/settings.py' @@ -256,7 +256,7 @@ As a result, its immediate dependency :class:`OSUBuildTest` will be skipped, whi .. code-block:: console - ./bin/reframe -c tutorials/deps/osu_benchmarks.py -n OSULatencyTest -l + ./bin/reframe -c tutorials/deps/osu_benchmarks.py --system=daint:gpu -n OSULatencyTest -l .. code-block:: none diff --git a/reframe/core/pipeline.py b/reframe/core/pipeline.py index 1b1d644b65..af67365d7d 100644 --- a/reframe/core/pipeline.py +++ b/reframe/core/pipeline.py @@ -652,17 +652,21 @@ def pipeline_hooks(cls): #: #: :: #: - #: 'resources': { - #: 'gpu': [ - #: '--gres=gpu:{num_gpus_per_node}' - #: ], - #: 'datawarp': [ - #: '#DW jobdw capacity={capacity}', - #: '#DW stage_in source={stagein_src}' - #: ] - #: } + #: 'resources': [ + #: { + #: 'name': 'gpu', + #: 'options': ['--gres=gpu:{num_gpus_per_node}'] + #: }, + #: { + #: 'name': 'datawarp', + #: 'options': [ + #: '#DW jobdw capacity={capacity}', + #: '#DW stage_in source={stagein_src}' + #: ] + #: } + #: ] #: - #: A regression test then may instantiate the above resources by setting + #: A regression test may then instantiate the above resources by setting #: the :attr:`extra_resources` attribute as follows: #: #: ::