Site Tools


howtouseslurm_000

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
howtouseslurm_000 [2019/05/13 06:44] – created tmatejukhowtouseslurm_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:1 --pty bash -l+  srun -N1 -c1 --gres=gpu:1 --pty bash -l
      
 Remember to use ''exit'' command to end interactive mode. Unless you do this, resources you allocated starting interactive session will not be free to use by another user. Remember to use ''exit'' command to end interactive mode. Unless you do this, resources you allocated starting interactive session will not be free to use by another user.
  
howtouseslurm_000.1557722688.txt.gz · Last modified: 2023/08/01 06:38 (external edit)