Skip to content

Latest commit

 

History

History
50 lines (42 loc) · 2.64 KB

README.md

File metadata and controls

50 lines (42 loc) · 2.64 KB
 	  ▄████  ▄▄▄        ██████  ▒█████   ██▓     ██▓ ███▄    █ ▓█████
	 ██▒ ▀█▒▒████▄    ▒██    ▒ ▒██▒  ██▒▓██▒    ▓██▒ ██ ▀█   █ ▓█   ▀
	▒██░▄▄▄░▒██  ▀█▄  ░ ▓██▄   ▒██░  ██▒▒██░    ▒██▒▓██  ▀█ ██▒▒███   
	░▓█  ██▓░██▄▄▄▄██   ▒   ██▒▒██   ██░▒██░    ░██░▓██▒  ▐▌██▒▒▓█  ▄
	░▒▓███▀▒ ▓█   ▓██▒▒██████▒▒░ ████▓▒░░██████▒░██░▒██░   ▓██░░▒████▒
	 ░▒   ▒  ▒▒   ▓▒█░▒ ▒▓▒ ▒ ░░ ▒░▒░▒░ ░ ▒░▓  ░░▓  ░ ▒░   ▒ ▒ ░░ ▒░ ░
	  ░   ░   ▒   ▒▒ ░░ ░▒  ░ ░  ░ ▒ ▒░ ░ ░ ▒  ░ ▒ ░░ ░░   ░ ▒░ ░ ░  ░
	░ ░   ░   ░   ▒   ░  ░  ░  ░ ░ ░ ▒    ░ ░    ▒ ░   ░   ░ ░    ░   
	      ░       ░  ░      ░      ░ ░      ░  ░ ░           ░    ░  ░

Gasoline: Particle Hydrodynamics Have Never Been Smoother

Build Status

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.

Quickstart

  • 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 to Makefile and edit it to enable the feature you want:
	cp Makefile.default Makefile
  • Compile the code with make ARCH, where ARCH 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

License

Gasoline is released under a GNU Public License v2. Please take a look at LICENSE.md for the terms.