This is the official EFTCAMB developers git repository
Switch branches/tags
Nothing to show
Clone or download
mraveri Merge pull request #57 from simonepeirone/master
Stability Sampler Implemented
Latest commit fddb869 Nov 13, 2017
Permalink
Failed to load latest commit information.
eftcamb Fixed small Horava interface problem Sep 26, 2017
eftcamb_apps
eftcamb_doc
eftcamb_examples
eftcamb_test
pycamb Updated CAMB to Jan17. Updated legacy accordingly. Mar 29, 2017
python Updated CAMB to Jan17. Updated legacy accordingly. Mar 29, 2017
tests Updated CAMB to Jan17. Updated legacy accordingly. Mar 29, 2017
.gitignore
.gitmodules
.travis.yml
HighLExtrapTemplate_lenspotentialCls.dat Reset to stable version Aug 6, 2016
Makefile
Makefile_main Updated CAMB to Jan17. Updated legacy accordingly. Mar 29, 2017
Matrix_utils.F90
SeparableBispectrum.F90 Updated camb to start full rewriting of EFTCAMB Aug 7, 2016
bessels.f90
camb.f90
camb_python.f90
cmbmain.f90
constants.f90 Updated CAMB to Jan17. Updated legacy accordingly. Mar 29, 2017
cosmorec.F90
equations.f90
equations_EFT.f90
equations_ppf.f90 Reset to stable version Aug 6, 2016
halofit_ppf.f90 Updated CAMB to Jan17. Updated legacy accordingly. Mar 29, 2017
hyrec.F90
inidriver.F90 Some clean up of test results Jan 21, 2017
inifile.f90
lensing.f90
modules.f90
params.ini
params_EFT.ini
power_tilt.f90 Updated camb to start full rewriting of EFTCAMB Aug 7, 2016
readme.html
readme.md
recfast.f90
reionization.f90
sigma8.f90
subroutines.f90
tester.f90
utils.F90
writefits.f90

readme.md

EFTCAMB

Build Status

This folder contains the EFTCAMB code.

1. EFTCAMB Requirements:

Compiling EFTCAMB requires a modern fortran compiler capable of handeling F2008 features. These includes:

ifort (tested with v>15.0)
gcc/gfortran (tested with v>6.0)

To use other parts of the code, like the test or documentation parts other requirements have to be met. These include a fully fledged python installation. We warmly suggest to install a bundled package like (https://www.continuum.io/downloads).

A docker with all the required libraries is available at dockerhub.

2. Installation procedure:

To compile the EFTCAMB code issue the following command:

make eftcamb

that will result in the executable program camb that can be run as usual.

3. Examples:

The EFTCAMB distribution contains a folder called eftcamb_examples that can be used to produce some example results.

To do so just go to the folder and issue:

make examples

The code will compile EFTCAMB, run it for a set of examples parameter files and plot the resulting spectra. All results can be found in the folder results.

The example folder is an example of an EFTCAMB parameter package. You can copy the folder and replace the parameter files to produce single purpose packages to easily produce and plot results.

4. Documentation:

We provide a set of notes that contain all the details and formulas of the EFTCAMB implementation:

The EFTCAMB source files documentation is automatically built at any modification of the code and can be found at this link.

5. Citing this work:

If you use the EFTCAMB/EFTCosmoMC package, please refer the original CAMB/ CosmoMC paper and ours:

This is the usual, fair way of giving credit to contributors to a scientific result. In addition, it helps us justify our effort in developing the EFTCAMB code as an academic undertaking.

6. Licence Information:

EFTCAMB is a modification of the CAMB code. The code part of CAMB that is not modified is copyrighted by the CAMB authors and released under their licence.

For the part of code that constitutes EFTCAMB see the LICENSE file in eftcamb/LICENSE.

7. Build system target:

In addition to CAMB makefile targets EFTCAMB comes with the additional:

  • eftcamb: to compile EFTCAMB;
  • eftcamb_apps: to compile EFTCAMB applications like the EFTCAMB benchmarker;
  • eftcamb_dep: to automatically sort out EFTCAMB source file dependencies;
  • eftcamb_doc: to build the EFTCAMB automatic documentation;
  • intel_profile: to compile EFTCAMB with the options that allow profiling with the VTUNE profiler;
  • profile: to compile EFTCAMB with the options that allow general profiling;

8. EFTCAMB source files:

In the folder eftcamb all the source files for EFTCAMB are stored. In an effort to have small and readable files the the naming convention allows to have an intuition of the hierarchy of the code from alphabetical order of files.

For this reason we use the following convention for the prefixes:

  • 01_ compile time utilities;
  • 02_ pure and general purpose algorithms;
  • 03_ EFTCAMB cache containing the storage for all cosmological quantities of interest;
  • 04_ general parametrizations for 1D functions;
  • 05_ general parametrizations for 2D functions;
  • 06_ abstract implementation of EFT models;
  • 07_ implementation of pure EFT models;
  • 08_ implementation of alternative EFT parametrizations;
  • 09_ implementation of designer mapping EFT models;
  • 10_ implementation of full mapping EFT models;
  • 11_ general EFT algorithms (RGR, stability, init);

If you modify or add one or more files make sure to issue make eftcamb_dep before compiling the code to ensure that all dependencies are properly sorted out and built.