#!/bin/sh

if [ $# -ne 2 ];then
   echo "Usage: $0 [RUN] [EXE-DIR]"
   exit
fi

RUN=$1
PGM=$2/statmain

DAT=../../exp_data/okc80  
MDL=../../mdl_data/okc80 

${PGM} -d${DAT} -r${MDL} -t1 -z0.0 -m${RUN} -at -s../R${RUN}_avg.doc
${PGM} -d${DAT} -r${MDL} -t1 -z0.0 -m${RUN}     -s../R${RUN}_gbl.doc

rm message.txt
