A simple JIT job management framework in Python.
Actively maintained. Last release 6 weeks ago, commits in 13 of the last 26 weeks. A safe choice.
pip install custodianCustodian is a simple, robust and flexible just-in-time (JIT) job management framework written in Python. Using custodian, you can create wrappers that perform error checking, job management and error recovery. It has a simple plugin framework that allows you to develop specific job management workflows for different applications.
Error recovery is an important aspect of many high-throughput projects that generate data on a large scale. When you are running on the order of hundreds of thousands of jobs, even an error-rate of 1% would mean thousands of errored jobs that would be impossible to deal with on a case-by-case basis.
The specific use case for custodian is for long running jobs, with potentially random errors. For example, there may be a script that takes several days to run on a server, with a 1% chance of some IO error causing the job to fail. Using custodian, one can develop a mechanism to gracefully recover from the error, and restart the job with modified parameters if necessary.
The current version of Custodian also comes with several sub-packages for error handling for Vienna Ab Initio Simulation Package (VASP), NwChem, QChem, FEFF, Lobster and CP2K calculations.
Getting custodian
Stable version
The version at the Python Package Index (PyPI) is always the latest stable release that will be hopefully, be relatively bug-free. Install as follows:
pip install custodian
Some plugins (e.g., VASP management) require additional setup (please see ).