|
27 | 27 | PySAGES (Python Suite for Advanced General Ensemble Simulations) is a Python
|
28 | 28 | implementation of [SSAGES](https://ssagesproject.github.io) with support for GPUs.
|
29 | 29 |
|
30 |
| -**NOTICE**: This is in early stages of development. Expect breaking changes. |
31 |
| - |
32 | 30 | ## Installation
|
33 | 31 |
|
34 |
| -Currently, there is only support for |
35 |
| -[HOOMD-blue](https://glotzerlab.engin.umich.edu/hoomd-blue) and |
36 |
| -[OpenMM](http://openmm.org/), but gradual support for other molecular dynamics engines is |
37 |
| -planned (for instance, for all engines already supported by the original SSAGES). |
| 32 | +PySAGES currently supports [HOOMD-blue](https://glotzerlab.engin.umich.edu/hoomd-blue), |
| 33 | +[LAMMPS](https://www.lammps.org), [ASE](https://wiki.fysik.dtu.dk/ase/index.html), and |
| 34 | +[OpenMM](https://openmm.org). We plan to add support for other engines that have a python |
| 35 | +API, including those supported by the original SSAGES. |
38 | 36 |
|
39 |
| -You first need to install one of the following plugins depending on your molecular |
40 |
| -dynamics engine: |
| 37 | +Before installing PySAGES, you need to install one of the following plugins, depending on |
| 38 | +your molecular dynamics engine of choice: |
41 | 39 |
|
42 |
| -- For HOOMD-blue visit [HOOMD DLPack Plugin](https://github.com/SSAGESLabs/hoomd-dlext). |
43 |
| -- For OpenMM go to [OpenMM DLPack Plugin](https://github.com/SSAGESLabs/openmm-dlext). |
| 40 | +- [DLPack Plugin for HOOMD-blue](https://github.com/SSAGESLabs/hoomd-dlext) |
| 41 | +- [DLPack Plugin for OpenMM](https://github.com/SSAGESLabs/openmm-dlext) |
| 42 | +- [DLPack Plugin for LAMMPS](https://github.com/SSAGESLabs/lammps-dlext) |
| 43 | +- No plugin needed for ASE |
44 | 44 |
|
45 |
| -PySAGES also depends on [JAX](https://github.com/google/jax/), follow their installation |
46 |
| -guide to set it up. _NOTE:_ make sure you have jaxlib installed before using PySAGES. |
47 |
| -Depending on your local setup, you will have to install the jaxlib CPU version or the CUDA compatible flavor. |
| 45 | +You also need to install [JAX](https://github.com/google/jax), a library for |
| 46 | +high-performance numerical computing. Follow their installation guide and make sure you |
| 47 | +have it installed before using PySAGES. Depending on your local setup, you may need |
| 48 | +to install the CPU version or the CUDA compatible version. |
48 | 49 |
|
49 |
| -To test GPU support HOOMD-blue, HOOMD-dlext and JAX need to be built or installed with |
50 |
| -CUDA support. |
| 50 | +For GPU support, JAX and any backend (HOOMD-blue, LAMMPS, or OpenMM) need to be built or |
| 51 | +installed with CUDA support. |
51 | 52 |
|
52 |
| -Our installation tutorial on Google Colab enable you to see how PySAGES, |
53 |
| -HOOMD-blue and OpenMM can be built and installed into such environment. |
54 |
| -[](https://colab.research.google.com/github/SSAGESLabs/PySAGES/blob/main/examples/Install_PySAGES_Environment.ipynb) |
| 53 | +You can follow our installation tutorial on Google Colab to see how PySAGES, HOOMD-blue, |
| 54 | +and OpenMM can be built and installed in such an environment. |
| 55 | +[![Colab Badge]][Install Notebook] |
55 | 56 |
|
56 | 57 | ## Usage
|
57 | 58 |
|
58 |
| -PySAGES provide a straightforward interface to setup Collective Variables and Enhanced |
59 |
| -Sampling methods in your MD simulations. See the [documentation](https://pysages.readthedocs.io/en/latest/) to learn more. |
| 59 | +PySAGES provides a straightforward interface to set up collective variables and enhanced |
| 60 | +sampling methods in your MD simulations. See the |
| 61 | +[documentation](https://pysages.readthedocs.io/en/latest) to learn more. |
60 | 62 |
|
61 |
| -We provide ready-to-go examples for common methods. |
62 |
| -Checkout out the [examples](examples/) subfolder to look at different script and notebook examples. |
63 |
| -These include pre-set simulations and a tutorial on how to install PySAGES along with the supported MD engines. |
| 63 | +We provide ready-to-go examples for common methods. Check out the [examples](examples/) |
| 64 | +subfolder to look at different script and notebook examples. These include pre-set |
| 65 | +simulations and a tutorial on how to install PySAGES along with the supported MD engines. |
64 | 66 |
|
65 | 67 | ## Development
|
66 | 68 |
|
67 |
| -We believe in good software engineering and collaboration. |
68 |
| -As an open-source software we welcome all contributions. |
69 |
| -To ease collaboration we use [trunk](https://trunk.io) as a development tool free for open-source software. |
70 |
| -This includes version-checked linters that can be run automatically. |
71 |
| -We ship a launcher for trunk with this repo `./trunk`, no installation required. |
72 |
| -For details about how to use `./trunk fmt` to format existing code into this style and `./trunk check` to verify a consistent code style, check out the trunk documentation [page](https://docs.trunk.io/docs). |
| 69 | +We believe in good software engineering and collaboration. We welcome all contributions. |
| 70 | +To ease collaboration, we use [trunk](https://trunk.io) as a development tool free for |
| 71 | +open-source software. This includes version-checked linters that can be run automatically. |
| 72 | +We ship a launcher for trunk with this repo: `./trunk`, no installation required. For |
| 73 | +details about how to use `./trunk fmt` to format existing code into this style and |
| 74 | +`./trunk check` to verify a consistent code style, check out the [trunk documentation |
| 75 | +page](https://docs.trunk.io/docs). |
| 76 | + |
| 77 | +<!-- References --> |
| 78 | + |
| 79 | +[Colab Badge]: https://colab.research.google.com/assets/colab-badge.svg |
| 80 | +[Install Notebook]: https://colab.research.google.com/github/SSAGESLabs/PySAGES/blob/main/examples/Install_PySAGES_Environment.ipynb |
0 commit comments