execution#

Utilities to execute external software.

Functions

check_executable(command)

Checks if a command can be run.

check_returncode(result[, raise_on_failure])

Check the returncode of the process and raise or log a warning.

run_single_process(func[, name, executable])

Runs a function in a separate process.

Classes

CommandRunner

alias of CommandRunnerPSIJ

CommandRunnerPSIJ([raise_on_failure, ...])

Command running utility based on PSI/J.

JobResourceConfig(nodes, processes_per_node, ...)

Configuration for job resources

ResourceManagerConfig([system, max_jobs, ...])

Configuration for job resource managers

Exceptions

ProcessError

Error called for failed commands.