This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:managing_resources_cpu_gpu [2020/03/03 14:03] – [First scenario, simple] neyron | wiki:managing_resources_cpu_gpu [2020/03/03 14:10] (current) – [The oar_resource_add command] neyron | ||
---|---|---|---|
Line 33: | Line 33: | ||
====== Managing GPUs ====== | ====== Managing GPUs ====== | ||
- | Support of Nvidia GPU devices was added to OAR and will ship with OAR 2.5.8 (already ship with RC versions, starting with 2.5.8 RC6). | + | Support of Nvidia GPU devices was added to OAR and ships with OAR 2.5.8. |
- | + | ||
- | Meanwhile, for those who cannot wait and since this only involves some configuration of the resources and using the latest version of the job resource manager script taken from git (the job resource manager is part of the configuration files of OAR, which the administrator can modify), one can // | + | |
- | + | ||
- | See: | + | |
- | * the latest job resource manager script: https:// | + | |
- | * some explanations about it: https:// | + | |
- | + | ||
- | The next release of OAR will provide tools to help setup GPU resources (see the '' | + | |
+ | OAR provides tools to help setup GPU resources (see the '' | ||
In order to enable the mechanism, you have to: | In order to enable the mechanism, you have to: | ||
- | - use the last job resource manager (see above) | + | - use the latest version of the job resource manager (job_resource_manager_cgroup.pl shipped with the latest version of OAR, at least version 2.5.8) |
- enable the device cgroup mechanism in it ('' | - enable the device cgroup mechanism in it ('' | ||
- add a resource property for the gpu devices ('' | - add a resource property for the gpu devices ('' | ||
Line 224: | Line 217: | ||
The user will get 1 host with 8 cores of it. Nothing is said about what or how many GPUs will be available in the job. | The user will get 1 host with 8 cores of it. Nothing is said about what or how many GPUs will be available in the job. | ||
====== The oar_resource_add command ====== | ====== The oar_resource_add command ====== | ||
- | + | The oar_resource_add command provides some support to create GPU resources in OAR as well as CPU-Core resources with relevant topologies. | |
- | In OAR 2.5.8 (starting from 2.5.8 RC6), the oar_resource_add command provides some support to create GPU resources in OAR as well as CPU-Core resources with relevant topologies. | + | |