diff --git a/docs.it4i/cs/job-scheduling.md b/docs.it4i/cs/job-scheduling.md index 771e2047e3edfc5969f3ccf7de7299a411a4136c..a1c56ed59b2c9d688e3d36b9cd7f4aa1295bdc63 100644 --- a/docs.it4i/cs/job-scheduling.md +++ b/docs.it4i/cs/job-scheduling.md @@ -254,6 +254,7 @@ $ scontrol -d show node p02-intel02 | grep ActiveFeatures Slurm supports the ability to define and schedule arbitrary resources - Generic RESources (GRES) in Slurm's terminology. We use GRES for scheduling/allocating GPGPUs and FPGAs. +Get information about GRES on node: ``` $ scontrol -d show node p03-amd01 | grep Gres= Gres=gpgpu:amd_mi100:4,fpga:xilinx_alveo_u250:2 @@ -261,6 +262,7 @@ $ scontrol -d show node p03-amd02 | grep Gres= Gres=gpgpu:amd_mi100:4,fpga:xilinx_alveo_u280:2 ``` +Request specified GRES. GRES entry is using format "name[[:type]:count", in the following example name is fpga, type is xilinx_alveo_u280, and count is count 2. ``` $ salloc -A PROJECT-ID -p p03-amd --gres=fpga:xilinx_alveo_u280:2 salloc: Granted job allocation XXX