Skip to main content

AiiDA plugin for the first-principles calculation of Hubbard parameters.

Project description

aiida-hubbard

AiiDA plugin for the Hubbard module of Quantum ESPRESSO. The plugin requires HP v7.2 or above and is not compatible with older versions.

This is the official AiiDA plugin for the HP code of Quantum ESPRESSO.

Compatibility matrix

The matrix below assumes the user always install the latest patch release of the specified minor version, which is recommended.

Plugin AiiDA Python Quantum ESPRESSO
v0.1.0 Compatibility for v4.0 PyPI pyversions Quantum ESPRESSO compatibility

Installation

To install using pip, simply execute:

pip install git+https://github.com/aiidateam/aiida-hubbard

or when installing from source:

git clone https://github.com/aiidateam/aiida-hubbard
pip install aiida-hubbard

Pseudopotentials

Pseudopotentials are installed and managed through the aiida-pseudo plugin. The easiest way to install pseudopotentials, is to install a version of the SSSP through the CLI of aiida-pseudo. Simply run

aiida-pseudo install sssp

to install the default SSSP version. List the installed pseudopotential families with the command aiida-pseudo list. You can then use the name of any family in the command line using the -F flag.

Development

Running tests

To run the tests, simply clone and install the package locally with the [tests] optional dependencies:

git clone https://github.com/aiidateam/aiida-hubbard .
cd aiida-hubbard
pip install -e .[tests]  # install extra dependencies for test
pytest -sv tests # run tests
pytest -sv examples # run examples

You can also use tox to run the test set. Here you can also use the -e option to specify the Python version for the test run. Example:

pip install tox
tox -e py39 -- tests/calculations/hp/test_hp.py

Pre-commit

To contribute to this repository, please enable pre-commit so the code in commits are conform to the standards. Simply install the repository with the pre-commit extra dependencies:

cd aiida-hubbard
pip install -e .[pre-commit]
pre-commit install

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_hubbard-0.1.0a0.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

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

aiida_hubbard-0.1.0a0-py3-none-any.whl (55.2 kB view details)

Uploaded Python 3

File details

Details for the file aiida_hubbard-0.1.0a0.tar.gz.

File metadata

  • Download URL: aiida_hubbard-0.1.0a0.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for aiida_hubbard-0.1.0a0.tar.gz
Algorithm Hash digest
SHA256 67b60039d5520b4d35578d0d2b316425560fbe591be7dd0171be7cc765c8d32d
MD5 eabe8398ab6c57bbefe76abb0bae513a
BLAKE2b-256 5fe288a2fec41460552aa902930ad24e15b50bfbc9ae91b68f6896d3ba3142cb

See more details on using hashes here.

File details

Details for the file aiida_hubbard-0.1.0a0-py3-none-any.whl.

File metadata

File hashes

Hashes for aiida_hubbard-0.1.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2ad4ea06a123da990c54f148c2ce738b3d2585ac59b3be8c2b680c63bd5edb1
MD5 5bb2cade569d54348e4cfd7223097d70
BLAKE2b-256 95d01c23681bfcb4310fd60dc5db804e12c3cb1fa0db3fd13ac85952eb50c226

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