HBOOT(1)
π HBOOT π (section 1 of the LAM TOOLS manual, bestie)
okay so like. this is the page for hboot, one of the LAM TOOLS commands. it's a section 1 manual page, so it's a user command, not some dusty config file. let's get into it π«Ά
β¨ NAME β¨
hboot β start LAM on the local node. that's it. that's the whole job. no cap. π
πΈ SYNOPSIS πΈ
hboot [-dhstvNV] [-c conf] [-I inet_topo] [-R rtr_topo]
that's the whole shape of it, babe. every flag explained below, i promise. π
π OPTIONS π
-dβ turn on debugging. heads up tho: this implies-v, so you're getting verbose whether you asked for it or not. package deal, bestie. π-hβ print the command help menu. the "help me bestie" button. π-sβ close stdio of child processes. more on why you'd want that down in DESCRIPTION, it's lowkey important. πͺ-tβ terminate (tkill(1)) any previous LAM session before starting. it's giving "clean slate, new me." π§Ή-vβ be verbose. spill the tea about every step. π£οΈ-Nβ go through the motions but do not actually take any action. a little dress rehearsal. fake it till you make it, except nothing happens. π-Vβ format and print the process schema. π-c confβ use conf as the process schema. custom vibes only. π¨-I inet_topoβ set the$inet_topovariable in the process schema. π-R rtr_topoβ set the$rtr_topovariable in the process schema. π°οΈ
π¦ DESCRIPTION π¦
okay so real talk: most MPI users will probably not need to use the hboot command at all. like, if that's you, go read lamboot(1) instead and live your life. π
but if you're curious: hboot is basically a generic utility that starts multiple processes on the local node, based on info in a process schema. and the way that it's not restricted to starting LAM β it's just a general tool, periodt. it's part of the startup sequence performed by lamboot(1).
a process schema is a description of the processes which constitute the operating system on a given node. so naturally, the process schema used by hboot should be the one that describes LAM on a node. the grammar of the process schema is described in conf(5). go look, i'll wait. π
now. the -s thing, because this is the part that actually matters: when starting LAM on a remote machine using rsh(1), the open file descriptors of the processes started by hboot must be closed in order for rsh(1) to exit. that's what the -s option is for. no -s, no exit. it's giving clingy. π
and the -t option? that forces a tkill(1) on the machine before attempting to start LAM. this feature is used by lamboot(1) to handle the case where a user might start a machine a second time without using lamwipe(1) to terminate the previous LAM session. we've all done it. no shame. π
the -I and -R options set their respective variables to the given values. the $inet_topo variable is typically used by the LAM Internet datalinks that communicate with other nodes. the $rtr_topo variable is passed to the LAM router that handles network and topology information. you can set these variables in the process schema file (see conf(5)) β but know that their values are overridden by the command line options. command line wins, always. main character energy. π
when LAM is started, the kernel records all processes that attach to it, including all the processes in the process schema. and it's the job of tkill(1) to use this information to remove these processes from the node. teamwork, babe. π€
β EXAMPLES β
hboot -vβ start LAM on the local node with the default process schema. report about every step as it is done. the yapper's choice. π£οΈhboot -c myconfigβ boot the local node with the custom process schema,myconfig. bespoke. artisanal. you. π
π FILES π
laminstalldir/etc/lam-conf.lamdβ the default node process schema, where "laminstalldir" is the directory where LAM/MPI was installed. πlaminstalldir/etc/lam7.1.4helpfileβ default location for the help file for diagnostic messages thathbootmay generate. π/tmp/lam-$USER@hostnameβ the kill file for the LAM session on machine hostname, where$USERis the userid. π‘οΈ
π₯ DIAGNOSTICS π₯
using ps(1) after hboot will display, among others, the LAM processes that have been started. they may be killed one by one with kill(1), or all at once by killing the LAM kernel process with a HUP signal. β‘
but the preferred method is to use the LAM tool tkill(1), which should kill them all at once and also remove the kill file. that's the move. that's the slay. β¨
new users should make liberal use of ps(1) to gain confidence that the system is working properly. fr fr, peek at your processes, it's good for you. π
in a disaster,ps(1)andkill(1)are your only hope of recovery. π not even joking, bestie. memorize them.
π SEE ALSO π
lamboot(1), tkill(1), conf(5), lam-helpfile(5)
and that's the whole page, babe!! π this was LAM 7.1.4, dated July, 2007 β yes i know, ancient, but she still serves. go start some nodes. you got this. mwah. πβ¨
π¦ where this page comes from
- debian bookworm: lam-runtime 7.1.4-7+b1
- debian trixie: lam-runtime 7.1.4-7.2
- ubuntu jammy: lam-runtime 7.1.4-7
- ubuntu noble: lam-runtime 7.1.4-7.1build2
- ubuntu questing: lam-runtime 7.1.4-8
- ubuntu resolute: lam-runtime 7.1.4-8build1
- ubuntu stonking: lam-runtime 7.1.4-8build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms