diff --git a/pages/merlin6/merlin6-slurm/slurm-basic-commands.md b/pages/merlin6/merlin6-slurm/slurm-basic-commands.md index 1de8d46..6e1b1f6 100644 --- a/pages/merlin6/merlin6-slurm/slurm-basic-commands.md +++ b/pages/merlin6/merlin6-slurm/slurm-basic-commands.md @@ -38,4 +38,22 @@ sprio -l # to view the factors that comprise a job's scheduling priority # add '-u ' for filtering user ``` +## Show information for specific cluster + +By default, any of the above commands shows information of the local cluster which is ***merlin6**. + +If you want to see the same information for **merlin5** you have to add the parameter ``--clusters=merlin5``. +If you want to see both clusters at the same time, add the option ``--federation``. + +Examples: + +```bash +sinfo # 'sinfo' local cluster which is 'merlin6' +sinfo --clusters=merlin5 # 'sinfo' non-local cluster 'merlin5' +sinfo --federation # 'sinfo' all clusters which are 'merlin5' & 'merlin6' +squeue # 'squeue' local cluster which is 'merlin6' +squeue --clusters=merlin5 # 'squeue' non-local cluster 'merlin5' +squeue --federation # 'squeue' all clusters which are 'merlin5' & 'merlin6' +``` + ---