From 96fac535d46b18b5d730a1d55239c945217331c6 Mon Sep 17 00:00:00 2001 From: Roman Sliva <roman.sliva@vsb.cz> Date: Thu, 8 Dec 2022 11:17:00 +0100 Subject: [PATCH] Update job-scheduling.md --- docs.it4i/cs/job-scheduling.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs.it4i/cs/job-scheduling.md b/docs.it4i/cs/job-scheduling.md index c396bbcfe..751b83765 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. -- GitLab