Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Initial Conditions and Parameter File
Gasoline requires a pair of files to begin a simulation: an initial condition which contains the initial properties of the gas/star/dark matter particles to be evolved, and a parameter file that configures the simulation options. Parameters can also be passed on the command line, but parameter files are preferred for better reproducibility. In the simplest case, you can run gasoline with the parameter file as the first command line argument:
Generally, you will also want to run in parallel, using mpirun and 64 cores, for example:
mpirun -np 64 ./gasoline simulation.param
If you are running with metal cooling, you will need to copy the file
cooltable_xdr, which contains the pre-calculated cooling rates, to your run directory.
You can get some example intial conditions and parameter files from the wiki page on Initial Conditions.