IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10674


Ignore:
Timestamp:
Dec 12, 2006, 5:25:02 PM (19 years ago)
Author:
eugene
Message:

cleanup lognames

Location:
trunk/ippTasks
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/pantasks.pro

    r10673 r10674  
    22$network = 1
    33$parallel = 1
    4 $scripts = .
    5 $WORKDIR = `ipp_datapath.pl path://ESSENCE/`
     4$scripts = $HOME/src/pantasks/ipp/ippTasks
     5$LOGDIR = `ipp_datapath.pl path://ESSENCE/`
     6$LOGDIR = "$LOGDIR/logs"
     7exec mkdir -p $LOGDIR
     8
    69$loadpoll = 1
    710$loadexec = 5
     
    1619    controller host add sn4
    1720    controller host add sn5
    18 #    controller host add sn6
    19     # sn7 serves the disk
     21#   controller host add sn6
     22# sn7 serves the disk
    2023  end
    2124end
  • trunk/ippTasks/phase0.pro

    r10673 r10674  
    1616
    1717$Phase0ImfileFail = 0
     18
     19if ($?LOGDIR == 0)
     20  echo "LOGDIR not defined: load pantasks.pro first"
     21  break
     22end
     23$LOGSUBDIR = $LOGDIR/phase0
     24exec mkdir -p $LOGSUBDIR
    1825
    1926# select images ready for phase0 analysis
     
    2835  periods      -timeout 30
    2936
    30   stdout phase0.imfile.log
    31   stderr phase0.imfile.log
     37  stdout $LOGSUBDIR/phase0.imfile.log
     38  stderr $LOGSUBDIR/phase0.imfile.log
    3239
    3340  task.exec
     
    106113    end
    107114
    108     stdout $WORKDIR/$EXP_TAG.$CLASS_ID.log
    109     stderr $WORKDIR/$EXP_TAG.$CLASS_ID.log
     115    # XXX this is still a lame rule
     116    $word = `basename $EXP_TAG | tr '.' ' '`
     117    list word -split $word
     118    $base = $word:0
     119    stdout $LOGSUBDIR/$base.p0.log
     120    stderr $LOGSUBDIR/$base.p0.log
    110121
    111122    # create the command line
     
    150161  periods      -timeout 30
    151162
    152   stdout phase0.exp.log
    153   stderr phase0.exp.log
     163  stdout $LOGSUBDIR/phase0.exp.log
     164  stderr $LOGSUBDIR/phase0.exp.log
    154165
    155166  # success
     
    213224    $EXP_TAG   = $word:0
    214225
    215     stdout $WORKDIR/$EXP_TAG.log
    216     stderr $WORKDIR/$EXP_TAG.log
     226    # XXX this is still a lame rule
     227    $word = `basename $EXP_TAG | tr '.' ' '`
     228    list word -split $word
     229    $base = $word:0
     230    stdout $LOGSUBDIR/$base.p0.log
     231    stderr $LOGSUBDIR/$base.p0.log
    217232
    218233    # specify choice of remote host:(need to choose based on chips)
Note: See TracChangeset for help on using the changeset viewer.