Installation

For best performance and support for distributed memory systems, PMMoTo requires a working MPI environment.

You may install OpenMPI or MPICH, depending on your system and preference:

  • On macOS (with Homebrew):

    brew install open-mpi
    # or
    brew install mpich
    
  • On Ubuntu/Debian:

    sudo apt install libopenmpi-dev openmpi-bin
    # or
    sudo apt install libmpich-dev mpich
    

Once MPI is installed, install PMMoTo from PyPI:

pip install pmmoto

If you’re installing from source for the first time:

git clone https://github.com/tmweigand/pmmoto.git
cd pmmoto
pip install -e .

To visualize PMMoTo’s .vti and .vtp output files, install ParaView.