Compiling CosmoMC - Editing Makefile

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Noble P Abraham
Posts: 9
Joined: July 31 2008
Affiliation: School of Pure and Applied Physics, Mahatma Gandhi University, Kottayam

Compiling CosmoMC - Editing Makefile

Post by Noble P Abraham » April 29 2010

Hi All CosmoMC users,
May I request you to put details of Processor, OS, Compiler/MKL versions and relevant contents of Makefile of your successful installations, so that new users can edit their Makefile appropriately and start working without much troubles.

Hoping huge responses

Noble

Noble P Abraham
Posts: 9
Joined: July 31 2008
Affiliation: School of Pure and Applied Physics, Mahatma Gandhi University, Kottayam

Compiling CosmoMC - Editing Makefile

Post by Noble P Abraham » April 29 2010

Here is my configuration

Processor: Intel Core2Duo T5800 2.00 GHz
OS: Ubuntu 9.04 64 bit
Fortran : Intel Fortran 10.1.015
MKL : Intel MKL 10.0.3.020

CFITSIO installed via Synaptic

Before compiling I ran (ifort and mkl installed at /home/intel)

Code: Select all

source /home/intel/fce/10.1.015/bin/ifortvars.sh
source /home/intel/mkl/10.0.3.020/tools/environment/mklvarsem64t.sh

Parts of Makefile (cosmomc/source)

Code: Select all

#Only needed for WMAP
cfitsio = /usr

IFLAG = -I
INCLUDE=

F90C     = ifort
FFLAGS = -O2 -Vaxlib -ip -W0 -WB -openmp -fpp
LAPACKL = -lguide -lpthread -lmkl_lapack -lmkl_em64t

Noble.

Post Reply