User Tools

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.
  

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information