Changeset 8886 for trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
- Timestamp:
- 05/07/08 18:31:04 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
r8690 r8886 71 71 sequfile="$sequpath/$no/sequence$no2.txt" 72 72 73 # stage the needed files; to be removed as soon as the correct stub file size has been determined74 echo "staging files:" >> $scriptlog 2>&175 day=`grep Night $sequfile | cut -c 18-27 | sed -e "s/-/\//g"`76 runs=`grep ^Runs $sequfile | cut -d: -f2`77 i=078 79 for run in ${runs[@]}80 do81 files[i]=20*_0*${run}_[PCD]_*_E.raw.gz82 echo ${datapath}/rawfiles/${day}/${files[i]} >> $scriptlog 2>&183 let i++84 done85 86 ssh -nx phoenix "cd ${datapath}/rawfiles/${day}; /opt/SUNWsamfs/bin/stage ${files[@]}"87 88 89 73 # define callisto.rc files 90 74 callistorcnew=$setuppath/$program/callisto.rc 91 callistorcmux=$setuppath/$program/callisto_mux.rc 75 #callistorcmux=$setuppath/$program/callisto_mux.rc 76 callistorcmux=$setuppath/$program/callisto_mux_new.rc 92 77 # find callisto.rc file 93 78 if [ -e $outpath/callisto.rc ] … … 118 103 primvar=$no2 119 104 setstatus "start" >> $scriptlog 2>&1 105 106 # stage the needed files; to be removed as soon as the correct stub file size has been determined 107 echo "staging files:" >> $scriptlog 2>&1 108 day=`grep Night $sequfile | cut -c 18-27 | sed -e "s/-/\//g"` 109 runs=`grep ^Runs $sequfile | cut -d: -f2` 110 i=0 111 112 for run in ${runs[@]} 113 do 114 files[i]=20*_0*${run}_[PCD]_*_E.raw.gz 115 echo ${datapath}/rawfiles/${day}/${files[i]} >> $scriptlog 2>&1 116 let i++ 117 done 118 119 ssh -nx phoenix "cd ${datapath}/rawfiles/${day}; /opt/SUNWsamfs/bin/stage ${files[@]}" 120 120 121 121 122 echo "./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.