Ignore:
Timestamp:
05/07/08 18:31:04 (17 years ago)
Author:
snruegam
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/runcallisto

    r8690 r8886  
    7171sequfile="$sequpath/$no/sequence$no2.txt"
    7272
    73 # stage the needed files; to be removed as soon as the correct stub file size has been determined
    74 echo "staging files:" >> $scriptlog 2>&1
    75 day=`grep Night $sequfile | cut -c 18-27 | sed -e "s/-/\//g"`
    76 runs=`grep ^Runs $sequfile | cut -d: -f2`
    77 i=0
    78 
    79 for run in ${runs[@]}
    80 do
    81    files[i]=20*_0*${run}_[PCD]_*_E.raw.gz
    82    echo ${datapath}/rawfiles/${day}/${files[i]} >> $scriptlog 2>&1
    83    let i++
    84 done
    85 
    86 ssh -nx phoenix "cd ${datapath}/rawfiles/${day}; /opt/SUNWsamfs/bin/stage ${files[@]}"
    87 
    88 
    8973# define callisto.rc files
    9074callistorcnew=$setuppath/$program/callisto.rc
    91 callistorcmux=$setuppath/$program/callisto_mux.rc
     75#callistorcmux=$setuppath/$program/callisto_mux.rc
     76callistorcmux=$setuppath/$program/callisto_mux_new.rc
    9277# find callisto.rc file
    9378if [ -e $outpath/callisto.rc ]
     
    118103primvar=$no2
    119104setstatus "start" >> $scriptlog 2>&1
     105
     106# stage the needed files; to be removed as soon as the correct stub file size has been determined
     107echo "staging files:" >> $scriptlog 2>&1
     108day=`grep Night $sequfile | cut -c 18-27 | sed -e "s/-/\//g"`
     109runs=`grep ^Runs $sequfile | cut -d: -f2`
     110i=0
     111
     112for run in ${runs[@]}
     113do
     114   files[i]=20*_0*${run}_[PCD]_*_E.raw.gz
     115   echo ${datapath}/rawfiles/${day}/${files[i]} >> $scriptlog 2>&1
     116   let i++
     117done
     118
     119ssh -nx phoenix "cd ${datapath}/rawfiles/${day}; /opt/SUNWsamfs/bin/stage ${files[@]}"
     120
    120121
    121122echo "./callisto -b -q -v4 -f --log=$outpath/$program$no2.log --html=$outpath/$program$no2.html --out=$outpath --config=$callistorcseq $sequfile  2>> $scriptlog > /dev/null" >> $scriptlog 2>&1
Note: See TracChangeset for help on using the changeset viewer.