Rnuunig CosmoMC on a cluster

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
R Purnalingam
Posts: 19
Joined: March 03 2017
Affiliation: IIT KANPUR

Rnuunig CosmoMC on a cluster

Post by R Purnalingam » April 16 2017

I am trying to run COSMOMC on a cluster
And my job_file is as follows

#PBS -N 1.sh
#PBS -q mini
#PBS -l nodes=1:ppn=20
#PBS -j oe
export I_MPI_FABRICS=shm:dapl
export I_MPI_MPD_TMPDIR=/scratch/purna
mpirun -machinefile $PBS_NODEFILE -n 20 ./cosmomc test_planck.ini

Iam getting the following error when i try to run my script file.

mpirun was unable to launch the specified application as it could not access
or execute an executable:

Executable: ./cosmomc
Node: hpc004

while attempting to start process rank 0.

Shouvik Roychoudhury
Posts: 31
Joined: August 14 2016
Affiliation: IIT Bombay

Rnuunig CosmoMC on a cluster

Post by Shouvik Roychoudhury » April 16 2017

Did you forget to run "make clean" and "make"? Unless you run "make" the executable is not created.

Sunny Vagnozzi
Posts: 53
Joined: August 15 2016
Affiliation: Kavli Institute for Cosmology (KICC), University of Cambridge

Rnuunig CosmoMC on a cluster

Post by Sunny Vagnozzi » April 17 2017

Also, if you are using Planck data (as it looks from your .ini file), don't forget to source the Planck likelihood, i.e. source plc-2.0/bin/clik_profile.sh and a bunch of other commands

Post Reply