The Dark Sage semi-analytic model
Switch branches/tags
Clone or download
Pull request Compare This branch is 162 commits ahead, 129 commits behind darrencroton:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
code
extra/CoolFunctions
input
output
.gitignore
.travis.yml
Makefile
README.md
test.py
validate_TAO.py

README.md

ascl:1706.004 Build Status

Dark Sage

DARK SAGE is a semi-analytic model of galaxy formation, focussed on detailing the structure and evolution of galaxies' discs. The code-base is an extension of SAGE (Semi-Analytic Galaxy Evolution). The model is described in full in the paper by Stevens, Croton & Mutch (2016). Please cite this paper whenever using this model (or an adaptation of it). Updates to the model have been presented in Stevens & Brown (2017) and Stevens et al. (2018). DARK SAGE is also listed on the Astrophysics Source Code Library.

DARK SAGE will run on any N-body simulation whose trees are organised in a supported format and contain a minimum set of basic halo properties. Galaxy formation models built using DARK SAGE on the Millennium simulation can be downloaded at the Theoretical Astrophysical Observatory (TAO).

The code-base, written in C, should function as is, provided you have GSL installed. Simply install with make. Once installed, please run the test script with python test.py to make sure everything is working correctly.

To run DARK SAGE in serial, you need only point to a parameter file:
./darksage {path}/{parameter file name}
e.g.:
./darksage input/millennium.par

DARK SAGE can be run with MPI, but only in an improper hacky way at the moment. If you wish to try this, you shouldn't need to change anything in the Makefile if it's already running in serial. Each processor will work on a separate merger tree file. Simply run as:
mpirun -np {number of processors} ./darksage {path}/{parameter file name}
e.g.:
mpirun -np 8 ./darksage input/millennium.par

Queries, comments, and concerns can be emailed to Adam Stevens: adam.stevens@uwa.edu.au