Copyright (C) 2002-2018 Andrea Mignone. See CONTRIBUTORS.
PLUTO is Godunov-type code for astrophysical fluid dynamics supporting several modules and algorithms. This is version 4.3 (June 2018) of the code, with a few updates and bug fixes by the Black Hole Group.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
- C compiler (gcc works fine),
- Python (v. 2.0 or higher)
Optionals
- MPI (for parallel runs)
- Chombo lib (for AMR)
- libpng to produce on-the-fly graphics.
There's no configure.sh
; once you've unpacked the distribution,
- define the shell variable
PLUTO_DIR
as the main PLUTO directory, e.g., if you are using tcsh:
setenv PLUTO_DIR "/home/user/PLUTO
if you're using bash:
export PLUTO_DIR="/Users/ovidiu/PLUTO"
- select a working dir anywhere on your hard disk; at the command prompt, just type
python $PLUTO_DIR/setup.py
configure your problem and select makefile;
-
edit your
init.c
andpluto.ini
to assign initial conditions and problem specific information; -
compile with
make
or gmake
;
- run with
./pluto
See the documentation in Doc/
for more information.
Have fun!
If you encounter problems during the previous steps, or have any other question regarding the code, please send an e-mail to mignone@ph.unito.it
.