Changeset 11485
- Timestamp:
- Jan 31, 2007, 10:48:44 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/pantasks.pro (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/pantasks.pro
r11476 r11485 49 49 end 50 50 51 macro init.simtest.local 52 $LOGDIR = `ipp_datapath.pl path://SIMTEST` 53 $LOGDIR = $LOGDIR/logs 54 exec mkdir -p $LOGDIR 55 $parallel = 0 56 end 57 51 58 macro init.simtest.defDB 52 59 $LOGDIR = `ipp_datapath.pl path://SIMTEST` … … 69 76 if ($parallel) 70 77 controller exit true 71 controller host add mithrandir 78 echo "add your local host with" 79 echo "controller host add (localhost)" 72 80 end 73 81 end … … 171 179 172 180 macro set_standard_args 173 $ARGS = "" 181 # XXX be careful: $ARGS cannot be resolved as "" 182 # XXX currently, sprintf is the only good way of creating 183 # an empty variable 184 if ($?WORKDIR == 0) 185 echo error in pantasks: WORKDIR not set 186 stop 187 end 188 if ($?DBNAME == 0) 189 echo error in pantasks: DBNAME not set 190 stop 191 end 174 192 if ("$DBNAME" != "DEFAULT") 175 $ARGS = $ARGS --dbname $DBNAME 176 end 177 if ("$WORKDIR" != "") 178 $ARGS = $ARGS --workdir $WORKDIR 193 $ARGS = --workdir $WORKDIR --dbname $DBNAME 179 194 else 180 echo WORKDIR not set195 $ARGS = --workdir $WORKDIR 181 196 end 182 197 end … … 192 207 $exitCode = $3 193 208 209 if ($VERBOSE > 4) 210 echo "*** stdout ***" 211 queueprint stdout 212 echo "*** stderr ***" 213 queueprint stderr 214 echo "JOB_STATUS: $JOB_STATUS" 215 end 216 194 217 # success 195 218 if ($exitCode == $EXIT_SUCCESS)
Note:
See TracChangeset
for help on using the changeset viewer.
