Skip to content
Snippets Groups Projects
Commit 7c7b576e authored by Loïc Le Guyader's avatar Loïc Le Guyader
Browse files

Merge branch 'reservation' into 'master'

Adds documentation for reserved partition

Closes #18

See merge request !250
parents f4808674 afff188a
No related branches found
No related tags found
1 merge request!250Adds documentation for reserved partition
Pipeline #97824 passed
...@@ -13,6 +13,7 @@ unreleased ...@@ -13,6 +13,7 @@ unreleased
- fix :issue:`67` regarding bunch pattern :mr:`245` - fix :issue:`67` regarding bunch pattern :mr:`245`
- fix :issue:`44` regarding notebook for DSSC geometry quadrants alignment :mr:`247` - fix :issue:`44` regarding notebook for DSSC geometry quadrants alignment :mr:`247`
- fix :issue:`52` use extra-geom detector helper function for azimuthal integration :mr:`248` - fix :issue:`52` use extra-geom detector helper function for azimuthal integration :mr:`248`
- fix :issue:`18` regarding using reserved partition with sbatch :mr:`250`
- **Improvements** - **Improvements**
......
...@@ -199,4 +199,31 @@ Viking spectrometer ...@@ -199,4 +199,31 @@ Viking spectrometer
* :doc:`Analysis of Viking spectrometer data <Analysis_of_Viking_spectrometer_data>` * :doc:`Analysis of Viking spectrometer data <Analysis_of_Viking_spectrometer_data>`
SLURM, sbatch, partition, reservation
-------------------------------------
Scripts launched by ``sbatch`` command can employ magic cookie with
``#SBATCH`` to pass options SLURM, such as which partition to run on.
To work, the magic cookie has to be at the beginning of the line.
This means that:
* to comment out a magic cookie, adding another "#" before it is sufficient
* to comment a line to detail what the option does, it is best practice
to put the comment on the line before
Reserved partition are of the form "upex_003333" where 3333 is the proposal
number. To check what reserved partition are existing, their start and end
date, one can ``ssh`` to ``max-display`` and use the command ``sview``.
.. image:: sview.png
To use a reserved partition with ``sbatch``, one can use the magic cookie
``#SBATCH --reservation=upex_003333``
instead of the usual
``#SBATCH --partition=upex``
.. _pyFAI: https://pyfai.readthedocs.io .. _pyFAI: https://pyfai.readthedocs.io
doc/sview.png

47.1 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment