Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions docs/tutorial_deps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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

Expand Down
24 changes: 14 additions & 10 deletions reframe/core/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
#:
#: ::
Expand Down