Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

AiiDA plugin for the spirit code

License

NotificationsYou must be signed in to change notification settings

JuDFTteam/aiida-spirit

Repository files navigation

Build StatusCoverage StatusDocs statusPyPI versionDOI

aiida-spirit

AiiDA plugin for thespirit code

Installation

pip install aiida-spirit# install aiida-spirit from pypiverdi quicksetup# better to set up a new profileverdi 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 runningcd examples./example_LLG.py# run test calculationverdi process list -a# check record of calculation

Development

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

Note thatpytest -v will create a test database and profile which requires to find thepg_ctl command.Ifpg_ctl is not found you need to nake sure that postgres is installed and then add the localtion ofpg_ctl to thePATH:

# add postgres path for pg_ctl to PATH# this is an example for Postgres 9.6 installed on a macPATH="/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 theMIT license.

Contact

p.ruessmann@fz-juelich.de


[8]ページ先頭

©2009-2025 Movatter.jp