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
Metadata
Release files for aiida-spirit 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiida_spirit-0.3.0.tar.gz | 32.2 kB | Without provenance | Details for aiida_spirit-0.3.0.tar.gz |
Release files / aiida_spirit-0.3.0.tar.gz
| Download URL | aiida_spirit-0.3.0.tar.gz |
|---|---|
| Size | 32.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2de360271ddfe63bb8cca090153997b46c30998b5ad972631cdc4f0316245201
|
|
BLAKE2b-256 checksum How to use checksums |
668312f7515189b6be07f07894c10d38d41771fe7bde9ded52696a3261f29912
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for aiida-spirit 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.