Skip to content
Snippets Groups Projects
Commit 96fac535 authored by Roman Sliva's avatar Roman Sliva
Browse files

Update job-scheduling.md

parent fb57b0d4
No related branches found
No related tags found
No related merge requests found
Pipeline #29188 passed with warnings
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment