#!/bin/tcsh


setenv SYS     $1
setenv IN      $2
setenv OUT     $3
setenv NODES   $4
### eq1 use 8 nodes = 64 cpus and should get done in about  4 hours this leaves plenty room error
### eq2 use 8 nodes = 64 cpus and should get done in about  4 hours this leaves plenty room error
### dyn use 8nodes =64 cpus and should take about 24hrs  leaves plenty room erro (compare 17hrs on 80CPUS)
setenv CONF    $5


echo "BEGINNING" 
echo "$SYS $IN $OUT $NODES $CONF"

echo "cd to dir"
cd /work/bishop/$SYS
###qsub -l walltime=12:00:00,nodes=${NODES}:ppn=8 -A "TG-MCB100111" -q checkpt -V  ~/bin/runnamd-qb.tcsh 
qsub -l walltime=12:00:00,nodes=${NODES}:ppn=8 -A "loni_nucstab_01" -q checkpt -V  ~/bin/runnamd-qb.tcsh 


