Running Cosmomc on a workstation

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Akhilesh Nautiyal(akhi)
Posts: 72
Joined: June 13 2007
Affiliation: Malaviya National Institute of Technology Jaipur

Running Cosmomc on a workstation

Post by Akhilesh Nautiyal(akhi) » November 05 2014

HI,

Since I don't have ifort 14 in our cluster, I am trying to run cosmomc on a workstation that has 16 cores. this workstation has ifor15 and mpi installed. the installation of cosmomc went well. but When I am trying to run cosmomc using the command

mpirun -np 2 ./cosmomc test.ini

It is running fine but not generating two chains but writing only one chain.named test_1.txt.
The output is

Number of MPI processes: 1
Number of MPI processes: 1
file_root:test
file_root:test
NOTE: use_CMB now set internally from likelihoods
NOTE: use_CMB now set internally from likelihoods
Random seeds: 3909, 17505 rand_inst: 1
Using clik with likelihood file ./data/clik/CAMspec_v6.2TN_2013_02_26_dist.clik
Random seeds: 3911, 17505 rand_inst: 1
Using clik with likelihood file ./data/clik/CAMspec_v6.2TN_2013_02_26_dist.clik
TT from l=0 to l= 2500
TT from l=0 to l= 2500
Clik will run with the following nuisance parameters:
A_ps_100
A_ps_143
A_ps_217
A_cib_143
A_cib_217
A_sz
r_ps
r_cib
n_Dl_cib
cal_100
cal_217


When I run top command it shows

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4156 sukanta 20 0 2143m 982m 12m R 845 1.5 65:40.13 cosmomc
4155 sukanta 20 0 2175m 1.0g 12m R 617 1.6 64:51.95 cosmomc
4471 sukanta 20 0 17580 1668 1096 R 0 0.0 0:00.07 top
22068 root 20 0 0 0 0 S 0 0.0 0:16.12 kworker/5:0
1 root 20 0 24572 2496 1352 S 0 0.0 0:01.39 init

this clearly means that it is using two processors. So can some one let me know how I can generate two or more chains by using mpi in the workstation.

Thanks,
akhilesh

Akhilesh Nautiyal(akhi)
Posts: 72
Joined: June 13 2007
Affiliation: Malaviya National Institute of Technology Jaipur

Running Cosmomc on a workstation

Post by Akhilesh Nautiyal(akhi) » November 20 2014

Hi, I am still unable to solve the issue. Can any one help me.

Akhilesh Nautiyal(akhi)
Posts: 72
Joined: June 13 2007
Affiliation: Malaviya National Institute of Technology Jaipur

Running Cosmomc on a workstation

Post by Akhilesh Nautiyal(akhi) » December 19 2014

done.
Worked fine with mpich. Earlier I was trying with openmpi.

Post Reply