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 .

Then, you can launch the container:

DOKERID=`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.0b0.tar.gz (631.4 kB view details)

Uploaded Source

Built Distribution

aiida_cp2k-2.1.0b0-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

Details for the file aiida_cp2k-2.1.0b0.tar.gz.

File metadata

  • Download URL: aiida_cp2k-2.1.0b0.tar.gz
  • Upload date:
  • Size: 631.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for aiida_cp2k-2.1.0b0.tar.gz
Algorithm Hash digest
SHA256 09c6d5228e0a882da3ccd216f4b5d208a92df642a468d408a2a7d7b17b31ad7a
MD5 227681d039414da38df44fe56be885b3
BLAKE2b-256 e2cb8e73783acf650003926d6a847c7cae9e5273df049f1815d471c7e103502b

See more details on using hashes here.

File details

Details for the file aiida_cp2k-2.1.0b0-py3-none-any.whl.

File metadata

File hashes

Hashes for aiida_cp2k-2.1.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 af9872ca715d4d6b683e6ef07f48197c55c424e7749721d2c0897557928de8da
MD5 2a3382628473c5578d9f79690d72133e
BLAKE2b-256 588ad22c03bea150269f35941e975b31eac2a7bb26931b1f47d1b3953d6c3e59

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