Page 1 of 1

Rnuunig CosmoMC on a cluster

Posted: April 16 2017
by R Purnalingam
I am trying to run COSMOMC on a cluster
And my job_file is as follows

#!/bin/bash
#PBS -N 1.sh
#PBS -q mini
#PBS -l nodes=1:ppn=20
#PBS -j oe
cd PBS_O_WORKDIR
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.
--------------------------------------------------------------------------

Rnuunig CosmoMC on a cluster

Posted: April 16 2017
by Shouvik Roychoudhury
Did you forget to run "make clean" and "make"? Unless you run "make" the executable is not created.

Rnuunig CosmoMC on a cluster

Posted: April 17 2017
by Sunny Vagnozzi
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