The menu file and pymule batch

To avoid having to run dozens of jobs manually, McMule uses menu files. These files list all McMule jobs that need to be executed which is done by pymule. Currently pymule supports two executors: shell for running on a single machine and slurm for running on a SLURM cluster. To run a menu file, one either runs

pymule batch shell -np <number of cores> menu-m2enng.menu  # using shell executor

pymule batch slurm menu-m2enng.menu # using slurm executor as part of a SLURM script

Configuration file

The config file is written using TOML and can be used to set arbitrary variables. However, most commonly used to set statistics and the name of the mcmule executable.