tfep.utils.cli.launcher

Utility classes to launch and execute command line executables.

The Launcher masks the way a command is run to allow easy executions in different settings such as on through mpirun or Slurm’s srun. These classes work similarly to the standard library function subprocess.run, but they can handle running multiple commands in parallel.

Classes

Launcher()

Runs an executable as a standard command line subprocess.

SRunLauncher([n_tasks, multiprog, ...])

Launch a command through SLURM's srun.

SRunTool(*args[, executable_path])

SLURM srun command line utility.