Changeset 7120


Ignore:
Timestamp:
06/01/05 16:27:31 (20 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7119 r7120  
    2121
    2222                                                 -*-*- END OF LINE -*-*-
     23 2005/06/01 Daniela Dorner
     24
     25   * datacenter/scripts/runcallisto:
     26     - added writing html-logs
     27
     28   * datacenter/scripts/runganymed:
     29     - added writing html-logs
     30     - added second execution of ganymed
     31     - adapted to correct usage of config-files
     32
     33   * datacenter/scripts/runstar:
     34     - added writing html-logs
     35     - minor change in logpath
     36
     37
     38
    2339 2005/05/31 Daniela Dorner
    2440
  • trunk/MagicSoft/Mars/datacenter/scripts/runcallisto

    r7106 r7120  
    199199
    200200  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/null
     201  ./callisto -b -q -f -raw --log=$outpath/callisto$no2.log --html=$outpath/callisto$no2.html --out=$outpath --config=$callistorcseq $sequfile  2>> $scriptlog > /dev/null
    202202  check1=$?
    203203
     
    259259                done
    260260             fi
    261              ./merpp -u --log=$merpplogpath/merppccupdate$runno.log --runfile=$runno $ccfile $calfile 2>> $scriptlog> /dev/null
     261             ./merpp -u --log=$merpplogpath/merppccupdate$runno.log --html=$merpplogpath/merppccupdate$runno.html --runfile=$runno $ccfile $calfile 2>> $scriptlog> /dev/null
    262262             check2=$?
    263263             case $check2 in
     
    266266                          continue 2 ;;
    267267             esac
    268              ./merpp -u --log=$merpplogpath/merppcacoupdate$runno.log --auto-time $cacofile $calfile 2>> $scriptlog> /dev/null
     268             ./merpp -u --log=$merpplogpath/merppcacoupdate$runno.log --html=$merpplogpath/merppcacoupdate$runno.html --auto-time $cacofile $calfile 2>> $scriptlog> /dev/null
    269269             check3=$?
    270270             case $check3 in
  • trunk/MagicSoft/Mars/datacenter/scripts/runganymed

    r7106 r7120  
    182182  datasetfile="/magic/datasets/$no/dataset$no2.txt"
    183183  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
    184193 
    185194  echo "run ganymed..." >> $scriptlog 2>&1
    186   ./ganymed -b -q -f --sum --log=$outpath/ganymed$no2.log --out=$outpath $datasetfile  2>> $scriptlog> /dev/null
     195  ./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
    187196  check1=$?
    188197
    189198  case $check1 in
    190199     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;;
    209225     *)   echo "check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;;
    210226  esac
  • trunk/MagicSoft/Mars/datacenter/scripts/runstar

    r7106 r7120  
    186186 
    187187  echo "run star..." >> $scriptlog 2>&1
    188   ./star -b -q -f --log=$outpath/star$sequence.log --ind=$inpath --out=$outpath $sequfile  2>> $scriptlog> /dev/null
     188  ./star -b -q -f --log=$outpath/star$no2.log --html=$outpath/star$no2.html --ind=$inpath --out=$outpath $sequfile  2>> $scriptlog> /dev/null
    189189  check1=$?
    190190
Note: See TracChangeset for help on using the changeset viewer.