Skip to main content

Build Status Coverage Status Docs status PyPI version DOI

aiida-spirit

AiiDA plugin for the spirit code

Installation

pip install aiida-spirit # install aiida-spirit from pypi
verdi quicksetup  # better to set up a new profile
verdi plugin list aiida.calculations  # should now show your calclulation plugins

Usage

Here goes a complete example of how to submit a test calculation using this plugin.

A quick demo of how to submit a calculation (the spirit python API needs to be installed for this to work: pip install spirit):

verdi daemon start     # make sure the daemon is running
cd examples
./example_LLG.py       # run test calculation
verdi process list -a  # check record of calculation

Development

git clone https://github.com/JuDFTteam/aiida-spirit .
cd aiida-spirit
pip install -e .[pre-commit,testing]  # install extra dependencies
pre-commit install  # install pre-commit hooks
pytest -v  # discover and run all tests

Note that pytest -v will create a test database and profile which requires to find the pg_ctl command. If pg_ctl is not found you need to nake sure that postgres is installed and then add the localtion of pg_ctl to the PATH:

# add postgres path for pg_ctl to PATH
# this is an example for Postgres 9.6 installed on a mac
PATH="/Applications/Postgres.app/Contents/Versions/9.6/bin/:$PATH"
export PATH

Citation

If you use AiiDA-Spirit please cite the method paper

  • P. Rüßmann, J. Ribas Sobreviela, M. Sallermann, M. Hoffmann, F. Rhiem, and S. Blügel, The AiiDA-Spirit Plugin for Automated Spin-Dynamics Simulations and Multi-Scale Modeling Based on First-Principles Calculations, Front. Mater. 9, 825043 (2022). doi: 10.3389/fmats.2022.825043,

and the latest code release

  • P. Rüßmann, J. Ribas Sobreviela, M. Sallermann, M. Hoffmann, F. Rhiem, and S. Blügel. JuDFTteam/aiida-spirit. Zenodo. doi: 10.5281/zenodo.8070770.

License

The AiiDA-Spirit code is under the MIT license.

Contact

p.ruessmann@fz-juelich.de

Metadata

Release files for aiida-spirit 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aiida-spirit 0.2.2
File Size Uploaded
aiida-spirit-0.2.2.tar.gz 30.0 kB Details

Release files / aiida-spirit-0.2.2.tar.gz

Download URL aiida-spirit-0.2.2.tar.gz
Size 30.0 kB
Tags Source
SHA-256 checksum
How to use checksums
67a9afe3aa6a25d3d70ba99515e5311dbdf517257ee85ad488e0533dfaaebf5e
BLAKE2b-256 checksum
How to use checksums
28d47455a7009019faa97e891b3f719d1124489f16007974c7592562aaf185dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release history Release notifications | RSS feed

This release

0.2.2 This release

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page