IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11536


Ignore:
Timestamp:
Feb 1, 2007, 8:11:03 AM (19 years ago)
Author:
eugene
Message:

various cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/pantasks.pro

    r11522 r11536  
    44$parallel = 1
    55$VERBOSE = 1
    6 
    7 # $scripts = $HOME/src/pantasks/ipp/ippTasks
     6$LOGDIR = `pwd`
    87$scripts = .
    9 # $LOGDIR = `ipp_datapath.pl path://ESSENCE`
    10 # $LOGDIR = `ipp_datapath.pl path://SIMTEST`
    11 # $LOGDIR = `ipp_datapath.pl path://ISPTEST`
    12 # $LOGDIR = $LOGDIR/logs
    13 # exec mkdir -p $LOGDIR
    148
    159$loadpoll = 1
     
    2923$DB:n = 0
    3024
     25macro init.cluster.po
     26  $parallel = 1
     27  controller exit true
     28
     29  # po05 -- using for pantasks
     30  # po23 -- broken perl
     31
     32  controller host add po02
     33  controller host add po03
     34  controller host add po04
     35# controller host add po05
     36  controller host add po06
     37  controller host add po07
     38  controller host add po08
     39  controller host add po09
     40  controller host add po10
     41  controller host add po11
     42  controller host add po12
     43  controller host add po13
     44  controller host add po14
     45  controller host add po15
     46  controller host add po16
     47  controller host add po17
     48  controller host add po18
     49  controller host add po19
     50  controller host add po20
     51  controller host add po21
     52  controller host add po22
     53  controller host add po23
     54  controller host add po24
     55end
     56
     57macro init.cluster.sn
     58  $parallel = 1
     59  controller exit true
     60  controller host add sn2
     61  controller host add sn3
     62  controller host add sn4
     63  controller host add sn5
     64end
     65
    3166macro init.isp
    32   $LOGDIR = `ipp_datapath.pl path://ISP`
    33   $LOGDIR = $LOGDIR/logs
    34   exec mkdir -p $LOGDIR
    35 
    3667  list DB -add isp
    37 
     68end
     69
     70macro init.essence
     71  list DB -add essence_v2
     72end
     73
     74macro init.simtest.local
     75  list DB -add simtest
     76  $parallel = 0
     77  controller exit true
     78end
     79
     80macro init.simtest.default.db
     81  $host = `hostname`
    3882  if ($parallel)
    3983    controller exit true
    40     controller host add po03
    41     controller host add po04
    42     controller host add po05
    43     controller host add po06
    44     controller host add po07
    45     controller host add po08
    46     controller host add po09
    47     controller host add po10
    48     controller host add po11
    49     controller host add po12
    50     controller host add po13
    51     controller host add po14
    52     controller host add po15
    53     controller host add po16
    54     controller host add po17
    55     controller host add po18
    56     controller host add po19
    57     controller host add po20
    58     controller host add po21
    59     controller host add po22
    60     controller host add po24
    61 
    62     # controller host add po02 -- using for pantasks
    63     # controller host add po23 -- broken perl
    64   end
    65 end
    66 
    67 macro init.simtest.local
    68   $LOGDIR = `ipp_datapath.pl path://SIMTEST`
    69   $LOGDIR = $LOGDIR/logs
    70   exec mkdir -p $LOGDIR
    71   $parallel = 0
    72 end
    73 
    74 macro init.simtest.defDB
    75   $LOGDIR = `ipp_datapath.pl path://SIMTEST`
    76   $LOGDIR = $LOGDIR/logs
    77   exec mkdir -p $LOGDIR
    78 
     84    controller host add $host
     85  end
     86end
     87
     88macro init.simtest
     89  list DB -add simtest
     90
     91  $host = `hostname`
    7992  if ($parallel)
    8093    controller exit true
    81     controller host add alala
    82   end
    83 end
    84 
    85 macro init.simtest
    86   $LOGDIR = `ipp_datapath.pl path://SIMTEST`
    87   $LOGDIR = $LOGDIR/logs
    88   exec mkdir -p $LOGDIR
    89 
    90   list DB -add simtest
    91 
    92   if ($parallel)
    93     controller exit true
    94     echo "add your local host with"
    95     echo "controller host add (localhost)"
    96   end
    97 end
    98 
    99 macro init.essence
    100   $LOGDIR = `ipp_datapath.pl path://ESSENCE`
    101   $LOGDIR = $LOGDIR/logs
    102   exec mkdir -p $LOGDIR
    103 
    104   list DB -add essence_v2
    105 
    106   if ($parallel)
    107     controller exit true
    108     controller host add sn2
    109     controller host add sn3
    110     controller host add sn4
    111     controller host add sn5
    112   end
    113 end
    114 
    115 macro init.isptest
    116   $LOGDIR = `ipp_datapath.pl path://ISPTEST`
    117   $LOGDIR = $LOGDIR/logs
    118   exec mkdir -p $LOGDIR
    119 
    120   # list DB -add isp
    121 
    122   if ($parallel)
    123     controller exit true
    124     controller host add po02
    125     controller host add po03
    126     controller host add po04
    127     controller host add po05
    128     controller host add po06
    129     controller host add po07
    130     controller host add po08
    131     controller host add po09
    132     controller host add po10
     94    controller host add $host
    13395  end
    13496end
    13597
    13698# need the ability to activate or deactivate specific tasks...
    137 
    138 macro load.tasks
    139   input $scripts/phase0.pro
    140 #  input $scripts/phase2.pro
    141 #  input $scripts/phase3.pro
    142 
    143   input $scripts/detrend.process.pro
    144   input $scripts/detrend.stack.pro
    145   input $scripts/detrend.norm.pro
    146   input $scripts/detrend.resid.pro
    147   input $scripts/detrend.reject.pro
    148 end
    14999
    150100macro detrend.on
     
    175125macro module.tasks
    176126  module phase0.pro
    177 # input $scripts/phase2.pro
    178 # input $scripts/phase3.pro
    179 
     127# module $scripts/phase2.pro
     128# module $scripts/phase3.pro
    180129  module detrend.process.pro
    181130  module detrend.stack.pro
Note: See TracChangeset for help on using the changeset viewer.