Changeset 7469 for trunk/MagicSoft/Mars/datacenter/scripts
- Timestamp:
- 01/31/06 17:42:30 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/scripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
r7467 r7469 44 44 45 45 # define callisto.rc files 46 callistorcnew=$setuppath/$program/ $program.rc47 callistorcmarapr05=$setuppath/$program/ $program_MarApr05.rc46 callistorcnew=$setuppath/$program/callisto.rc 47 callistorcmarapr05=$setuppath/$program/callisto_MarApr05.rc 48 48 49 49 table=SequenceProcessStatus … … 147 147 no=`printf %08d $sequence | cut -c 0-4` 148 148 no2=`printf %08d $sequence` 149 var1=$no 150 var2=$no2 149 151 outpath="$datapath/$program/$no/$no2" 150 152 echo "outpath: "$outpath >> $scriptlog 2>&1 … … 155 157 156 158 # find callisto.rc file 157 if [ -e $outpath/ $program.rc ]159 if [ -e $outpath/callisto.rc ] 158 160 then 159 161 echo "found $program.rc in $outpath -> using this " >> $scriptlog 2>&1 160 callistorcseq=$outpath/ $program.rc162 callistorcseq=$outpath/callisto.rc 161 163 else 162 164 echo "no $program.rc found in $outpath -> making link " >> $scriptlog 2>&1 163 165 if [ 49735 -lt $sequence ] && [ $sequence -lt 53516 ] 164 166 then 165 ln -vs $callistorcmarapr05 $outpath/ $program.rc >> $scriptlog 2>&1167 ln -vs $callistorcmarapr05 $outpath/callisto.rc >> $scriptlog 2>&1 166 168 else 167 ln -vs $callistorcnew $outpath/ $program.rc >> $scriptlog 2>&1169 ln -vs $callistorcnew $outpath/callisto.rc >> $scriptlog 2>&1 168 170 fi 169 callistorcseq=$outpath/ $program.rc171 callistorcseq=$outpath/callisto.rc 170 172 fi 171 173 172 174 echo "run $program..." >> $scriptlog 2>&1 173 setstatus "start" 175 setstatus "start" >> $scriptlog 2>&1 174 176 175 177 ./callisto -b -q -v4 -f -raw --log=$outpath/$program$no2.log --html=$outpath/$program$no2.html --out=$outpath --config=$callistorcseq $sequfile 2>> $scriptlog > /dev/null … … 265 267 # set status 266 268 echo "inserting the status for $program for sequence $sequence into the db" >> $scriptlog 2>&1 267 setstatus "stop" 269 setstatus "stop" >> $scriptlog 2>&1 268 270 done 269 271 -
trunk/MagicSoft/Mars/datacenter/scripts/runganymed
r7467 r7469 142 142 no=`printf %08d $dataset | cut -c 0-5` 143 143 no2=`printf %08d $dataset` 144 var1=$no 145 var2=$no2 144 146 outpath="$datapath/$program/$no/$no2" 145 147 echo "outpath: "$outpath >> $scriptlog 2>&1 … … 160 162 161 163 echo "run $program..." >> $scriptlog 2>&1 162 setstatus "start" 164 setstatus "start" >> $scriptlog 2>&1 163 165 164 166 ./ganymed -b -q -v4 -f --ind=$datapath/star --config=$ganymedrc --log=$outpath/$program$no2.log --html=$outpath/$program$no2.html --out=$outpath $datasetfile 2>> $scriptlog> /dev/null … … 173 175 esac 174 176 echo "inserting the status for $program for dataset $dataset into the db" >> $scriptlog 2>&1 175 setstatus "stop" 177 setstatus "stop" >> $scriptlog 2>&1 176 178 done 177 179 -
trunk/MagicSoft/Mars/datacenter/scripts/runstar
r7467 r7469 142 142 no=`printf %08d $sequence | cut -c 0-4` 143 143 no2=`printf %08d $sequence` 144 var1=$no 145 var2=$no2 144 146 outpath="$datapath/$program/$no/$no2" 145 147 inpath=`echo $outpath | sed -e 's/$program/callisto/'` … … 152 154 153 155 echo "run $program..." >> $scriptlog 2>&1 154 setstatus "start" 156 setstatus "start" >> $scriptlog 2>&1 155 157 156 158 ./star -b -q -v4 -f --log=$outpath/$program$no2.log --html=$outpath/$program$no2.html --ind=$inpath --out=$outpath $sequfile 2>> $scriptlog> /dev/null … … 165 167 esac 166 168 echo "inserting the status for $program for sequence $sequence into the db" >> $scriptlog 2>&1 167 setstatus "stop" 169 setstatus "stop" >> $scriptlog 2>&1 168 170 done 169 171
Note:
See TracChangeset
for help on using the changeset viewer.