#!/bin/bash 
#MSUB -N Pred-rec172-1-16-8
#MSUB -l nodes=1: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=8

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_raw_test.el

MODELDATA=/homeb/zam/mriedel/pisvm-1.2.1/2316420-indian_raw_training.el.model

### submit
mpiexec -np $NSLOTS $PISVMPRED $TESTDATA $MODELDATA 2316420-results-1-16-8.txt

