CosmoMC
| Description | ||
![]() |
CosmoMC is a Markov-Chain Monte-Carlo (MCMC) engine for exploring cosmological parameter space, together with code for analysing Monte-Carlo samples and importance sampling. The code does brute force (but accurate) theoretical matter power spectrum and Cl calculations with CAMB. Further information on the features and functionality available in CosmoMC can be found on the CosmoMC web site. |
|
| Site | Version (Latest: june 2008) | Notes |
| ngs.rl.ac.uk | June 2008 | |
License
CosmoMC is freely available to all researchers.
Any work you publish based on results from CosmoMC must quote the references as in the BibTex file. CosmoMC uses the CAMB package, for which you should abide by the licensing conditions, and the HEALPix package which is licenced under the GNU General Public License.
Users of this application should also credit the NGS accordingly and where applicable the specific site where the code is installed, when publishing work using NGS resources.
Running the Application on the NGS (General)
To run CosmoMC there should be a params.ini input file and data files, which can be copied or symbolically linked from
gsisftp://ngs.rl.ac.uk:/apps/cosmoMC/200806
As the WMAP files:
gsisftp://ngs.rl.ac.uk:/apps/cosmoMC/WMAP/5yr/likelihood_v3
are quite large, you should create a symbolic link:
ln -s /apps/cosmoMC/WMAP/5yr/likelihood_v3 likelihood_v3
to the data from your run directory and/or reference it directly in your params.ini file.
In the job-example below the input files (params.ini and relevant data files) are already uploaded to your /home/ngsXXXX/cosmomc directory and any required WMAP files are either in that directory or have symbolic links in that directory. An example may be copied from
gsisftp://ngs.rl.ac.uk:/apps/cosmoMC/200806/params.ini
- Submission Using the UI/WMS
Coming soon
- NGS Web Portal Submission
After logging in to the NGS portal, select the "CosmoMC" template under the " Astrophysics" category and make the amendments appropriate for your specific job. Read the description page of the template for further details.
- Submission Using Globus
Eg To submit a ComosmMC job at for example ngs.rl.ac.uk, change ngsXXXX to your userid on ngs.rl.ac.uk then use the following command (one line. You should not include the backslashes):
globusrun -b -r ngs.rl.ac.uk/jobmanager-lsf \
'&(executable=/usr/ngs/COSMOMC)(jobtype=mpi)(count=4) \
(directory=/home/ngsXXXX/cosmomc) \
(arguments=params.ini)(stdout=/home/ngsXXXX/cosmomc/StdOut.txt) \
(stderr=/home/ngsXXXX/cosmomc/StdErr.txt)'- The output files will be written in your working directory /home/ngsXXXX/cosmomc.
- cosmoMC utility programs such as getdist are available in your path after typing
module load cosmoMC
when logged into ngs.rl.ac.uk.
Compilation Information
- ngs.rl.ac.uk
Linked to Scali MPI, Goto BLAS 1.09, lapack (acml 3.6.) using PGI 6.2 compilers.
Further Information
Applications Support
The NGS cannot offer scientific support for applications. However if you require further information or believe there is something wrong with the installation, please contact the NGS support centre.
Acknowledgements
Please note: When publishing work based on use of the NGS, users should acknowledge both the authors of any programs used (see the individual program web sites, or contact the authors directly) and the NGS directly using the following line:
"The authors would like to acknowledge the use of the UK National Grid Service in carrying out this work"
This line must also accompany any use of the NGS logos.


