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
2 changes: 1 addition & 1 deletion docs/config_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ ReFrame allows you to define custom scheduler resources for each partition that

A resource specification may also start with ``#PREFIX``, in which case ``#PREFIX`` will replace the standard job script prefix of the backend scheduler of this partition.
This is useful in cases of job schedulers like Slurm, that allow alternative prefixes for certain features.
An example is the `DataWarp <https://www.cray.com/datawarp>`__ functionality of Slurm which is supported by the ``#DW`` prefix.
An example is the `DataWarp <https://www.nersc.gov/assets/Uploads/dw-overview-overby.pdf>`__ functionality of Slurm which is supported by the ``#DW`` prefix.
One could then define DataWarp related resources as follows:

.. code:: python
Expand Down
4 changes: 2 additions & 2 deletions docs/configure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,8 @@ Auto-detecting processor information
.. _devices: config_reference.html#.systems[].partitions[].devices
.. |processor| replace:: :attr:`processor`
.. _processor: config_reference.html#.systems[].partitions[].processor
.. |detect_remote_system_topology| replace:: :attr:`detect_remote_system_topology`
.. _detect_remote_system_topology: config_reference.html#.general[].detect_remote_system_topology
.. |detect_remote_system_topology| replace:: :attr:`remote_detect`
.. _detect_remote_system_topology: config_reference.html#.general[].remote_detect

ReFrame is able to detect the processor topology of both local and remote partitions automatically.
The processor and device information are made available to the tests through the corresponding attributes of the :attr:`~reframe.core.pipeline.RegressionTest.current_partition` allowing a test to modify its behavior accordingly.
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Publications
* 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/>`__.
* 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>`__.
* Slides [`pdf <https://drive.google.com/open?id=1bSykDrl1e2gPflf4jFJ8kfe_SZAtrJ_Q>`__] @ `HUST 2018 <https://sc18.supercomputing.org/>`__, SC'18.
* Slides [`pdf <https://github.com/reframe-hpc/UserLabDay/blob/master/2018/slides/ci_and_regression/ReFrame_CI.pdf>`__] @ `CSCS User Lab Day 2018 <https://github.com/reframe-hpc/UserLabDay>`__.
* Slides [`pdf <https://github.com/eth-cscs/UserLabDay/blob/master/2018/slides/ci_and_regression/ReFrame_CI.pdf>`__] @ `CSCS User Lab Day 2018 <https://github.com/eth-cscs/UserLabDay>`__.
* Slides [`pdf <https://drive.google.com/open?id=1sZhibvUlGlT670aOHPdMlWFffWptYzLX>`__] @ `HPC Advisory Council 2018 <http://www.hpcadvisorycouncil.com/events/2018/swiss-workshop/>`__.
* Slides [`pdf <https://drive.google.com/open?id=1EyJ-siupkgLeVT54A4WlFpQtrJaU0xOy>`__] @ `SC17 <https://sc17.supercomputing.org/>`__.
* Slides [`pdf <https://drive.google.com/open?id=18VrCy0MTplGo67uxVbzYZicQChor9VSY>`__] @ `CUG 2017 <https://cug.org/cug-2017/>`__.
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial_tips_tricks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ As suggested by the warning message, passing :option:`-v` will give you the stac
Debugging deferred expressions
==============================

Although deferred expressions that are used in sanity and performance functions behave similarly to normal Python expressions, you need to understand their `implicit evaluation rules <deferrable_functions_reference.html#implicit-evaluation-of-sanity-functions>`__.
Although deferred expressions that are used in sanity and performance functions behave similarly to normal Python expressions, you need to understand their `implicit evaluation rules <deferrable_functions_reference.html#implicit-evaluation-of-deferrable-functions>`__.
One of the rules is that :func:`str` triggers the implicit evaluation, so trying to use the standard :func:`print` function with a deferred expression, you might get unexpected results if that expression is not yet to be evaluated.
For this reason, ReFrame offers a sanity function counterpart of :func:`print`, which allows you to safely print deferred expressions.

Expand Down
2 changes: 1 addition & 1 deletion hpctestlib/interactive/jupyter/ipcmagic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ipcmagic_check(rfm.RunOnlyRegressionTest, pin_prefix=True):
`ipcmagic <https://github.com/eth-cscs/ipcluster_magic>`__ is a Python
package and collection of CLI scripts for controlling clusters for
Jupyter. For more information, please have a look
`here <https://user.cscs.ch/tools/interactive/jupyterlab/#ipython>`__.
`here <https://user.cscs.ch/tools/interactive/jupyterlab/>`__.

This test checks the ipcmagic performance.
To do this, a single-layer neural network is trained against a noisy linear
Expand Down
10 changes: 4 additions & 6 deletions reframe/core/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,9 +775,10 @@ def pipeline_hooks(cls):
#: Time limit for this test.
#:
#: Time limit is specified as a string in the form
#: ``<days>d<hours>h<minutes>m<seconds>s`` or as number of seconds.
#: If set to :class:`None`, the |time_limit|_
#: of the current system partition will be used.
#: ``<days>d<hours>h<minutes>m<seconds>s`` or as number of seconds. If set
#: to :class:`None`, the
#: :attr:`~reframe.core.systems.SystemPartition.time_limit` of the current
#: system partition will be used.
#:
#: :type: :class:`str` or :class:`float` or :class:`int`
#: :default: :class:`None`
Expand All @@ -798,9 +799,6 @@ def pipeline_hooks(cls):
#: .. versionchanged:: 3.5.1
#: The default value is now :class:`None` and it can be set globally
#: per partition via the configuration.
#:
#: .. |time_limit| replace:: :attr:`time_limit`
#: .. _time_limit: #.systems[].partitions[].time_limit
time_limit = variable(type(None), field=fields.TimerField,
value=None, loggable=True)

Expand Down
2 changes: 1 addition & 1 deletion reframe/utility/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ def shortest(*iterables):
:arg iterables: The iterables to check.
:returns: The shortest iterable.

.. _Sized: https://docs.python.org/3/library/collections.abc.html#collections.abc.Sized # noqa: E501
.. _Sized: https://bit.ly/3QqJlmw
.. |Sized| replace:: :class:`Sized`
'''

Expand Down