User Tools

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtouseslurm_002 [2019/05/12 22:20] tmatejukhowtouseslurm_002 [2023/08/01 01:08] (current) – external edit 127.0.0.1
Line 1: Line 1:
-Nodes can have features assigned to them by the Slurm administrator. Users can specify which of these features are required by their job using the constraint option. Only nodes having features matching the job constraints will be used to satisfy the request.Example 1: Use opteron275.+Nodes can have features assigned to them by the Slurm administrator. Users can specify which of these features are required by their job using the constraint option. Only nodes having features matching the job constraints will be used to satisfy the request. 
 + 
 +Example 1: Use E5-2680 v4 CPU ( this cpu available on ant007 and ant008 )
  
 <code> <code>
Line 5: Line 7:
 #!/bin/bash -l #!/bin/bash -l
 #SBATCH --partition=test #SBATCH --partition=test
-#SBATCH --constraint=opteron275+#SBATCH --constraint=xeon2680v4
 #SBATCH --ntasks=1 #SBATCH --ntasks=1
 #SBATCH --mem 2G #SBATCH --mem 2G
Line 13: Line 15:
 </code> </code>
  
-Example 2: Use opteron250 OR opteron2356+Example 2: Use E5-2680 v4 CPU OR i9-7900X CPU  ( E5-2680 v4 is available on ant007 and ant008 and i9-7900X is available on ant6nn)
  
 <code> <code>
Line 19: Line 21:
 #!/bin/bash -l #!/bin/bash -l
 #SBATCH --partition=test #SBATCH --partition=test
-#SBATCH --constraint=opteron250|opteron2356+#SBATCH --constraint=xeon2680v4|i790x
 #SBATCH --ntasks=1 #SBATCH --ntasks=1
 #SBATCH --mem 2G #SBATCH --mem 2G
Line 26: Line 28:
 sleep 30 ; sleep 30 ;
 </code> </code>
 +
  

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