This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
wiki:managing_resources_cpu_gpu [2020/03/03 13:59] – [Second scenario, full featured] neyron | wiki:managing_resources_cpu_gpu [2020/03/03 14:09] – [Managing GPUs] 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 69: | Line 62: | ||
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 ''' | + | |
+ | But be **warned**, that the following commands will mostly not provide what a user would expect: | ||
<code bash> | <code bash> | ||
$ oarsub -l gpudevice=1 | $ oarsub -l gpudevice=1 |