PrerequisiteΒΆ
pNbody is fully based on standards tools. Most of them are installed by default on a linux system.
The basic module of pNbody needs :
Python 3.10.x:
pip:
a C compiler like gcc:
the Gnu Scientific Library (GSL):
The core of 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').
numpy-1.0.4 or higher, but smaller than 2.0.0:
Pillow 8.4.0 or higher:
scipy 1.4.1 or higher:
astropy:
tqdm:
setuptools:
wheel:
versioneer:
IPython:
For display purposes, those additional modules will be required:
matplotlib
PyQt5
tkinter (could replace PyQt5)
For the parallel capabilities, an mpi distribution is needed (ex. openmpi) as well as the additional python mpi wrapping:
mpi4py:
In order to convert movies in standard format (gif or mpeg), the two following applications are needed :
convert (imagemagick)
mencoder (mplayer)