Changeset 11536
- Timestamp:
- Feb 1, 2007, 8:11:03 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/pantasks.pro (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/pantasks.pro
r11522 r11536 4 4 $parallel = 1 5 5 $VERBOSE = 1 6 7 # $scripts = $HOME/src/pantasks/ipp/ippTasks 6 $LOGDIR = `pwd` 8 7 $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/logs13 # exec mkdir -p $LOGDIR14 8 15 9 $loadpoll = 1 … … 29 23 $DB:n = 0 30 24 25 macro 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 55 end 56 57 macro 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 64 end 65 31 66 macro init.isp 32 $LOGDIR = `ipp_datapath.pl path://ISP`33 $LOGDIR = $LOGDIR/logs34 exec mkdir -p $LOGDIR35 36 67 list DB -add isp 37 68 end 69 70 macro init.essence 71 list DB -add essence_v2 72 end 73 74 macro init.simtest.local 75 list DB -add simtest 76 $parallel = 0 77 controller exit true 78 end 79 80 macro init.simtest.default.db 81 $host = `hostname` 38 82 if ($parallel) 39 83 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 86 end 87 88 macro init.simtest 89 list DB -add simtest 90 91 $host = `hostname` 79 92 if ($parallel) 80 93 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 133 95 end 134 96 end 135 97 136 98 # need the ability to activate or deactivate specific tasks... 137 138 macro load.tasks139 input $scripts/phase0.pro140 # input $scripts/phase2.pro141 # input $scripts/phase3.pro142 143 input $scripts/detrend.process.pro144 input $scripts/detrend.stack.pro145 input $scripts/detrend.norm.pro146 input $scripts/detrend.resid.pro147 input $scripts/detrend.reject.pro148 end149 99 150 100 macro detrend.on … … 175 125 macro module.tasks 176 126 module phase0.pro 177 # input $scripts/phase2.pro 178 # input $scripts/phase3.pro 179 127 # module $scripts/phase2.pro 128 # module $scripts/phase3.pro 180 129 module detrend.process.pro 181 130 module detrend.stack.pro
Note:
See TracChangeset
for help on using the changeset viewer.
