IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10673


Ignore:
Timestamp:
Dec 12, 2006, 4:17:47 PM (19 years ago)
Author:
eugene
Message:

cleanups

Location:
trunk/ippTasks
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/p0tool.sh

    r10638 r10673  
    1 #!/usr/bin/sh
    2 p0tool -pendingimfile -simple | head -n 20
     1#!/bin/csh -f
     2if ($#argv != 1) then
     3  echo "USAGE: p0tool.sh (Nselect)"
     4  exit 2
     5endif
     6
     7p0tool -pendingimfile -simple | head -n $1
  • trunk/ippTasks/pantasks.pro

    r10636 r10673  
    55$WORKDIR = `ipp_datapath.pl path://ESSENCE/`
    66$loadpoll = 1
    7 $loadexec = 10
     7$loadexec = 5
    88$runpoll = 0.5
    99$runexec = 1
     
    1616    controller host add sn4
    1717    controller host add sn5
    18     controller host add sn6
     18#    controller host add sn6
    1919    # sn7 serves the disk
    2020  end
  • trunk/ippTasks/phase0.pro

    r10638 r10673  
    1515end
    1616
    17 macro test.p0
    18     list testlist -x "p0tool -pendingimfile -simple"
    19     echo $testlist:n
    20     for i 0 $testlist:n
    21       queuepush stdout "$testlist:$i"
    22     end
    23     echo Done pushing.
    24     queuesize stdout -var Nqueue
    25     for i 0 $Nqueue
    26       queuepop stdout -var line
    27       list word -split $line
    28       $EXP_TAG  = $word:0
    29       $CLASS    = $word:1
    30       $CLASS_ID = $word:2
    31       $URI      = $word:3
    32       queuepush Phase0Imfiles -uniq -key 1 "NEW $EXP_TAG $CLASS $CLASS_ID $URI"
    33     end
    34 end
     17$Phase0ImfileFail = 0
    3518
    3619# select images ready for phase0 analysis
     
    3922task           phase0.imfile.load
    4023#  command      p0tool -pendingimfile -simple
    41   command      /home/price/ipp/ippTasks/p0tool.sh
    4224  host         local
    4325
    4426  periods      -poll $loadpoll
    45   periods      -exec 30
     27  periods      -exec $loadexec
    4628  periods      -timeout 30
    4729
    4830  stdout phase0.imfile.log
    4931  stderr phase0.imfile.log
     32
     33  task.exec
     34    command      p0tool.sh {$Phase0ImfileFail + 20}
     35  end
    5036
    5137  # success
     
    7662  task.exit    default
    7763    echo "phase0 pending imfiles: failure"
     64    $Phase0ImfileFail ++
    7865  end
    7966
     
    138125    echo "failure for phase0imfile.pl: $options:0"
    139126    queuepush Phase0Imfiles -replace -key 1 "FAIL $options:0"
     127    $Phase0ImfileFail ++
    140128  end
    141129
Note: See TracChangeset for help on using the changeset viewer.