CosmoMC

type access

  • Operating System:

  • Terminal:

  • Shell:

  • Editor:

  • Package Manager:

  • Programming Language:

  • Database:

  • Utility:

  • Extensions:

  • Executable: cosmomc, camb, getdist

type access

  • Operating System:

  • Terminal:

  • Shell:

  • Editor:

  • Package Manager:

  • Programming Language:

  • Database:

CosmoMC is a Fortran 2008 Markov-Chain Monte-Carlo (MCMC) engine for exploring cosmological parameter space, together with Fortran and Python code for analyzing Monte-Carlo samples and importance sampling.

For basic usage of the console environment, check the Terminal application.

Getting started

The software is installed in /opt/CosmoMC. This folder should be copied inside the default workspace /work and imported when submitting new jobs, in case it is necessary to preserve changes in the configuration scripts.

The Planck likelihood code is installed /opt/plc-3.01. The full Planck data chains can be downloaded here.

For a simple test, run the code:

$ cd /opt/CosmoMC
$ mpirun -np 7 cosmomc test.ini

Initialization

Additional dependencies can be installed by proving a (.sh) script. The example below shows how to install a pip package on start-up of the application:

#!/usr/bin/env bash

pip install mpi4py