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.
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
Additional dependencies can be installed by proving a (
The example below shows how to install a pip package on start-up of the application:
#!/usr/bin/env bash pip install mpi4py