IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37296


Ignore:
Timestamp:
Aug 24, 2014, 1:14:01 PM (12 years ago)
Author:
eugene
Message:

remote --poll from remote_poll command; adjust periods a bit; fix args for prepare_cam, etc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-pv3-20140717/ippTasks/remote.pro

    r37295 r37296  
    9999  periods     -exec 300
    100100  periods     -timeout 30
     101  active      true
    101102  npending    1
    102   active      true
    103103
    104104  task.exec
     
    155155  periods     -exec 1800
    156156  periods     -timeout 30
     157  active      false
    157158  npending    1
    158   active      false
    159159
    160160  task.exec
     
    201201  host       local
    202202  periods    -poll $LOADPOLL
    203   periods    -exec 30
     203  periods    -exec $LOADEXEC
     204  periods    -timeout 30
     205  active     true
    204206  npending   1
    205   active     true
    206207
    207208  task.exec
     
    250251task           remote.prepcomp.run
    251252  host         anyhost
    252   periods      -poll $LOADPOLL
    253   periods      -exec $LOADEXEC
     253  periods      -poll $RUNPOLL
     254  periods      -exec $RUNEXEC
    254255  periods      -timeout 600
    255256  active       true
    256   npending     10
    257 
    258   task.exec
     257
     258  task.exec
     259    # if we are unable to run the 'exec', use a long retry time
     260    periods -exec $RUNEXEC
     261
    259262    stdout $LOGDIR/remote.prepcomp.run
    260263    stderr $LOGDIR/remote.prepcomp.run
     
    280283    end
    281284    if ("$STAGE" == "camera")
    282       $command = sc_prepare_camera.pl --camera GPC1 --stage_id $STAGE_ID --remote_id $REMOTE_ID --path_base $outroot --dbname $DBNAME
    283       echo "skipping camera until scripts are ready"
    284       break
     285      $command = sc_prepare_camera.pl --camera GPC1 --cam_id $STAGE_ID --remote_id $REMOTE_ID --path_base $outroot --dbname $DBNAME
    285286    end
    286287    if ("$STAGE" == "warp")
    287       $command = sc_prepare_warp.pl --camera GPC1 --stage_id $STAGE_ID --remote_id $REMOTE_ID --path_base $outroot --dbname $DBNAME
     288      $command = sc_prepare_warp.pl --camera GPC1 --warp_id $STAGE_ID --remote_id $REMOTE_ID --path_base $outroot --dbname $DBNAME
    288289      echo "skipping warp until scripts are ready"
    289290      break
    290291    end
    291292    if ("$STAGE" == "stack")
    292       $command = sc_prepare_stack.pl --camera GPC1 --stage_id $STAGE_ID --remote_id $REMOTE_ID --path_base $outroot --dbname $DBNAME
     293      $command = sc_prepare_stack.pl --camera GPC1 --stack_id $STAGE_ID --remote_id $REMOTE_ID --path_base $outroot --dbname $DBNAME
    293294      echo "skipping stack until scripts are ready"
    294295      break
     
    296297
    297298    options $pageName
     299
     300    periods -exec 0.05
    298301    command $command
    299302  end
     
    370373  periods      -timeout 600000
    371374  active       true
    372   npending     10
     375  npending     1
    373376
    374377  task.exec
     
    596599    # This can't have an invalid job_id
    597600    if ($JOB_ID == -1) break
    598     $command = sc_remote_poll.pl --remote_id $REMOTE_ID --path_base $outroot --verbose --dbname $DBNAME --camera GPC1 --poll --job_id $JOB_ID
     601    $command = sc_remote_poll.pl --remote_id $REMOTE_ID --path_base $outroot --verbose --dbname $DBNAME --camera GPC1 --job_id $JOB_ID
    599602
    600603    options $pageName
Note: See TracChangeset for help on using the changeset viewer.