This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
howtouseslurm_000 [2019/05/13 06:44] – created tmatejuk | howtouseslurm_000 [2023/08/01 01:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 11: | Line 11: | ||
For example if we need interactive session with resources of 4 cores, and 200GB memory we use command : | For example if we need interactive session with resources of 4 cores, and 200GB memory we use command : | ||
- | srun -N1 -n4 --mem=200G --pty bash -l | + | srun -N1 -c4 --mem=200G --pty bash -l |
Or if we need interactive session with resources of 1 core and 1 GPU card : | Or if we need interactive session with resources of 1 core and 1 GPU card : | ||
- | srun -N1 -n1 --gres=gpu: | + | srun -N1 -c1 --gres=gpu: |
| | ||
Remember to use '' | Remember to use '' | ||