oar_resources_init(1)
π oar_resources_init β bestie edition π
okay so this lil cutie lives in the OAR commands manual (section 1), and it's here to help you set up your OAR resources without losing your mind. periodt.
β¨ NAME β¨
oar_resource_init β connect to a whole list of hosts, snoop their system info, and build the matching OAR resources for you. it's giving "I did the paperwork so you don't have to" π
πΈ SYNOPSIS πΈ
oar_resource_init [options] <hostfile>
π¦ DESCRIPTION π¦
So here's the tea. π Hosts get read one per line from hostfile β and bestie, that file must be readable by user oar β or from STDIN, if hostfile is literally just -.
Every single host in hostfile has to have the "oar-node" service started. Like, no exceptions. The command connects to those hosts via SSH on the port 6667. π«Ά
Then it does one of two things, your choice:
- it generates a script you can run later, or
- it directly executes the OAR commands β that's
oarnodesettingandoarproperty. π
Here's the resource hierarchy it assumes:
host > cpu > core
Or, if the -T option is set:
host > cpu > core > thread
The mem property gets set along with the hierarchy. β¨
Other properties? Not set. Nope. But the generated script can be modified to do it, or you can just use the oarnodesetting command afterward to set them yourself. main character energy, honestly.
π OPTIONS π
-Hβ Handle HyperThreading. Unless-Tis used, every logical cpus (threads) belonging to a same core will be assigned to thecpusetinternal property, separated by commas.-Tβ Use thethreadproperty 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 thesshcommand.-n[path] β Path to theoarnodesettingcommand.-p[path] β Path to theoarpropertycommand.-c[path] β Path to theoar.conffile.-hβ Print the command usage.
π SEE ALSO π
oarnodesetting(1), oarproperty(1), oar_resources-add(1), oarremoveresource(1), bash(1)
go read those too, bestie, they're part of the lore π
π 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.
fr fr, no warranty. don't come for them if it breaks, they told you. π
okay that's the whole page!! this was oar_resources_init, part of the OAR commands manual, shipped as version oar_resources_init dated 2023-07-10. mwah π
β¨
π¦ where this page comes from
- ubuntu noble: oar-server 2.5.10-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms