This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
wiki:managing_resources_cpu_gpu [2020/03/03 13:31] – [Managing processing unit topologies] neyron | wiki:managing_resources_cpu_gpu [2020/03/03 13:43] – [First scenario, simple] neyron | ||
---|---|---|---|
Line 68: | Line 68: | ||
Also, if some nodes do not have any GPU, you could set the value of the property for the corresponding resources to '' | Also, if some nodes do not have any GPU, you could set the value of the property for the corresponding resources to '' | ||
+ | |||
+ | But be ''' | ||
+ | <code bash> | ||
+ | $ oarsub -l gpudevice=1 | ||
+ | </ | ||
+ | will gives all resources matching one identifier of gpudevices, which means all nodes limited to their first gpus ('' | ||
+ | |||
+ | <code bash> | ||
+ | $ oarsub -l gpudevice=N | ||
+ | </ | ||
+ | with N > 1 makes even less sense. See the setup proposed in the section below if you want to let your users request N gpus like that (using '' | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
===== Second scenario, more complex ===== | ===== Second scenario, more complex ===== |