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 :
Python 3.10.x:
pip:
a C compiler like gcc:
the Gnu Scientific Library (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'
).
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:
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)