#!/bin/bash 
#MSUB -N 10xCVc1000g4-processed-rec172-10-16-80
#MSUB -l nodes=10:ppn=16:performance
#MSUB -l walltime=00:10:00
#MSUB -M m.riedel@fz-juelich.de
#MSUB -m abe
#MSUB -W x=naccesspolicy:singlejob
#MSUB -v tpt=2
#MSUB -q devel


### jobscript

cd $PBS_O_WORKDIR
echo "workdir: $PBS_O_WORKDIR"

NSLOTS=80

echo "running on $NSLOTS cpus..."

### location
PISVM=/homeb/zam/mriedel/pisvm-1.2.1/pisvm-train

### data
TRAINDATA=/homeb/zam/mriedel/bigdata/172-indianpinesrawproc/indian_processed_training.el

### submit
mpiexec -np $NSLOTS $PISVM -D -v 10 -o 1024 -q 512 -c 1000 -g 4 -t 2 -m 1024 -s 0 $TRAINDATA
