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 CPUs with 1 GPU . If it runs on gpu ID 2 ,we hope the 
CPU ID is 32-37.
The next job requires 12 CPUs with 2 GPU . If it runs on gpu ID 3-4 ,we hope 
the CPU ID is 48-53,64-69 .


Can we implement this function ?

Have a look at the --gres-flags=enforce-binding option of sbatch.

Ward

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to