IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37058


Ignore:
Timestamp:
Jul 17, 2014, 11:50:29 AM (12 years ago)
Author:
eugene
Message:

add diff.summary controls; bump warp limit value; bump diff limit value; loop quickly over the databases in summit copy, then pause for a while; survey.publish loops quickly over the entries in the list and pauses between passes

Location:
tags/ipp-20130712/ippTasks
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20130712/ippTasks/diff.pro

    r35949 r37058  
    6161  end
    6262  task diff.revert
     63    active false
     64  end
     65end
     66
     67macro diff.summary.on
     68  task diff.summary.load
     69    active true
     70  end
     71  task diff.summary.run
     72    active true
     73  end
     74end
     75
     76macro diff.summary.off
     77  task diff.summary.load
     78    active false
     79  end
     80  task diff.summary.run
    6381    active false
    6482  end
     
    125143    add_poll_args run
    126144    add_poll_labels run
     145    # increase the poll limit for warp over the default to
     146    # help it keep up with chip processing
     147    # NOTE : it is not a problem for difftool to have multiple
     148    # -limit entries: the last one is used
     149    $run = $run -limit {$POLL_LIMIT * 2}
    127150    command $run
    128151  end
  • tags/ipp-20130712/ippTasks/ipphosts.mhpcc.config

    r34067 r37058  
    1818ipphosts METADATA
    1919  camera STR skycell
    20   count S32  30
     20  count S32  60
    2121  sky00 STR  stsci00.0
    2222  sky01 STR  stsci00.1
     
    4949  sky28 STR  stsci09.1
    5050  sky29 STR  stsci09.2
     51  sky30 STR  stsci10.0
     52  sky31 STR  stsci10.1
     53  sky32 STR  stsci10.2
     54  sky33 STR  stsci11.0
     55  sky34 STR  stsci11.1
     56  sky35 STR  stsci11.2
     57  sky36 STR  stsci12.0
     58  sky37 STR  stsci12.1
     59  sky38 STR  stsci12.2
     60  sky39 STR  stsci13.0
     61  sky40 STR  stsci13.1
     62  sky41 STR  stsci13.2
     63  sky42 STR  stsci14.0
     64  sky43 STR  stsci14.1
     65  sky44 STR  stsci14.2
     66  sky45 STR  stsci15.0
     67  sky46 STR  stsci15.1
     68  sky47 STR  stsci15.2
     69  sky48 STR  stsci16.0
     70  sky49 STR  stsci16.1
     71  sky50 STR  stsci16.2
     72  sky51 STR  stsci17.0
     73  sky52 STR  stsci17.1
     74  sky53 STR  stsci17.2
     75  sky54 STR  stsci18.0
     76  sky55 STR  stsci18.1
     77  sky56 STR  stsci18.2
     78  sky57 STR  stsci19.0
     79  sky58 STR  stsci19.1
     80  sky59 STR  stsci19.2
    5181END
    5282
  • tags/ipp-20130712/ippTasks/pantasks.pro

    r36502 r37058  
    645645    host anyhost
    646646  else
     647    # echo host $host
    647648    host $host
    648649  end
     
    655656  end
    656657
    657   local skycellID varname count host skyname skyhash
     658  local skycellID varname count host skyname skyhash fullhost
    658659  $skycellID = $1
    659660
     
    676677
    677678  # missing ipphosts table results in host = NULL
    678   book getword ipphosts skycell $skyname -var host
     679  book getword ipphosts skycell $skyname -var fullhost
     680  list word -splitbychar . $fullhost
     681  $host = $word:0
    679682
    680683  if ("$host" == "NULL")
    681684    host anyhost
    682685  else
     686    # echo host $host
    683687    host $host
    684688  end
  • tags/ipp-20130712/ippTasks/stack.pro

    r29732 r37058  
    7272    active false
    7373  end
     74  task stack.summary.load
     75    active false
     76  end
     77  task stack.summary.run
     78    active false
     79  end
     80end
     81
     82macro stack.summary.on
     83  task stack.summary.load
     84    active true
     85  end
     86  task stack.summary.run
     87    active true
     88  end
     89end
     90
     91macro stack.summary.off
    7492  task stack.summary.load
    7593    active false
  • tags/ipp-20130712/ippTasks/summit.copy.pro

    r36502 r37058  
    567567        command pztool -clearcommonfaults -dbname $DB:$pztoolClearFault_DB
    568568
     569        # loop over the multiple databases quickly, then pause for 5 min
    569570        $pztoolClearFault_DB ++
    570         if ($pztoolClearFault_DB >= $DB:n) set pztoolClearFault_DB = 0
     571        if ($pztoolClearFault_DB >= $DB:n)
     572          set pztoolClearFault_DB = 0
     573          periods -exec 300
     574        else
     575          periods -exec 30
     576        end
    571577      end
    572       periods -exec 1800
    573578    end
    574579
  • tags/ipp-20130712/ippTasks/survey.pro

    r35885 r37058  
    14341434  host local
    14351435 
    1436   periods      -poll $SURVEY_POLL
    1437   periods      -exec $SURVEY_EXEC
     1436  # we are going to use a long timeout (900 sec) between passes of the list
     1437  # and a short timeout (10 sec) while we are doing the full list
     1438  periods      -exec 10
     1439  periods      -poll 2
    14381440  periods      -timeout $SURVEY_TIMEOUT
    14391441  npending     1
     
    14461448    book npages SURVEY_PUBLISH -var N
    14471449    if ($N == 0)
    1448     # echo "No labels for processing"
     1450      # echo "No labels for processing"
    14491451      break
    14501452    endif
     1453
     1454    # short timeout while we have something to do
     1455    periods -exec 10
    14511456
    14521457    # survey.publish allows multiple entries per label.
     
    14621467      book getpage SURVEY_PUBLISH 0 -var tag -key STATE NEW
    14631468
    1464       # Select different database
    1465       $SURVEY_PUBLISH ++
    1466       if ($SURVEY_PUBLISH >= $DB:n) set SURVEY_PUBLISH = 0
     1469      # Select different database, set a long timeout
     1470      $SURVEY_PUBLISH_DB ++
     1471      if ($SURVEY_PUBLISH_DB >= $DB:n) set SURVEY_PUBLISH_DB = 0
     1472      periods -exec 900
     1473      date -var mytime
     1474      echo "done with publish list @ $mytime"
    14671475    end
    14681476
     
    14811489      option DEFAULT
    14821490    else
    1483       $run = $run -dbname $DB:$SURVEY_PUBLISH
    1484       option $DB:$SURVEY_PUBLISH
     1491      $run = $run -dbname $DB:$SURVEY_PUBLISH_DB
     1492      option $DB:$SURVEY_PUBLISH_DB
    14851493    end
    14861494   
    14871495    # echo $run
    1488 
    14891496    command $run
    14901497   
  • tags/ipp-20130712/ippTasks/warp.pro

    r36652 r37058  
    279279    add_poll_args run
    280280    add_poll_labels run
     281    # increase the poll limit for warp over the default to
     282    # help it keep up with chip processing
     283    # NOTE : it is not a problem for warptool to have multiple
     284    # -limit entries: the last one is used
     285    $run = $run -limit {$POLL_LIMIT * 2}
    281286    command $run
    282287  end
Note: See TracChangeset for help on using the changeset viewer.