From 82cb4edb53fe6d2082a540bc6f6d207f06add335 Mon Sep 17 00:00:00 2001 From: caubet_m Date: Wed, 23 Dec 2020 15:45:40 +0100 Subject: [PATCH] Slurm Configuration: Running jobs --- pages/merlin6/03 Job Submission/running-jobs.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/merlin6/03 Job Submission/running-jobs.md b/pages/merlin6/03 Job Submission/running-jobs.md index 643a3af..f3c2aea 100644 --- a/pages/merlin6/03 Job Submission/running-jobs.md +++ b/pages/merlin6/03 Job Submission/running-jobs.md @@ -47,7 +47,7 @@ Before starting using the cluster, please read the following rules: * Use **``squeue``** for checking jobs status. * Use **``scancel``** for cancelling/deleting a job from the queue. -{{site.data.alerts.tip}}Use Linux man pages (i.e. man sbatch for checking the available options for the above commands. +{{site.data.alerts.tip}}Use Linux 'man' pages when needed (i.e. 'man sbatch'), mostly for checking the available options for the above commands. {{site.data.alerts.end}} ## Basic settings @@ -104,6 +104,10 @@ way. This value can never exceed the `MaxTime` of the affected partition. Please #SBATCH --hint=nomultithread # Don't use extra threads with in-core multi-threading. ``` Consider that, sometimes, depending on your job requirements, you might need also to setup how many `--ntasks-per-core` or `--cpus-per-task` (even other options) in addition to the `--hint` command. Please, contact us in case of doubts. + {{site.data.alerts.tip}} In general, --hint=[no]multithread is a mandatory field. On the other hand, --ntasks-per-core is only needed when + one needs to define how a task should be handled within a core, and this setting will not be generally used on Hybrid MPI/OpenMP jobs where multiple cores are needed for single tasks. + {{site.data.alerts.end}} + ### GPU specific settings @@ -146,7 +150,7 @@ the need of specifying the `gpu` resource. In oher words, `--gpus` options are: ``` This setting can use in addition other settings, such like `--gpus-per-node`, in order to accomplish a similar behaviour as with `--gres`. -{{site.data.alerts.tip}}Always check '/etc/slurm/gres.conf' for checking available Types and for details of the NUMA node. +{{site.data.alerts.tip}}Always check '/etc/slurm/gres.conf' for checking available Types and for details of the NUMA node. {{site.data.alerts.end}} ## Batch script templates