Changeset 8176 for trunk/MagicSoft/Mars
- Timestamp:
- 10/30/06 08:23:03 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
r7994 r8176 89 89 setstatus "start" >> $scriptlog 2>&1 90 90 91 echo "./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" >> $scriptlog 2>&1 91 92 ./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 92 93 check1=$? … … 99 100 echo "finding files to be updated..." >> $scriptlog 2>&1 100 101 calfiles=`find $outpath -name *_Y_* ` 101 echo " files to be updated: "$calfiles >> $scriptlog 2>&1102 102 if [ "$calfiles" = "" ] 103 103 then 104 104 echo " no files found -> continue with next sequence" >> $scriptlog 2>&1 105 continue105 printprocesslog "ERROR no calfiles found" 106 106 fi 107 echo " files to be updated: "$calfiles >> $scriptlog 2>&1 107 108 108 109 merpplogpath=$outpath"/merpplogs" … … 124 125 then 125 126 echo "no ccfile found for run "$runno >> $scriptlog 2>&1 126 printprocesslog "ERROR no ccfilefound for $calfile"127 printprocesslog "ERROR ccfile $ccfile not found for $calfile" 127 128 com=$Fnoccfile 128 129 comadd=$runno … … 137 138 do 138 139 newrun=`echo $runno - $i | bc` 139 # echo "$missingcacorun + $i = $newrun"140 140 path=`dirname $ccfile` 141 141 path=`echo $path | sed -e 's/cc/caco/'` … … 147 147 then 148 148 echo "no cacofile found" >> $scriptlog 2>&1 149 printprocesslog "ERROR cacofile $cacofile not found for $calfile" 149 150 com=$Fnocacofile 150 151 comadd=$runno 151 152 check=0 153 break 2 152 154 fi 153 155 continue … … 158 160 done 159 161 fi 162 echo "./merpp -u --log=$merpplogpath/merppccupdate$runno.log --html=$merpplogpath/merppccupdate$runno.html --auto-time-stop --runfile=$runno $ccfile $calfile 2>> $scriptlog> /dev/null" >> $scriptlog 2>&1 160 163 ./merpp -u --log=$merpplogpath/merppccupdate$runno.log --html=$merpplogpath/merppccupdate$runno.html --auto-time-stop --runfile=$runno $ccfile $calfile 2>> $scriptlog> /dev/null 161 164 check2=$? … … 165 168 ;; 166 169 *) echo " check2=$check2 -> ERROR -> merppccupdate failed" >> $scriptlog 2>&1 167 printprocesslog "ERROR merppccupdate failed for $calfile"170 printprocesslog "ERROR merppccupdate with file $ccfile failed for $calfile" 168 171 com=$Fmerppcc 169 172 comadd=$runno … … 171 174 break ;; 172 175 esac 176 echo "./merpp -u --log=$merpplogpath/merppcacoupdate$runno.log --html=$merpplogpath/merppcacoupdate$runno.html --auto-time $cacofile $calfile 2>> $scriptlog> /dev/null" >> $scriptlog 2>&1 173 177 ./merpp -u --log=$merpplogpath/merppcacoupdate$runno.log --html=$merpplogpath/merppcacoupdate$runno.html --auto-time $cacofile $calfile 2>> $scriptlog> /dev/null 174 178 check3=$? … … 178 182 ;; 179 183 *) echo " check3=$check3 -> ERROR -> merppcacoupdate failed" >> $scriptlog 2>&1 180 printprocesslog "ERROR merppcacoupdate failed for $calfile"184 printprocesslog "ERROR merppcacoupdate with file $cacofile failed for $calfile" 181 185 com=$Fmerppcaco 182 186 comadd=$runno -
trunk/MagicSoft/Mars/datacenter/scripts/runstar
r7944 r8176 71 71 setstatus "start" >> $scriptlog 2>&1 72 72 73 ssh pegasus /opt/SUNWsamfs/bin/stage $inpath/*_Y_*.root & 74 75 echo "./star -b -q -v4 -f --log=$outpath/$program$no2.log --html=$outpath/$program$no2.html --ind=$inpath --out=$outpath $sequfile 2>> $scriptlog> /dev/null" >> $scriptlog 2>&1 73 76 ./star -b -q -v4 -f --log=$outpath/$program$no2.log --html=$outpath/$program$no2.html --ind=$inpath --out=$outpath $sequfile 2>> $scriptlog> /dev/null 74 77 check1=$?
Note:
See TracChangeset
for help on using the changeset viewer.