IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 22, 2019, 4:11:49 PM (7 years ago)
Author:
cclin33
Message:

update addstar for multiple hosts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ccl_branches/ipponly-20191108/ippTasks/addstar.pro

    r40803 r41211  
    405405
    406406  ## we want only a single outstanding addstar job. 
    407   host         local
    408   npending     1
     407#  host         local
     408  npending     50
    409409
    410410  task.exec
     
    433433    book getword addPendingExp $pageName image_only -var IMAGE_ONLY
    434434    book getword addPendingExp $pageName dbname -var DBNAME
    435 
     435    book getword addPendingExp $pageName dvodbhost  -var DVODBHOST
     436
     437    echo $DBNAME
     438    echo $MINIDVODB_NAME
     439    echo $DVODBHOST
     440
     441    host -required $DVODBHOST
    436442
    437443    # specify choice of remote host based on camera and chip (class_id)
    438     # set.host.for.camera $CAMERA FPA
     444    #set.host.for.camera $CAMERA FPA
    439445
    440446    # set the WORKDIR variable
     
    473479    end
    474480
    475  
    476 
    477481    stdout $LOGDIR/addstar.exp.log
    478482    stderr $LOGDIR/addstar.exp.log
    479483
    480     $run = addstar_run.pl --add_id $ADD_ID --camera $CAMERA --dvodb $DVODB --stage $STAGE --stageroot $STAGEROOT --outroot $outroot --redirect-output
     484    $run = addstar_run.pl --add_id $ADD_ID --camera $CAMERA --dvodb $DVODB --stage $STAGE --stageroot $STAGEROOT --outroot $outroot --redirect-output --dvodbhost $DVODBHOST
     485
    481486    if ("$REDUCTION" != "NULL")
    482487      $run = $run --reduction $REDUCTION
     
    503508    end
    504509
    505 
     510    echo $run
    506511
    507512    if ("$IMAGE_ONLY" == "T")
     
    527532    end
    528533    command $run
     534    showcommand
    529535  end
    530536
     
    546552    book setword addPendingExp $options:0 pantaskState TIMEOUT
    547553  end
     554
    548555end
    549556
Note: See TracChangeset for help on using the changeset viewer.