Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
wiki:managing_resources_cpu_gpu [2020/03/03 14:03] – [First scenario, simple] neyronwiki: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 //backport// the feature to released versions (e.g. 2.5.7). +
- +
-See: +
-  * the latest job resource manager script: https://raw.githubusercontent.com/oar-team/oar/2.5/sources/core/tools/job_resource_manager_cgroups.pl +
-  * some explanations about it: https://github.com/oar-team/oar/issues/107 +
- +
-The next release of OAR will provide tools to help setup GPU resources (see the ''oar_resources_add'' command included in OAR starting from version 2.5.8 RC6), but for now, here are some explanations for the setup (for //advanced OAR admins// only)+
  
 +OAR provides tools to help setup GPU resources (see the ''oar_resources_add'' command), but here are some explanations for the setup. 
  
 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_DEVICESCG = "YES";'')   - enable the device cgroup mechanism in it (''$ENABLE_DEVICESCG = "YES";'')
   - add a resource property for the gpu devices (''oarproperty -a gpudevice'')   - add a resource property for the gpu devices (''oarproperty -a gpudevice'')
wiki/managing_resources_cpu_gpu.txt · Last modified: 2020/03/03 14:10 by neyron
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki