AiiDA plugin for running and parsing Octopus calculations
Project description
AiiDA Plugin for Octopus
This repository contains an AiiDA plugin for running Octopus calculations and parsing the retrieved results back into
AiiDA data nodes. This is a first version and only supports running serial ground-state calculations, with parsing of
convergence and forces.
Development
The dockerfile uses AiiDA's docker image as the base layer:
docker pull aiidateam/aiida-core-with-services:latest
which automatically sets up the postgres database. One can check the docker logs or run verdi status to get the
status of the services. AiiDA has some documentation on developing in docker here.
The development environment containing AiiDA, octopus, Postopus and this plugin can be built with docker compose:
docker compose build
# Or for the older version of compose
docker-compose-v1 build
and interactively run with:
docker compose run --rm app
# Or for the older version of compose
docker-compose-v1 run --rm app
After initialising the container, mount a local development version of Postopus:
# Install postopus from the mounted directory
pip install -e /workspace/postopus/.
ensuring your .env is configured correctly. If the main release of Postopus contains all the necessary functionality,
one can alternatively skip mounting and installing - the octopus AiiDA plugin will install it as a dependency.
Finally, install this project:
# Install the octopus AiiDA plugin.
pip install -e .
pip install -e .[tests]
and run the tests in the container (from /workspace/aiida-plugin) with:
pytest
If a test is not written with pytest, then it should be run through verdi:
verdi run path/to/launch.py
Release
Build distributions locally with:
pip install -e .[release]
python -m build
python -m twine check dist/*
Upload to TestPyPI or PyPI with:
python -m twine upload --repository testpypi dist/*
# or
python -m twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aiida_octopus-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aiida_octopus-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3141bccad56d7e6e6a051e454fb57b1af9d98694be43ebf12dc24e904c8788e2
|
|
| MD5 |
8e3484bb324150a9ea0fa51e4aad8b23
|
|
| BLAKE2b-256 |
a93517a3533bb4060489536801a4e58226e39a1ac690e4fde74b619a9c0cfb93
|