logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

oar_resource_init - Connect to a list of hosts to gather system information and create the corresponding

Copyrights

        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.

oar_resources_init                                 2025-02-18                              oar_resources_init(1)

Description

       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.

Name

       oar_resource_init - Connect to a list of hosts to gather system information and create the corresponding
       OAR resources.

Options

-H  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.

       -T  Use the thread property for HyperThreading (imply -H).

       -o [file]
           Script filename.

       -x  Execute the script at the end and remove it.

       -y  Assume "yes" as answer to all prompts and run non-interactively.

       -v  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.

       -h  Print the command usage.

See Also

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

Synopsis

oar_resource_init  [options] <hostfile>

See Also