Problem in running latest version of cosmomc

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Anjan Ananda Sen
Posts: 13
Joined: March 30 2005
Affiliation: Center For Theoretical Physics, Jamia Millia Islamia, new delhi

Problem in running latest version of cosmomc

Post by Anjan Ananda Sen » April 08 2014

Hi,

I have installed the latest cosmomc version. The make was done successfully.
But while giving the command: mpirun -np 1 ./cosmomc test.ini

I am getting the error:

.: 131: Can't open /opt/intel/composer_xe_2013_sp1.2.144/mpirt/bin/ia32/mpivars.sh

I checked that this file does not exist in the respective directory.
I shall be grateful if somebody help me out in resolving this issue.

Thanks

Regards

anjan sen

Jason Dossett
Posts: 97
Joined: March 19 2010
Affiliation: The University of Texas at Dallas
Contact:

Problem in running latest version of cosmomc

Post by Jason Dossett » April 08 2014

This is a system configuration issue. When you compiled did you use mpiifort (intels mpi) or mpif90(openmpi/mpich2). It looks like when you use mpirun it is trying to run with intel's mpi libraries. Try instead :

Code: Select all

mpiexec -n 1 ./cosmomc test.ini
Also when running with one chain only you do not need to use mpiexec or mpirun to run the program. You can run using ./cosmomc test.ini.

Hope that helps.

-Jason

Anjan Ananda Sen
Posts: 13
Joined: March 30 2005
Affiliation: Center For Theoretical Physics, Jamia Millia Islamia, new delhi

Problem in running latest version of cosmomc

Post by Anjan Ananda Sen » April 10 2014

Thanks Jason. It worked.

regards

anjan sen

Post Reply