Skip to main content

The official AiiDA plugin for CP2K.

Project description

PyPI version PyPI pyversions Test CI Coverage Status Documentation

AiiDA CP2K

AiiDA plugin for CP2K.

Installation

If you use pip, you can install it as:

pip install aiida-cp2k

To install the plugin in an editable mode, run:

git clone https://github.com/aiidateam/aiida-cp2k
cd aiida-cp2k
pip install -e .  # Also installs aiida, if missing (but not postgres/rabbitmq).

Links

  • Documentation for the calculation examples and features of the plugin.
  • Make an issue for bug reports, questions and suggestions.
  • AiiDA to learn about AiiDA.
  • CP2K to learn about CP2K.

For maintainers

Release

To create a new release, clone the repository, install development dependencies with pip install '.[dev]', and then execute bumpver update --major/--minor/--patch. This will:

  1. Create a tagged release with bumped version and push it to the repository.
  2. Trigger a GitHub actions workflow that creates a GitHub release.

Additional notes:

  • Use the --dry option to preview the release change.
  • The release tag (e.g. a/b/rc) is determined from the last release. Use the --tag option to override the release tag.

Testing

To run the tests, you need to have Docker installed in your system. Once this is done, you can build the Docker image with the following command:

docker build -t aiida_cp2k_test .

To test against another version of aiida-core, you can specify the build agrument AIIDA_VERSION:

docker build -t aiida_cp2k_test --build-arg AIIDA_VERSION=2.4.3 .

Then, you can launch the container:

DOCKERID=`docker run -d aiida_cp2k_test`

This will remeber the container ID in the variable DOKERID. You can then run the tests with the following command:

docker exec --tty --user aiida $DOCKERID /bin/bash -l -c 'cd /home/aiida/aiida-cp2k/ && pytest'

To enter the container for manual testing do:

docker exec -it --user aiida $DOCKERID bash

License

MIT

Contact

yakutovicha@gmail.com

Acknowledgements

This work is supported by:

MARVEL MaX swissuniversities

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_cp2k-2.1.1.tar.gz (668.8 kB view details)

Uploaded Source

Built Distribution

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

aiida_cp2k-2.1.1-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file aiida_cp2k-2.1.1.tar.gz.

File metadata

  • Download URL: aiida_cp2k-2.1.1.tar.gz
  • Upload date:
  • Size: 668.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for aiida_cp2k-2.1.1.tar.gz
Algorithm Hash digest
SHA256 a5f9dfd520628d59be4bc4a193597889b88c84daddf563c5b909fba23afb9876
MD5 abbf087001a3f460f900ccdbf4b727e1
BLAKE2b-256 383b9932495c254a47382eaa9ab0778ae9e2c950c044100ca90b34236ed19bcd

See more details on using hashes here.

File details

Details for the file aiida_cp2k-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: aiida_cp2k-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for aiida_cp2k-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1307fea49c919dbabf1e7678e0a82c3af419040a50d62f9213a98a5993d048a1
MD5 c4aee6838a7416b9379a12ffeaeca2ed
BLAKE2b-256 85d5d1a44b05c9c59fce7fc0af33f4479c8932d025ca57f1407c478df42cd0c6

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