#!/bin/tcsh

if ("$1" == "-l") then
   echo "Using TCP for communication"
   set co = "-ah localhost"
else
   set co = "$*"
endif

echo "=============================================" >> .rs_out.log
echo "New $0 command log: `hostname` $PWD `date`" >> .rs_out.log
echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@" >> .rs_out.log

suma  -spec ../SurfData/SUMA/std.DemoSubj_both.spec        \
      -sv DemoSubj_SurfVol_Alnd_Exp+orig $co   |& tee -a .rs_out.log &
 
