oar_resources_init(1)

πŸ“¦
version 2.5.10 Β· 3 versions
, in ubuntu noble

πŸ’– 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 oarnodesetting and oarproperty. πŸ‘‘

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 -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)

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