Parallel Molecular Dynamics Analysis tools
Project description
Ready to use analysis and buildings blocks to write parallel analysis algorithms using MDAnalysis with dask.
For example, run a rmsd analysis on all available cores:
import MDAnalysis as mda
from pmda import rms
u = mda.Universe(top, traj)
ref = mda.Universe(top, traj)
rmsd_ana = rms.RMSD(u.atoms, ref.atoms).run(n_jobs=-1)
print(rmsd_ana.rmsd)
By default PMDA use the multiprocessing scheduler of dask. This is sufficient if you want to run your simulation on a single machine. If your analysis takes a very long time (>30 min) you can also spread it to several nodes using the distributed scheduler. To do this you can pass a scheduler keyword argument to the run method.
To write your own parallel algorithms you can subclass the pmda.parallel.ParallelAnalysisBase class.
License and source code
PMDA is released under the GNU General Public License, version 2 (see the files AUTHORS and LICENSE for details).
Source code is available in the public GitHub repository https://github.com/MDAnalysis/pmda/.
Installation
Install a release with pip
The latest release is available from https://pypi-hypernode.com/project/pmda/ and can be installed with pip
pip install --upgrade pmda
Development version from source
To install the latest development version from source, run
git clone git@github.com:MDAnalysis/pmda.git
cd pmda
python setup.py install
Getting help
Help is also available through the MDAnalysis mailing list
Please report bugs and feature requests for PMDA through the Issue Tracker.
Contributing
PMDA welcomes new contributions. Please drop by the MDAnalysis developer mailing list to discuss and ask questions.
To contribute code, submit a pull request against the master branch in the PMDA repository.
Citation
If you use PMDA in published work please cite [Fan2019].
Shujie Fan, Max Linke, Ioannis Paraskevakos, Richard J. Gowers, Michael Gecht, and Oliver Beckstein. PMDA — Parallel Molecular Dynamics Analysis. In Chris Calloway, David Lippa, Dillon Niederhut, and David Shupe, editors, Proceedings of the 18th Python in Science Conference, pages 134-142, Austin, TX, 2019. doi: 10.25080/Majora-7ddc1dd1-013
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pmda-0.3.0.tar.gz
.
File metadata
- Download URL: pmda-0.3.0.tar.gz
- Upload date:
- Size: 48.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5c33f43184aa26d0a46d15a6c8be3f08aa0274c5ce8b478eb372169846f972c |
|
MD5 | f2595e7279ec690265763739dbf8f81e |
|
BLAKE2b-256 | 429fccae15044472677b413fa35514e53914af0a8d6c256710bc98a198f2435b |
File details
Details for the file pmda-0.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pmda-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 47.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29dd2254284f3ccfcfb05bf91f29430163bc9115bbffc463d8bca5586c25907d |
|
MD5 | 361a1e155676bbf4653bbc3327cfcd76 |
|
BLAKE2b-256 | 0301bd075d3285be8947c6df38b547bcbc8f6929de14088b2553bf83694b0b19 |