Skip to content
Giovanni Picogna edited this page Sep 5, 2022 · 4 revisions

Welcome to the PLUTO Chemistry module wiki!

Prerequisites:

PRIZMO - https://bitbucket.org/tgrassi/prizmo_test/

for the instructions how to set it up check out: https://bitbucket.org/tgrassi/prizmo_test/src/master/README.md


Steps to run a PLUTO+PRIZMO test case:

  • compile PRIZMO
  • copy the fortran .f90 and .f files from the main PRIZMO directory to the local directory
  • copy the runtime_data directory from the main PRIZMO directory to the local directory
  • add in the makefile the following line:
   include $(SRC)/Chemistry/makefile
  • add in the definitions.h the following line:
   #define  CHEMISTRY     YES
  • (optional) if you want to evolve only the chemistry keeping fix the hydro to obtain more stable initial conditions, add in the definitions.h file the following line:
   #define  DISABLE_HYDRO YES
  • use the Darwin.mpicc.defs config file or add to your config file the following lines (if you have ifort):
   FC       = ifort
   FFLAGS   = -O3 -xHost
  • compile
   make
  • run (in serial)
   ./pluto
  • run in parallel (i.e. on 8 cores)
   mpirun -np 8 ./pluto

Clone this wiki locally