| oar_resources_init(8) | OAR commands | oar_resources_init(8) |
oar_resources_init - Connect to a list of hosts to gather system information and create the corresponding OAR resources.
oar_resource_init [options] <hostfile>
Hosts are read one per line from hostfile (must be readable by the oar user) or STDIN if hostfile is -.
The "oar-node" service must be started on all hosts (oar_resources_init connects to hosts on OAR's dedicated SSH service).
The command can either just generate a script (allowing modification before execution), or directly run the OAR commands (oarnodesetting and oarproperty).
The following OAR resource hierarchy is assumed:
If the -t option is set, it adds the thread level:
The mem property is set along with the hierarchy.
If the -m option is set, it adds the numa level and numamem property. Beware that the numa hierarchy level may differ from machine to machine.
If the -g option is set, it adds the gpu level and gpudevice property. Information for the gpu hierarchy and gpudevice property is however not populated: It can be completed by editing manually the generated script.
Other properties can also be added in the generated script.
After the execution of the script, other oarnodesetting can still be used to change the resource properties.
oarnodesetting(8), oarproperty(8), oar_resources_add(8), oarremoveresource(8), lstopo(1)
Copyright 2003-2025 Laboratoire d'Informatique de Grenoble (http://www.liglab.fr). This software is licensed under the GNU General Public License Version 2 or above. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
| 2025-03-24 | oar_resources_init |