Skip to content

run command ​

Build a target and execute it in a single step.

bash
fobis run [TARGET] [options] [-- BINARY_ARGS...]

How to use it, with examples: Building, HPC and clusters.

All options ​

Arguments: TARGET_NAME

OptionValueDefaultDescription
--fobos, -fTEXTSpecify a "fobos" file named differently from "fobos"
--fciAssume fobos inputs as case insensitive
--modeTEXTSelect a mode defined into a fobos file
--shadowTEXTRebuild the mode as a shadow (checks, sanitize or strict): the mode's settings with checking flags, in its own build directory (.fobis/shadow/<mode>-<shadow>/).
--no-buildSkip build step; just run the existing binary
--dry-runPrint build and run commands without executing
--exampleTEXTBuild and run a named [[example.*]] target
--explainWhen the program fails, explain why: from facts (location, declarations, debug mode to use, known compiler bugs), then with the LLM (cited cause and fix) when the location can be trusted.
--explain-contextLike --explain, but print what the model would receive instead.
--launcherTEXTStart the program through this command: an MPI launcher, a debugger, a checker ('mpirun -np {ranks}', 'gdb --args', 'valgrind'); {ranks} is replaced by --ranks [default: mode key launcher]
--ranksINTEGERNumber of MPI ranks: replaces {ranks} in the launcher (without a launcher: mpirun -np {ranks})