Jobmon Task Runner

CLI entry point for Jobmon worker tasks. Loads the task’s metadata JSON and runs the appropriate work horse in-process. Invoked by every psimulate command that submits simulations (run / restart / expand / load_test) as well as workflow simulation steps.

Logging is configured via _configure_dual_sink so loguru INFO+ messages land in the SLURM stdout file and WARNING+ messages land in the SLURM stderr file (which the Jobmon GUI surfaces).

vivarium.cluster_tools.psimulate.worker.task_runner.parse_args(argv=None)[source]
Return type:

Namespace

Parameters:

argv (list[str] | None)

vivarium.cluster_tools.psimulate.worker.task_runner.main(argv=None)[source]
Return type:

int

Parameters:

argv (list[str] | None)