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
-
- Posts: 19
- Joined: March 03 2017
- Affiliation: IIT KANPUR
- Contact:
-
- Posts: 31
- Joined: August 14 2016
- Affiliation: IIT Bombay
Rnuunig CosmoMC on a cluster
Did you forget to run "make clean" and "make"? Unless you run "make" the executable is not created.
-
- Posts: 55
- Joined: August 15 2016
- Affiliation: Kavli Institute for Cosmology (KICC), University of Cambridge
Rnuunig CosmoMC on a cluster
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