aiida-statefile-schedulers
Simple statefile-driven task schedulers: Currently AiiDA relies mostly on full fledged task schedulers to run jobs in complex workflows. Running such workflows with the direct scheduler often means that many processes run together even when running the workflow directly (e.g. not submitting to the daemon), overloading a single node.
This scheduler does not run any jobs. Instead, it creates state files of the form $jobid.QUEUED in the directory
${AIIDA_STATE_DIR} (an environment variable you have to set in your .profile/.bash_profile of the target machine),
waiting for some script to pick the jobs up and run them.
This runner script should create a file $jobid.DONE when done. As intermediate steps it can also create a file $jobid.RUNNING to
signal AiiDA that it picked up a job. The initial state file contains lines of the form key=value with the following keys:
cwd: the working directory for this jobcmd: the command to run there (usually viabash -e ...)
The state files can also be renamed instead of created. A sample runner can be found in scripts/.
Features
Installation
pip install aiida-statefile-scheduler
verdi quicksetup # better to set up a new profile
verdi plugin list aiida.schedulers # should now show your calculation plugins
Development
git clone https://github.com/dev-zero/aiida-statefile-schedulers .
cd aiida-statefile-schedulers
pip install -e .[pre-commit,testing] # install extra dependencies
pre-commit install # install pre-commit hooks
pytest -v # discover and run all tests
See the developer guide for more information.
License
MIT
Contact
Metadata
Release files for aiida-statefile-schedulers 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| aiida-statefile-schedulers-0.2.1.tar.gz | 3.9 kB | Without provenance | Details |
Release files / aiida-statefile-schedulers-0.2.1.tar.gz
| Download URL | aiida-statefile-schedulers-0.2.1.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4395932d699be1eb223f299d79616a2e1dc30234fcc38500dbc5afb2cbdb05ae
|
|
BLAKE2b-256 checksum How to use checksums |
135476f82aea566ddb0361e17b6f5044fb2882319337a05e474ea24fc3f7ef6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Security for aiida-statefile-schedulers 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.