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
| Option | Value | Default | Description |
|---|---|---|---|
--fobos, -f | TEXT | Specify a "fobos" file named differently from "fobos" | |
--fci | Assume fobos inputs as case insensitive | ||
--mode | TEXT | Select a mode defined into a fobos file | |
--shadow | TEXT | Rebuild 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-build | Skip build step; just run the existing binary | ||
--dry-run | Print build and run commands without executing | ||
--example | TEXT | Build and run a named [[example.*]] target | |
--explain | When 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-context | Like --explain, but print what the model would receive instead. | ||
--launcher | TEXT | Start 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] | |
--ranks | INTEGER | Number of MPI ranks: replaces {ranks} in the launcher (without a launcher: mpirun -np {ranks}) |