Changeset 16743 for trunk/ippTasks/diff.pro
- Timestamp:
- Feb 28, 2008, 4:26:54 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/diff.pro (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/diff.pro
r16300 r16743 115 115 book setword diffSkyfile $pageName pantaskState RUN 116 116 book getword diffSkyfile $pageName diff_id -var DIFF_ID 117 book getword diffSkyfile $pageName workdir -var WORKDIR 117 book getword diffSkyfile $pageName workdir -var WORKDIR_TEMPLATE 118 118 book getword diffSkyfile $pageName dbname -var DBNAME 119 119 120 # specify choice of remote host 121 # XXX need to choose based on diffs 122 if ($PARALLEL) 123 host anyhost 124 else 125 host local 126 end 120 ### XXX Instead of setting these by camera, need to set by skycell_id 121 set.host.for.camera $CAMERA $DIFF_ID 122 set.workdir.by.camera $CAMERA $DIFF_ID $WORKDIR_TEMPLATE $default_host WORKDIR 127 123 128 ## generate output log based on filerule 129 if ("$WORKDIR" == "NULL") 130 $outroot = `pwd` 131 else 132 $outroot = `ipp_datapath.pl $WORKDIR` 133 end 134 sprintf outroot "%s/diff.%s" $outroot $DIFF_ID 135 sprintf logfile "%s/skycell.log" $outroot 124 sprintf outroot "%s/tess_%s/%s/%s.%s.dif.%s" $WORKDIR $TESS_ID $SKYCELL_ID $TESS_ID $SKYCELL_ID $DIFF_ID 125 126 ## generate output log based on filerule (convert the URI to a PATH) 127 $logfile = `ipp_filename.pl --filerule LOG.EXP --camera $CAMERA --class_id $STACK_ID --basename $outroot` 128 136 129 stdout $logfile 137 130 stderr $logfile 138 exec mkdir -p $outroot 131 dirname $logfile -var outpath 132 mkdir $outpath 139 133 140 $run = diff_skycell.pl --diff_id $DIFF_ID 141 if ("$WORKDIR" != "NULL") 142 $run = $run --workdir $WORKDIR 143 end 134 $run = diff_skycell.pl --diff_id $DIFF_ID --outroot $outroot 144 135 add_standard_args run 145 136
Note:
See TracChangeset
for help on using the changeset viewer.
