Ignore:
Timestamp:
10/30/06 08:23:03 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/runcallisto

    r7994 r8176  
    8989setstatus "start" >> $scriptlog 2>&1
    9090
     91echo "./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
    9192./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
    9293check1=$?
     
    99100        echo "finding files to be updated..." >> $scriptlog 2>&1
    100101        calfiles=`find $outpath -name *_Y_* `
    101         echo " files to be updated: "$calfiles >> $scriptlog 2>&1
    102102        if [ "$calfiles" = "" ]
    103103        then
    104104           echo " no files found -> continue with next sequence" >> $scriptlog 2>&1
    105            continue
     105           printprocesslog "ERROR no calfiles found"
    106106        fi
     107        echo " files to be updated: "$calfiles >> $scriptlog 2>&1
    107108       
    108109        merpplogpath=$outpath"/merpplogs"
     
    124125           then
    125126              echo "no ccfile found for run "$runno >> $scriptlog 2>&1
    126               printprocesslog "ERROR  no ccfile found for $calfile"
     127              printprocesslog "ERROR  ccfile $ccfile not found for $calfile"
    127128              com=$Fnoccfile
    128129              comadd=$runno
     
    137138              do
    138139                 newrun=`echo $runno - $i | bc`
    139           #      echo "$missingcacorun + $i = $newrun"
    140140                 path=`dirname $ccfile`
    141141                 path=`echo $path | sed -e 's/cc/caco/'`
     
    147147                    then
    148148                       echo "no cacofile found" >> $scriptlog 2>&1
     149                       printprocesslog "ERROR cacofile $cacofile not found for $calfile"
    149150                       com=$Fnocacofile
    150151                       comadd=$runno
    151152                       check=0
     153                       break 2
    152154                    fi   
    153155                    continue
     
    158160              done
    159161           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
    160163           ./merpp -u --log=$merpplogpath/merppccupdate$runno.log --html=$merpplogpath/merppccupdate$runno.html --auto-time-stop --runfile=$runno $ccfile $calfile 2>> $scriptlog> /dev/null
    161164           check2=$?
     
    165168                        ;;
    166169                   *)   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"
    168171                        com=$Fmerppcc
    169172                        comadd=$runno
     
    171174                        break ;;
    172175           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
    173177           ./merpp -u --log=$merpplogpath/merppcacoupdate$runno.log --html=$merpplogpath/merppcacoupdate$runno.html --auto-time $cacofile $calfile 2>> $scriptlog> /dev/null
    174178           check3=$?
     
    178182                        ;;
    179183                   *)   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"
    181185                        com=$Fmerppcaco
    182186                        comadd=$runno
  • trunk/MagicSoft/Mars/datacenter/scripts/runstar

    r7944 r8176  
    7171setstatus "start" >> $scriptlog 2>&1
    7272
     73ssh pegasus /opt/SUNWsamfs/bin/stage $inpath/*_Y_*.root &
     74
     75echo "./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
    7376./star -b -q -v4 -f --log=$outpath/$program$no2.log --html=$outpath/$program$no2.html --ind=$inpath --out=$outpath $sequfile  2>> $scriptlog> /dev/null
    7477check1=$?
Note: See TracChangeset for help on using the changeset viewer.