User Tools

Site Tools


howto:cosmomc

COSMOMC at CHPC

From its website: “CosmoMC is a Fortran-based Markov-Chain Monte-Carlo (MCMC) engine for exploring cosmological parameter space, together with Fortran and python code for analysing Monte-Carlo samples and importance sampling (plus a suite of scripts for building grids of runs, plotting and presenting results). It can also be compiled as a generic sampler without using any cosmology codes.”

Contents:

Compiling COSMOMC

NB! COSMOMC is currently being tested on the new cluster. The most recent version currently able to successfully compile (with CFITSIO-3.37.2 and CLIK-1.0) is February 2015.

Paths to CFITSIO and PLC (CLIK) can be found under /apps/chpc/astro/utils/intel/v16-openmpi188/, along with that for GSL if required.

The Intel 2016 modules to add to your environment are chpc/parallel_studio_xe/16.0.1/2016.1.150 and chpc/openmpi/1.8.8/intel-16.0.1

My .bashrc file is equipped with the following:

export cfitsio=/apps/chpc/astro/utils/intel/v16-openmpi188/cfitsio-3.37.2-build
export PLANCKLIKE=cliklike
export CLIKPATH=/apps/chpc/astro/utils/intel/v16-openmpi188/plc-1.0
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CLIKPATH/lib
export LD_LIBRARY_PATH=/apps/chpc/astro/utils/intel/v16-openmpi188/cfitsio-3.37.2-build/lib:$LD_LIBRARY_PATH

Running COSMOMC

Under construction.

/var/www/wiki/data/pages/howto/cosmomc.txt · Last modified: 2016/05/12 13:58 by sfebruary