You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/config_reference.rst
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -480,9 +480,14 @@ System Partition Configuration
480
480
481
481
A list of job scheduler options that will be passed to the generated job script for gaining access to that logical partition.
482
482
483
-
.. note::
484
-
For the ``pbs`` and ``torque`` backends, options accepted in the :attr:`~config.systems.partitions.access` and :attr:`~config.systems.partitions.resources` parameters may either refer to actual ``qsub`` options or may just be resources specifications to be passed to the ``-l`` option.
485
-
The backend assumes a ``qsub`` option, if the options passed in these attributes start with a ``-``.
483
+
.. note::
484
+
For the ``pbs`` and ``torque`` backends, options accepted in the :attr:`~config.systems.partitions.access` and :attr:`~config.systems.partitions.resources` parameters may either refer to actual ``qsub`` options or may just be resources specifications to be passed to the ``-l`` option.
485
+
The backend assumes a ``qsub`` option, if the options passed in these attributes start with a ``-``.
486
+
487
+
.. note::
488
+
If constraints are specified in :attr:`~config.systems.partition.access` for the Slurm backends,
489
+
these will be AND'ed with any additional constraints passed either through the test job :attr:`~reframe.core.schedulers.Job.options` or the :option:`-J` command-line option.
490
+
In other words, any constraint passed in :attr:`~config.systems.partition.access` will always be present in the generated job script.
Copy file name to clipboardExpand all lines: docs/manpage.rst
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -728,6 +728,9 @@ Flexible node allocation
728
728
ReFrame can automatically set the number of tasks of a test, if its :attr:`num_tasks <reframe.core.pipeline.RegressionTest.num_tasks>` attribute is set to a value less than or equal to zero.
729
729
This scheme is conveniently called *flexible node allocation* and is valid only for the Slurm backend.
730
730
When allocating nodes automatically, ReFrame will take into account all node limiting factors, such as partition :attr:`~config.systems.partitions.access` options, and any job submission control options described above.
731
+
Particularly for Slurm constraints, ReFrame will only recognize simple AND or OR constraints and any parenthesized expression of them.
732
+
The full syntax of `Slurm constraints <https://slurm.schedmd.com/sbatch.html#OPT_constraint>`__ is not currently supported.
733
+
731
734
Nodes from this pool are allocated according to different policies.
732
735
If no node can be selected, the test will be marked as a failure with an appropriate message.
733
736
@@ -747,6 +750,8 @@ If no node can be selected, the test will be marked as a failure with an appropr
747
750
Align the state selection with the :option:`--distribute` option.
748
751
See the :option:`--distribute` for more details.
749
752
753
+
Slurm OR constraints and parenthesized expressions are supported in flexible node allocation.
0 commit comments