Skip to main content

Parallel Molecular Analysis Tools

Project description

==============================================
PMDA - Parallel Molecular Dynamics Analysis
==============================================

|build| |cov|

:Release: |release|
:Date: |today|

Ready to use analysis and buildings blocks to write parallel analysis algorithms
using MDAnalysis_ with dask_.

.. warning::
This project is **alpha software** and not API stable. It will and
should rapidly evolve to test different approaches to implementing
parallel analysis in a seamless and intuitive fashion.


For example to running a rmsd analysis on all available cores:

.. code:: python

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 is using 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 can pass a `scheduler` keyword
argument to the `run` method.

To write your own parallel algorithms you can subclass the
`ParallelAnalysisBase` class.


Installation
============

To install the latest development version from source, run

.. code-block:: sh

git clone git@github.com:MDAnalysis/pmda.git
cd pmda
python setup.py install

Getting help
============

For help using this library, please drop by the `Github Issue tracker`__

.. _issuetracker: https://github.com/MDAnalysis/pmda/issues

__ issuetracker_

.. _MDAnalysis: https://www.mdanalysis.org
.. _dask: https://dask.pydata.org/en/latest/
.. _distributed: https://distributed.readthedocs.io/

.. |build| image:: https://travis-ci.org/MDAnalysis/pmda.svg?branch=master
:alt: Build Status
:target: https://travis-ci.org/MDAnalysis/pmda

.. |cov| image:: https://codecov.io/gh/MDAnalysis/pmda/branch/master/graph/badge.svg
:alt: Coverage
:target: https://codecov.io/gh/MDAnalysis/pmda


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

pmda-0.1.0rc1.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

pmda-0.1.0rc1-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file pmda-0.1.0rc1.tar.gz.

File metadata

  • Download URL: pmda-0.1.0rc1.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pmda-0.1.0rc1.tar.gz
Algorithm Hash digest
SHA256 15d62f107834e1ee9164a776eb1e0f62a71a05b4351c3a6af6cd4815da1a4f76
MD5 c571f9aef9301baa91a8ccd62156db43
BLAKE2b-256 5c770fa810cd3d336d865082e1ac6edd626aac5bb786a36f77da5a4c5ad8cc0e

See more details on using hashes here.

File details

Details for the file pmda-0.1.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for pmda-0.1.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 b23c0631341832dd05d033db5abe055a32d60dd857342d14f6f90c8879270b67
MD5 6efb736ba6b74be623b81eb527cd30b9
BLAKE2b-256 66e6f95a6d68ee146a678167c072415ac48ab3275a7bd20d7d8eb383cada309d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page