Skip to main content

A package for performing spin-phonon coupling calculations with openMOLCAS, VASP, and Gaussian

Project description

spin_phonon_suite

spin_phonon_suite is a package for performing spin-phonon coupling calculations with openMOLCAS and Gaussian

Installation via pip

Install spin_phonon_suite using pip (if using a shared machine, add the --user argument after install)

pip install spin_phonon_suite

Updating

Update the code using pip (if using a shared machine, add the --user argument after install)

pip install spin_phonon_suite --upgrade

Installation with pip editable install

Only do this if you are developing (i.e. changing) the code.

Clone a copy of this repository, preferably while within a directory called git

mkdir -p git; cd git
git clone https://gitlab.com/chilton-group/spin_phonon_suite

Navigate to the package directory

cd spin_phonon_suite/packages

and install the package in editable mode (if using a shared machine, add the --user argument after install)

pip install -e .

When you're done developing (i.e. your changes have been merged to the master), or if you just want to use the current release version of the package, uninstall using pip

pip uninstall spin_phonon_suite

and follow the Installation via pip instructions above.

Usage

The spin_phonon_suite command line interface can be invoked with

spin_phonon_suite -h

which prints a list of available subprograms.

Alternatively, the individual submodules can be imported into a python program or script as per usual.

Building a .whl file (Advanced)

Only do this if you are told to.

To build a copy of the spin_phonon_suite .whl file, move to the package directory.

Now run

./build_binaries.sh

Then install the .whl file with pip (if using a shared machine, add the --user argument after install)

pip install dist/*.whl

Documentation

The documentation for this package is hosted by gitlab, and is automatically generated whenever new code is committed to the main branch. The automatic generation of this documentation relies on a common layout for comments and docstrings within the code, see contributing for more information.

Development

Before making changes to this repository, please follow the steps outlined in the Chilton group wiki.

Bugs

If you believe you have a bug, please check that you are using the most up to date version of the code.

If that does not fix the problem, please create an issue on GitLab detailing the following:

  • The commands you entered
  • The error message

Remember to simplify the problem as much as possible in order to provide a minimum working example, e.g. an example for a small molecule rather than one with 100000 atoms.

Then, look at the code, try and figure out what you think is wrong if possible, and include this in your issue.

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

spin_phonon_suite-1.16.0.tar.gz (45.5 kB view details)

Uploaded Source

Built Distribution

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

spin_phonon_suite-1.16.0-py3-none-any.whl (45.9 kB view details)

Uploaded Python 3

File details

Details for the file spin_phonon_suite-1.16.0.tar.gz.

File metadata

  • Download URL: spin_phonon_suite-1.16.0.tar.gz
  • Upload date:
  • Size: 45.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for spin_phonon_suite-1.16.0.tar.gz
Algorithm Hash digest
SHA256 6b403c519830a7676b46e1c75f85fb4190b490632019cd4dd2405e8971967936
MD5 35e2ce1c39f9c73d222920ad78efce52
BLAKE2b-256 23c3494d770e3859077befb665e494d23208b3720bc465d922136325605f1c5f

See more details on using hashes here.

File details

Details for the file spin_phonon_suite-1.16.0-py3-none-any.whl.

File metadata

File hashes

Hashes for spin_phonon_suite-1.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3960640527d3bdd6010b7df4420b7bc2db7a7bb10c05d40502eb4327aecd4029
MD5 ad82a2259c90f923d45e2c2ac84649f9
BLAKE2b-256 9d5fdd5baaf94c9a4a6e92e54b3faa316781d04baaa524c6f3b107494f8585a4

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