Skip to content

Latest commit

 

History

History
59 lines (35 loc) · 1.4 KB

README.md

File metadata and controls

59 lines (35 loc) · 1.4 KB

Python-based Atomistic Spin Dynamics simulator (pyasd)

This is a python package for spin dynamics simulations

Copyright Shunhong Zhang 2023

[email protected]

Code distributions:

  • core: core scripts for spin dynamics simulations
  • mpi: some utilities for parallelization using mpi4py
  • utility: some functions for post-processing, analyzing and plotting
  • data_base: Exchange parameters for some typical magnetic materials
  • examples: some examples to do fast test on the code
  • Scripts: some executables for post-processing, applied to the current code and the Spirit code
  • tests_basic: some testing cases
  • Tests: more testing cases

Installation

  • Fast installation via pypi

pip install pyasd

  • Download the zip or tarball (tar.gz) of the package

  • unzip the package

  • Run the script ./setup.py install --user

  • To check whether you have successfully install the package, go to the python interactive shell

import asd.core

import asd.mpi

import asd.utility

import data_base

If everything runs smoothly then it should be done.

  • If it does not work, try one of the following: python setup.py install --home=.

python setup.py install --user

If you still have problems, contact the author for help

Clean installation

./clean

this operation will remove:

build and dists, which are generated upon compilation

results in the examples/tests_basic directory, including dat/ovf files and figures