Skip to content
The Dark Sage semi-analytic model
Branch: astevens-disc
Clone or download
Pull request Compare This branch is 185 commits ahead, 129 commits behind darrencroton:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

ascl:1706.004 Build Status

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. Please use the official logo in talks when presenting results from the model.

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 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}
./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}
mpirun -np 8 ./darksage input/millennium.par

Queries, comments, and concerns can be emailed to Adam Stevens:

You can’t perform that action at this time.