Skip to main content

Build Status Coverage PRs welcome DOI conda release

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.org/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

https://groups.google.com/group/mdnalysis-discussion

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].

[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

Metadata

Release files for pmda 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pmda 0.3.0
File Size Uploaded
pmda-0.3.0.tar.gz 48.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pmda 0.3.0
File Interpreter ABI Platform
pmda-0.3.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 95.8 kB

Release files / pmda-0.3.0.tar.gz

Download URL pmda-0.3.0.tar.gz
Size 48.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a5c33f43184aa26d0a46d15a6c8be3f08aa0274c5ce8b478eb372169846f972c
BLAKE2b-256 checksum
How to use checksums
429fccae15044472677b413fa35514e53914af0a8d6c256710bc98a198f2435b
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pmda-0.3.0-py2.py3-none-any.whl

Download URL pmda-0.3.0-py2.py3-none-any.whl
Size 47.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
29dd2254284f3ccfcfb05bf91f29430163bc9115bbffc463d8bca5586c25907d
BLAKE2b-256 checksum
How to use checksums
0301bd075d3285be8947c6df38b547bcbc8f6929de14088b2553bf83694b0b19
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page