From 85bd92a135c7f80319ac1efb596dc0ec64e4a5a0 Mon Sep 17 00:00:00 2001 From: Roman Sliva <roman.sliva@vsb.cz> Date: Tue, 1 Apr 2025 10:02:52 +0200 Subject: [PATCH] Edit karolina-slurm.md --- docs.it4i/general/karolina-slurm.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs.it4i/general/karolina-slurm.md b/docs.it4i/general/karolina-slurm.md index fe3337f6..720cfcb2 100644 --- a/docs.it4i/general/karolina-slurm.md +++ b/docs.it4i/general/karolina-slurm.md @@ -87,6 +87,12 @@ There are employed some restrictions which aim to provide fair division and effi To allocate more GPUs use `--gpus` option. The default behavior is to allocate enough nodes to satisfy the requested resources as expressed by `--gpus` option and without delaying the initiation of the job. +The following code requests one GPU. One GPU and 16 CPU cores will be allocated to the job. Up to eight jobs could run on single GPU node. + +```console +#SBATCH --gpus 1 +``` + The following code requests four GPUs; scheduler can allocate from one up to four nodes depending on the actual cluster state (i.e. GPU availability) to fulfil the request. ```console -- GitLab