Changeset 7120 for trunk/MagicSoft/Mars/datacenter
- Timestamp:
- 06/01/05 16:27:31 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/scripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
r7106 r7120 199 199 200 200 echo "run callisto..." >> $scriptlog 2>&1 201 ./callisto -b -q -f -raw --log=$outpath/callisto$no2.log -- out=$outpath --config=$callistorcseq $sequfile 2>> $scriptlog > /dev/null201 ./callisto -b -q -f -raw --log=$outpath/callisto$no2.log --html=$outpath/callisto$no2.html --out=$outpath --config=$callistorcseq $sequfile 2>> $scriptlog > /dev/null 202 202 check1=$? 203 203 … … 259 259 done 260 260 fi 261 ./merpp -u --log=$merpplogpath/merppccupdate$runno.log -- runfile=$runno $ccfile $calfile 2>> $scriptlog> /dev/null261 ./merpp -u --log=$merpplogpath/merppccupdate$runno.log --html=$merpplogpath/merppccupdate$runno.html --runfile=$runno $ccfile $calfile 2>> $scriptlog> /dev/null 262 262 check2=$? 263 263 case $check2 in … … 266 266 continue 2 ;; 267 267 esac 268 ./merpp -u --log=$merpplogpath/merppcacoupdate$runno.log -- auto-time $cacofile $calfile 2>> $scriptlog> /dev/null268 ./merpp -u --log=$merpplogpath/merppcacoupdate$runno.log --html=$merpplogpath/merppcacoupdate$runno.html --auto-time $cacofile $calfile 2>> $scriptlog> /dev/null 269 269 check3=$? 270 270 case $check3 in -
trunk/MagicSoft/Mars/datacenter/scripts/runganymed
r7106 r7120 182 182 datasetfile="/magic/datasets/$no/dataset$no2.txt" 183 183 echo "datasetfile: "$datasetfile >> $scriptlog 2>&1 184 wobble=`grep 'WobbleMode:' $datasetfile` >> $scriptlog 2>&1 185 wobble2=`echo $wobble | grep ^\#` >> $scriptlog 2>&1 186 if [ "$mode2" = "" ] 187 then 188 mode="wobble" >> $scriptlog 2>&1 189 else 190 mode="onoff" >> $scriptlog 2>&1 191 fi 192 ganymedrc=/magic/datacenter/setup/ganymed/ganymed_$mode 184 193 185 194 echo "run ganymed..." >> $scriptlog 2>&1 186 ./ganymed -b -q -f --sum -- log=$outpath/ganymed$no2.log--out=$outpath $datasetfile 2>> $scriptlog> /dev/null195 ./ganymed -b -q -f --sum --config=$ganymedrc.rc --log=$outpath/ganymed$no2.log --html=$outpath/ganymed$no2.html --out=$outpath $datasetfile 2>> $scriptlog> /dev/null 187 196 check1=$? 188 197 189 198 case $check1 in 190 199 0) echo "check1=$check1 -> everthing ok " >> $scriptlog 2>&1 191 echo "-> inserting the status for ganymed for dataset $dataset into the db" >> $scriptlog 2>&1 192 setstatuslogpath=$logpath/setstatus/ganymed/$no 193 if [ ! -d $setstatuslogpath ] 194 then 195 mkdir -pv $setstatuslogpath >> $scriptlog 2>&1 196 if [ ! -d $setstatuslogpath ] 197 then 198 echo "could not make setstatuslogpath "$setstatuslogpath >> $scriptlog 2>&1 199 continue 200 fi 201 fi 202 setstatuslog=$setstatuslogpath/setstatus-ganymed-$no2.log 203 check4=`root -q -b $macrospath/setstatus.C+\("\"$dataset\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'` 204 case $check4 in 205 1) echo "check4=$check4 -> everthing ok, status has been set" >> $scriptlog 2>&1;; 206 *) echo "check4=$check4 -> ERROR -> step could not be set" >> $scriptlog 2>&1;; 207 esac 208 ;; 200 echo "-> do ganymed a second time " >> $scriptlog 2>&1 201 ./ganymed -b -q -f --skip-res --config=$ganymedrc-fs.rc --log=$outpath/ganymed$no2-fs.log --html=$outpath/ganymed$no2-fs.html --outf=$outpath/ganymed$no2-fs.root $datasetfile 2>> $scriptlog> /dev/null 202 check2=$? 203 204 case $check2 in 205 0) echo "check2=$check2 -> everthing ok " >> $scriptlog 2>&1 206 echo "-> inserting the status for ganymed for dataset $dataset into the db" >> $scriptlog 2>&1 207 setstatuslogpath=$logpath/setstatus/ganymed/$no 208 if [ ! -d $setstatuslogpath ] 209 then 210 mkdir -pv $setstatuslogpath >> $scriptlog 2>&1 211 if [ ! -d $setstatuslogpath ] 212 then 213 echo "could not make setstatuslogpath "$setstatuslogpath >> $scriptlog 2>&1 214 continue 215 fi 216 fi 217 setstatuslog=$setstatuslogpath/setstatus-ganymed-$no2.log 218 check4=`root -q -b $macrospath/setstatus.C+\("\"$dataset\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'` 219 case $check4 in 220 1) echo "check4=$check4 -> everthing ok, status has been set" >> $scriptlog 2>&1;; 221 *) echo "check4=$check4 -> ERROR -> step could not be set" >> $scriptlog 2>&1;; 222 esac 223 ;; 224 *) echo "check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;; 209 225 *) echo "check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;; 210 226 esac -
trunk/MagicSoft/Mars/datacenter/scripts/runstar
r7106 r7120 186 186 187 187 echo "run star..." >> $scriptlog 2>&1 188 ./star -b -q -f --log=$outpath/star$ sequence.log--ind=$inpath --out=$outpath $sequfile 2>> $scriptlog> /dev/null188 ./star -b -q -f --log=$outpath/star$no2.log --html=$outpath/star$no2.html --ind=$inpath --out=$outpath $sequfile 2>> $scriptlog> /dev/null 189 189 check1=$? 190 190
Note:
See TracChangeset
for help on using the changeset viewer.