ibsim-run(1)

πŸ’– ibsim-run(1) β€” the General Commands Manual glow-up πŸ’–

okay bestie, gather round, because this one is lowkey a magic trick and I need you to be seated for it 🫢

✨ NAME ✨

ibsim-run β€” run programs in an ibsim-simulated environment (yes, the manual says "envronment", we love a typo era, but you get it πŸ’…)


🌸 SYNOPSIS 🌸

ibsim-run [<command>]

πŸ¦‹ DESCRIPTION πŸ¦‹

So the package ibsim simulates calls to the umad library (that's the Infiniband user-space stack, iykyk).

To actually use it, you run ibsim(1), and it gets a network diagram. Then programs that have libumad2sim.so loaded override the calls to libumad with calls to the ibsim simulator. it's giving interception, it's giving main character energy ✨

And this? This is a script that runs commands with libumad2sim.so already LD_PRELOAD-ed. no cap, that's the whole vibe. πŸŽ€


πŸ’… OPTIONS πŸ’…

The script will manipulate the environment and then run the rest of the command line in that environment. And if no command was given at all? It just runs bash. casual. iconic. πŸ‘‘

However, these options are supported:

  • -h, --help β€” show a summary of options and exit. that's it, that's the option, and she ate πŸ“

🌈 EXAMPLES 🌈

Start the simulator with a network diagram like this:

ibsim -s path/to/net-examples/net.2sw2path4hca

And then, in a separate shell (important!! don't skip this part bestie πŸ™ˆ):

ibsim-run ibdiscover

⭐ SEE ALSO ⭐

  • ibsim(1)

fr fr, if you made it this far you're officially a Unix girlie now. go run something. πŸ’–

this page came straight out of the General Commands Manual, dated 2020-04-05 β€” and honestly? she's timeless. mwah. πŸ§šπŸ’œ

πŸ“¦ where this page comes from