diff --git a/docs.it4i/cs/job-scheduling.md b/docs.it4i/cs/job-scheduling.md index c396bbcfef0c4c81ebd9b0ccfc5db844c1b7f01c..751b83765dd8565fdd04b4e907ecd53a354c548a 100644 --- a/docs.it4i/cs/job-scheduling.md +++ b/docs.it4i/cs/job-scheduling.md @@ -325,15 +325,18 @@ salloc: Nodes p03-amd01 are ready for job avx2 modules + all modules ``` -Find out allocated FPGA. +### Find Out Allocated Resources + +Information about allocated resources is available in Slurm job details, attributes JOB_GRES and GRERS. + ``` $ scontrol -d show job $SLURM_JOBID |grep GRES= JOB_GRES=fpga:xilinx_alveo_u250:1 Nodes=p03-amd01 CPU_IDs=0-1 Mem=0 GRES=fpga:xilinx_alveo_u250:1(IDX:0) ``` -IDX in the GRES attribute specifies index/indexes of FPGA(s) (or GPGPUs) allocated to the job on the node. In the given example - allocated resources are fpga:xilinx_alveo_u250:1(IDX:0), we should use FPGA with index/number 0. +IDX in the GRES attribute specifies index/indexes of FPGA(s) (or GPGPUs) allocated to the job on the node. In the given example - allocated resources are fpga:xilinx_alveo_u250:1(IDX:0), we should use FPGA with index/number 0 on node p03-amd01. -### Request Specific Resource. +### Request Specific Resource It is possible to allocate specific resources. It is useful for partition p03-amd, where FPGAs of different types are available.