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 3.10.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). It is however recommended to have at least numpy installed first (pip install 'numpy<2.0').

  1. numpy-1.0.4 or higher, but smaller than 2.0.0:

    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