#!/bin/bash 
#MSUB -N Pred-rec172-proc-2-16-16
#MSUB -l nodes=2:ppn=16:performance
#MSUB -l walltime=01: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=16

echo "running on $NSLOTS cpus..."

### location
PISVMPRED=/homeb/zam/mriedel/pisvm-1.2.1/pisvm-predict

### data
TESTDATA=/homeb/zam/mriedel/bigdata/172-indianpinesrawproc/indian_processed_test.el

MODELDATA=/homeb/zam/mriedel/pisvm-1.2.1/2321848-indian_processed_training.el.model

### submit
mpiexec -np $NSLOTS $PISVMPRED $TESTDATA $MODELDATA 2321848-results-2-16-16.txt

