Re: [slurm-users] How to bind GPUs with CPU cores

2022-10-14 Thread Ward Poelmans
Hi William, On 14/10/2022 11:41, William Zhang wrote: How to realize this function . For example , A job requires 6 CPUs with 1 GPU .And it runs on gpu ID 0 , CPU ID 0-5 . The second job requires 8 CPUs with 1 GPU . If it runs on gpu ID 1 ,we hope the CPU ID is 16-23. The third job requires 6

[slurm-users] How to bind GPUs with CPU cores

2022-10-14 Thread William Zhang
Dear all, Our compute nodes have 128 CPU cores with 8 nvidia GPU cards. I set 8 numa node like this . [root@g0025 ~]# numactl --hardware available: 8 nodes (0-7) node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 node 0 size: 64130 MB node 0 free: 62086 MB node 1 cpus: 16 17 18 19 20 21 2