oar_resource_init(1) 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).
-o [file]
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.
-e [path]
Path to the ssh command.
-n [path]
Path to the oarnodesetting command.
-p [path]
Path to the oarproperty command.
-c [path]
Path to the oar.conf file.
Print the command usage.


 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.