The documentation on the IN2P3 Computing Centre portal does not contain any information specific to MontePython. Boris Bolliet provides some very useful instructions on his website. Aside from this, there is nothing at all. So I thought I would provide a few tips, especially for Euclid consortium members.
If you are a member, you can request an account on the cluster.
The first thing to do is to create a folder on /sps/euclid/Users/. You may choose any name (e.g. your username: /sps/euclid/Users/username).
In order to use MontePython, you will need to install software packages. Just follow the instructions on Boris Bolliet’s page.
The tricky bit is the job submission script. I am grateful for Quentin Le Boulc’h for what follows. We spent a lot of time trying to pin down the right parameters for the resource options.
You have two options.
Option 1
#!/bin/sh
#$ -N yourscript
#$ -P P_euclid
#$ -q pa_long
#$ -l sps=1
#$ -j n
#$ -l os=cl7 -pe openmpi 4
#$ -o $JOB_ID.out
#$ -e $JOB_ID.err
export OMP_NUM_THREADS=1
source /pbs/home/y/yourusename.profile
source /usr/local/shared/bin/openmpi_env.sh
mpirun -np $NSLOTS montepython/montepython/MontePython.py run etc.
Option 2:
#!/bin/sh
#$ -N yourscript
#$ -P P_euclid
#$ -q pa_long
#$ -l sps=1
#$ -j n
#$ -l os=cl7 -pe openmpi_8 32
#$ -o $JOB_ID.out
#$ -e $JOB_ID.err
export OMP_NUM_THREADS=8
source /pbs/home/y/yourusename.profile
source /usr/local/shared/bin/openmpi_env.sh
mpirun -np 4 -pernode montepython/montepython/MontePython.py run etc.