CosmoMC and MPI

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Luis Mendes
Posts: 3
Joined: January 13 2005
Affiliation: Astrophysics Group, Imperial College London

CosmoMC and MPI

Post by Luis Mendes » January 17 2005

Hi,
I am trying to compile cosmomc with mpi in a small linux cluster with AMD opteron processors. I am using the intel compiler 8.1. I suspect that with the intel cluster mkl libraries everything woudl be simple. Unfortunately they seem not to be available with a free license and I was wondering if its possible to compile with the mpich libraries instead. In this case I am assuming I will have to compile the mpich libraries with the intel compilers. I actually tried using several of the options in the original cosmomc makefile but they fail. Has anyone tried this before? Is there an easier way to do it?
Thanks in advance for your advice,
Luis

Christophe Ringeval
Posts: 17
Joined: November 07 2004
Affiliation: Theoretical and Mathematical Physics Group, CP3, Louvain University
Contact:

Re: CosmoMC and MPI

Post by Christophe Ringeval » January 18 2005

I am trying to compile cosmomc with mpi in a small linux cluster with AMD opteron processors. I am using the intel compiler 8.1. I suspect that with the intel cluster mkl libraries everything woudl be simple. Unfortunately they seem not to be available with a free license and I was wondering if its possible to compile with the mpich libraries instead. In this case I am assuming I will have to compile the mpich libraries with the intel compilers. I actually tried using several of the options in the original cosmomc makefile but they fail. Has anyone tried this before? Is there an easier way to do it?
Hi,
I think you can download evalutation versions for both intel mkl, and the intel lmpi library here:
http://www.intel.com/software/products/ ... l_eval.htm
http://www.intel.com/software/products/ ... ds/mpi.htm

The libmpi is quite recent, and I never tested it but I have compiled lammpi with the intel compiler on a xeon cluster without too many difficulties (some modifications in the configure script)
http://www.lam-mpi.org/

Cheers,
Chris.

Luis Mendes
Posts: 3
Joined: January 13 2005
Affiliation: Astrophysics Group, Imperial College London

CosmoMC and MPI

Post by Luis Mendes » January 19 2005

Thanks for the info Christofe. Will try to install mpi from source.
Cheers,
Luis

Post Reply