Skip to main content

Utilities for controlling submission flow in AiiDA

Project description

AiiDA submission controller

Some classes to help managing large number of submissions, while controlling the maximum number of submissions running at any given time.

This project is still in early phase and the API might change.

It includes an abstract base class that implements the main logic, a very simple example of an implementation to compute a 12x12 addition table (in examples/add_in_batches.py), and a main script to run it (and get results and show them).

To use it, you are supposed to launch the script (e.g. in a screen terminal) with something like this:

cd examples
while true ; do verdi run add_in_batches.py ; sleep 5 ; done

where you can adapt the sleep time. Typically, for real simulations, you might want something in the range of 5-10 minutes, or anyway so that at every new run you have at least some new processes to submit, but still less that the maximum number of available slots, to try to keep the 'queue' quite filled at any given time.

There is also a second subclass that, rather than just creating new submissions from some extras, will use (input) nodes in another group as a reference for which calculations to run (e.g.: a group of crystal structures, representing the inputs to a set of workflows).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiida-submission-controller-0.1.2.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file aiida-submission-controller-0.1.2.tar.gz.

File metadata

File hashes

Hashes for aiida-submission-controller-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d6dfc4bdc43b9194c2b3f4369390017a8b39be625040c14dd5b4caa739720b80
MD5 476bcf704862cf3641ca1ee8511e0e62
BLAKE2b-256 de672f0902bc8cc5d3d20eaf62efb2e3db315ca59cc4844efc2121679f07b74b

See more details on using hashes here.

File details

Details for the file aiida_submission_controller-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for aiida_submission_controller-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 defb98e1801be6a369788d8c4d9ff6dfd051a1d9dbd39b669512fe94151de9c8
MD5 f922746db07794e5e48aedef0e4a877e
BLAKE2b-256 68573d00777f274ae52a07d4329fe1bf6ca41726c3391e9fa1d5fc6a282f8592

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page