#!/bin/bash 
#MSUB -N Train-rec172-1-2-1
#MSUB -l nodes=1:ppn=2:performance
#MSUB -l walltime=04:00: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=1

echo "running on $NSLOTS cpus..."

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

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

### submit
mpiexec -np $NSLOTS $PISVM -D -o 1024 -q 512 -c 10000 -g 16 -t 2 -m 1024 -s 0 $TRAINDATA
