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:
that will result in the executable program
camb that can be run as usual.
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:
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
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.
We provide a set of notes that contain all the details and formulas of the EFTCAMB implementation:
- EFTCAMB/EFTCosmoMC: Numerical Notes v3.0
Bin Hu, Marco Raveri, Noemi Frusciante, Alessandra Silvestri, arXiv:1405.3590 [astro-ph.CO]
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:
Effective Field Theory of Cosmic Acceleration: constraining dark energy with CMB data
Marco Raveri, Bin Hu, Noemi Frusciante, Alessandra Silvestri,
arXiv:1405.1022 [astro-ph.CO] Phys.Rev. D90 (2014) 043513
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
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.