IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 20, 2008, 3:59:25 PM (18 years ago)
Author:
eugene
Message:

merging changes from eam_branch_20080109: adding workdir/volume mangling and chip/hostname relationships

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/pantasks.pro

    r15780 r16173  
    11
    22# XXX make these upper-case
     3$NEBULOUS = 0
    34$network = 1
    45$parallel = 1
     
    339340  ??
    340341end
     342
     343macro set.workdir.by.camera
     344  if ($0 != 3)
     345    echo "USAGE: set.workdir.by.camera (camera) (class_id)"
     346    break
     347  end
     348
     349  # missing camera and/or chiphosts table results in host = NULL
     350  book getword chiphosts $1 $2 -var $host
     351
     352  if ($NEBULOUS)
     353    if ("$host" == "NULL")
     354      $workdir = $workdir_default
     355      $volume  = "NULL"
     356      return
     357    end
     358    strsub $workdir_template @HOST@ $host -var workdir
     359    strsub $volume_template @HOST@ $host -var volume
     360    return
     361  end
     362
     363  if ("$host" == "NULL")
     364    $workdir = $workdir_default
     365    return
     366  end
     367  strsub $workdir_template @HOST@ $host -var workdir
     368end
     369
     370macro set.host.by.camera
     371  if ($0 != 3)
     372    echo "USAGE: set.host.by.camera (camera) (class_id)"
     373    break
     374  end
     375
     376  if (not($parallel))
     377    host local
     378    return
     379  end
     380
     381  # missing camera and/or chiphosts table results in host = NULL
     382  book getword chiphosts $1 $2 -var $host
     383
     384  if ("$host" == "NULL")
     385    host anyhost
     386  else
     387    host $host
     388  end
     389end
Note: See TracChangeset for help on using the changeset viewer.