These codes are written by Samuel Leach. Contact s.m.leach@sussex.ac.uk with any questions, comments, bug reports etc. Related papers: CMB constraints: astro-ph/0306305 Samuel Leach and Andrew Liddle hep-ph/0302150 V. Barger, Hye-Sung Lee and Danny Marfatia astro-ph/0207213 Samuel Leach and Andrew Liddle Power spectra expressions: astro-ph/0202094 Samuel Leach, Andrew Liddle, Jérôme Martin and Dominik Schwarz. Horizon flow parameter definitions: astro-ph/0106020
Dominik J. Schwarz, Cesar A. Terrero-Escalante and Alberto A. Garcia Software that you will need: An F90 compiler. If you are a linux user then a
free F90 compiler is available from Intel at Installation instructions 1) Extract the files using for example: gunzip CAMB_May03.tar.gz Note: the makefile from CAMB_INFLATION.tar.gz has replaced
the makefile from CAMB_Jan02.tar.gz. 2) Make camb using: make camb 3) Make a tester program using make camb_tester You should now have installed CAMB to use the inflation_inidriver.F90 driver file, and the power_inflation.f90 power spectrum module. You may need to make some minor modifcations to the makefile depending on the system that you are using eg. optimisation compilation flags typically speed things up greatly. Running CAMB There are two ways to check whether CAMB is working. Either use camb inflation_params.ini The inflation_params.ini ascii file contains all the inflationary and cosmological parameters as well as the CAMB options. camb_tester (which requires CAMB to be already compiled) uses some default inflationary parameters (corresponding to the figure at the top of this page) in the program test_camb_module.f90. This program uses a module, camb_module.f90, which can be used to generate an inflation_params.ini parameter file, allowing CAMB to be called as a subroutine. The default cosmological parameters are for a lambda CDM model. Some hints
|