#!/bin/bash -l
#$ -q tesla.q
#$ -l gpu=1
## adapter selon besoin
#$ -l h_vmem=15G
#$ -V
#$ -cwd
#$ -N full_mpi_1GPU
#$ -pe mpi 1


module load cuda/7.0
module load ompi/gcc

mpirun -np $NSLOTS ./template -r -i 60000 40000
mpirun -np $NSLOTS ./template -r -i 150000 50000
mpirun -np $NSLOTS ./template -r -i 250000 150000
mpirun -np $NSLOTS ./template -r -i 350000 250000
mpirun -np $NSLOTS ./template -r -i 500000 300000
mpirun -np $NSLOTS ./template -r -i 600000 400000
mpirun -np $NSLOTS ./template -r -i 700000 500000
mpirun -np $NSLOTS ./template -r -i 800000 600000
#mpirun -np $NSLOTS ./template -r -i 900000 700000
#mpirun -np $NSLOTS ./template -r -i 1000000 800000
#mpirun -np $NSLOTS ./template -r -i 1500000 500000