PrerequisteΒΆ

pNbody is fully based on standards tools. Most of them are installed by default on a linux system.

The basic module of pNbody needs :

  1. Python 2.8.x:

    http://www.python.org

  2. pip:

    https://pypi.org/project/pip/

  3. a C compiler like gcc:

    http://gcc.gnu.org/

  4. the Gnu Scientific Library (GSL):

    https://www.gnu.org/software/gsl/

pNbody uses the following python modules (if missing, those modules will be automatically installed):

  1. numpy-1.0.4 or higher:

    http://numpy.scipy.org/

  2. Pillow 8.4.0 or higher:

    https://pypi.org/project/Pillow/

  3. scipy 1.4.1 or higher:

    http://www.scipy.org/

  4. astropy:

    https://www.astropy.org/

  5. tqdm:

    https://github.com/tqdm/tqdm

For the parallel capabilities, an mpi distribution is needed (ex. openmpi) as well as the additional python mpi wrapping:

  1. mpi4py:

In order to convert movies in standard format (gif or mpeg), the two following applications are needed :

  1. convert (imagemagick)

    http://www.imagemagick.org/script/index.php

  2. mencoder (mplayer)

    http://www.mplayerhq.hu/design7/news.html