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.3.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiida_submission_controller-0.3.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file aiida_submission_controller-0.3.0.tar.gz.

File metadata

File hashes

Hashes for aiida_submission_controller-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0315b666325853c43e21533d2e2d36b45507a5bbc536226d9b403d226a4d2e8d
MD5 0072e4461925483fc67d438a101870ad
BLAKE2b-256 e0d5e9cb95d9cd676ea1eaa619eb5dbd0300a06fc16b80e7cfcc578a8dee7582

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiida_submission_controller-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a781fb76287787073c9fc49ea440713a591b1a255534e32ed1c8cb04e7394e12
MD5 648eb467bdfffe09d4c0495bdab18dd5
BLAKE2b-256 5f5c13b431121c07037df0be204e29d9f4d0024c067d9648c7188f6caef35cdb

See more details on using hashes here.

Supported by

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