DOKK / manpages / debian 12 / oar-server / oar_resources_init.1.en
oar_resources_init(1) OAR commands oar_resources_init(1)

oar_resource_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 user oar) or STDIN (if hostfile is -).

Every host in hostfile must have the "oar-node" service started (the command connects to the hosts via SSH on the port 6667).

The command either generates a script which could be executed afterward, or directly executes the OAR commands (oarnodesetting and oarproperty).

The following OAR resource hierarchy is assumed:

host > cpu > core

Or if the -T option is set:

host > cpu > core > thread

The mem property is set along with the hierarchy.

Other properties are not set, however the generated script can be modified to do so, or the oarnodesetting command can be used to set them afterward.

Handle HyperThreading. Unless -T is used, every logical cpus (threads) belonging to a same core will be assigned to the cpuset internal property, separated by commas.
Use the thread property for HyperThreading (imply -H).
Script filename.
Execute the script at the end and remove it.
Assume "yes" as answer to all prompts and run non-interactively.
Print the generated script.
Path to the ssh command.
Path to the oarnodesetting command.
Path to the oarproperty command.
Path to the oar.conf file.
Print the command usage.

oarnodesetting(1), oarproperty(1), oar_resources-add(1), oarremoveresource(1), bash(1)

 Copyright 2003-2016 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.
2021-01-11 oar_resources_init