▄████ ▄▄▄ ██████ ▒█████ ██▓ ██▓ ███▄ █ ▓█████
██▒ ▀█▒▒████▄ ▒██ ▒ ▒██▒ ██▒▓██▒ ▓██▒ ██ ▀█ █ ▓█ ▀
▒██░▄▄▄░▒██ ▀█▄ ░ ▓██▄ ▒██░ ██▒▒██░ ▒██▒▓██ ▀█ ██▒▒███
░▓█ ██▓░██▄▄▄▄██ ▒ ██▒▒██ ██░▒██░ ░██░▓██▒ ▐▌██▒▒▓█ ▄
░▒▓███▀▒ ▓█ ▓██▒▒██████▒▒░ ████▓▒░░██████▒░██░▒██░ ▓██░░▒████▒
░▒ ▒ ▒▒ ▓▒█░▒ ▒▓▒ ▒ ░░ ▒░▒░▒░ ░ ▒░▓ ░░▓ ░ ▒░ ▒ ▒ ░░ ▒░ ░
░ ░ ▒ ▒▒ ░░ ░▒ ░ ░ ░ ▒ ▒░ ░ ░ ▒ ░ ▒ ░░ ░░ ░ ▒░ ░ ░ ░
░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ▒ ░ ░ ▒ ░ ░ ░ ░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
Gasoline is a modern TREESPH code for solving the equations of gravity and hydrodynamics in astrophysical problems. To use the code, please check out the home page or the documentation on the wiki. If you run into a problem, please open an issue.
- Pull gasoline and the MDL helper library:
git clone [email protected]:N-BodyShop/mdl.git
git clone [email protected]:N-BodyShop/gasoline.git
- Copy the
Makefile.default
toMakefile
and edit it to enable the feature you want:
cp Makefile.default Makefile
- Compile the code with
make ARCH
, whereARCH
is the architecture you want to use (for example, basic MPI):
make mpi
- Run the code on for your simulation, using the parameter file as the argument (again, with MPI as the example):
mpirun -np 1024 /path/to/gasoline_repo/gasoline simulation.param
Gasoline is released under a GNU Public License v2. Please take a look at LICENSE.md for the terms.