Skip to content

Christovis/ecosmog-cvg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECOSMOG - cubic vector Galileon

Build Status License: MIT arXiv

A open-source N-body simulation code for dark-matter only cosmological structure formation for cubic vector Galileon model of the generalised Proca theory (GP) gravity theory. It is implemented in a modified version of the ECOSMOG which is based on RAMSES. It uses adaptive mesh refinement and adaptive time integration to simulate self-gravitating fluids and is massively parallelizable as it makes use of the MPI communication library.

The code has multiple gravitational solvers to choose from, for which one needs to set corresponding values for the four variables extradof, extradof2, extradof3, and extradof4 in namelist/cosmo.nml (default values for these are all .false.) using the following rule:

Model extradof extradof2 extradof3 extradof4
LCDM False False False False
QCDM False True False False
Linear w/o B False True True False
Linear w B False True True True
Non-linear w/o B True True False False
Non-linear w B True True False True

Build/Install

The code has ben tested and run on COSMA, which uses CentOS 7.6 with a 3.10 Linux kernel.

Prerequisites:

  • A Fortran compiler
  • CMake
  • Intel MPI (2018)
  • IntelComp (2018)

To build the Fortran BMI bindings from source with cmake, run

$ cd ./src/bin
$ make

You can quickly test your installation by executing:

$ cd bin
$ make
$ cd ..
$ bin/ramses1d namelist/tube1d.nml

Initial condition can be generated with 2LPTic from a power spectrum generated with CAMB.

The simulation results can be analysed through Astrild.