IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 10, 2013, 11:34:33 AM (14 years ago)
Author:
eugene
Message:

merge changes from trunk

Location:
branches/eam_branches/ipp-20121219
Files:
34 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20121219

  • branches/eam_branches/ipp-20121219/Ohana

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/Ohana/src/libohana/src

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/Ohana/src/opihi

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/Ohana/src/opihi/cmd.astro

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/Ohana/src/opihi/cmd.data

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/ippMonitor

  • branches/eam_branches/ipp-20121219/ippMonitor/Makefile.in

    r34688 r34903  
    215215$(DESTWWW)/simplePlotStackImage.php \
    216216$(DESTWWW)/simplePlotStaticskyImage.php \
     217$(DESTWWW)/newsimplePlotStaticskyImage.php \
    217218$(DESTWWW)/simplePlotSkycalImage.php \
    218219$(DESTWWW)/histogramBackgroundImage.php \
  • branches/eam_branches/ipp-20121219/ippMonitor/raw/czartool_labels.php

    r34688 r34903  
    169169echo "<tr><td>Documentation</td><td><a href=\"http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/Processing\"><font color=\"blue\">here</font></a></td></tr>";
    170170echo "<tr><td>Cluster load</td><td><a href=\"http://ganglia.pan-starrs.ifa.hawaii.edu/?r=hour&s=descending&hc=6&c=IPP%2520Production\"><font color=\"blue\">here</font></a> <a href=\"http://ganglia.pan-starrs.ifa.hawaii.edu/?m=cpu_report&r=hour&s=by%2520name&c=IPP+Production&h=&sh=1&hc=8&z=small\"><font color=\"blue\">cpu_report</font></a> <a href=\"http://ganglia.pan-starrs.ifa.hawaii.edu/?m=mem_report&r=hour&s=by%2520name&c=IPP+Production&h=&sh=1&hc=8&z=small\"><font color=\"blue\">mem_report</font></a></td></tr>";
    171 echo "<tr><td>Who's using the cluster?</td><td><a href=\"http://ippmonitor.ipp.ifa.hawaii.edu/ippMonitor/clusterMonitor/top.html\"><font color=\"blue\">here</font></a> <a href=\"http://ippmonitor.ipp.ifa.hawaii.edu/ippMonitor/clusterMonitor2\"><font color=\"blue\">new</font></td></tr>";
     171echo "<tr><td>Who's using the cluster?</td><td><a href=\"http://ippmonitor.ipp.ifa.hawaii.edu/ippMonitor/clusterMonitor/index.php\"><font color=\"blue\">here</font></a></td></tr>";
    172172echo "<tr><td>Files monitor</td><td><a href=\"http://ippmonitor.ipp.ifa.hawaii.edu/diskMonitor\"><font color=\"blue\">here</font></a></td></tr>";
    173173echo "<tr><td>IPP metrics</td><td><a href=\"http://ipp0022.ifa.hawaii.edu/ps1sc/ippMetrics\"><font color=\"blue\">here</font></a></td></tr>";
  • branches/eam_branches/ipp-20121219/ippMonitor/raw/site.php.in

    r34688 r34903  
    3030$REPL_USER_NEBULOUS = "ippMonitor";
    3131$REPL_PASSWORD_NEBULOUS = "ippMonitor";
    32 $REPL_DBNAME_NEBULOUS = "ippdb02 (nebulous)";
     32$REPL_DBNAME_NEBULOUS = "ippdb02 (nebulous / 50,000 sec behind is acceptable / usually stopped on Mondays and Tuesdays for backups)";
    3333
    3434$REPL_HOST_PSTAMP = "ippc19.IfA.Hawaii.Edu";
     
    5050$REPL_USER_NEBULOUS_SECONDARY = "ippMonitor";
    5151$REPL_PASSWORD_NEBULOUS_SECONDARY = "ippMonitor";
    52 $REPL_DBNAME_NEBULOUS_SECONDARY = "ippdb04 (secondary nebulous / 50,000 sec behind is acceptable / usually stopped on Mondays and Tuesdays)";
    53 
    54 $REPL_HOST_NEBULOUS_TERNARY = "ippc63.IfA.Hawaii.Edu";
    55 $REPL_USER_NEBULOUS_TERNARY = "ippMonitor";
    56 $REPL_PASSWORD_NEBULOUS_TERNARY = "ippMonitor";
    57 $REPL_DBNAME_NEBULOUS_TERNARY = "ippc63 (secondary nebulous / 50,000 sec behind is acceptable / usually stopped on Mondays and Tuesdays)";
    58 
     52$REPL_DBNAME_NEBULOUS_SECONDARY = "ippdb04 (secondary nebulous)";
    5953
    6054?>
  • branches/eam_branches/ipp-20121219/ippScripts/scripts/destreak_restore_camera.pl

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/ippScripts/scripts/ipp_apply_burntool_single.pl

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/ippScripts/scripts/ipp_cleanup.pl

    r34773 r34903  
    203203    # loop over all of the imfiles, determine the path_base and class_id for each
    204204    my $num_errors = 0;
     205    my $num_updated = 0;
    205206    foreach my $imfile (@$imfiles) {
    206207        my $class_id = $imfile->{class_id};
     
    323324                }
    324325                set_destreak_goto_cleaned();
     326                $num_updated++;
    325327            }
    326328        } else {
     
    351353        }
    352354    }
    353     print "Cleanup completed for chip_id $stage_id.";
     355    if ($num_updated eq 0 and $num_errors eq 0) {
     356        # no chips were updated by this procedssing so set state to $done_state
     357        my $command = "$chiptool -chip_id $stage_id -updaterun -set_state $done_state";
     358        $command .= " -dbname $dbname" if defined $dbname;
     359
     360        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     361            run(command => $command, verbose => $verbose);
     362        unless ($success) {
     363            $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
     364            &my_die("Unable to perform chiptool: $error_code", "chip", $stage_id, $error_code);
     365        }
     366    }
     367    print "Cleanup completed for chip_id $stage_id. num_updated: $num_updated";
    354368    print " num_errors: $num_errors" if $num_errors;
    355369    print "\n";
     
    497511    my @files = ();
    498512    my $num_errors = 0;
     513    my $num_updated = 0;
    499514    foreach my $skyfile (@$skyfiles) {
    500515        my $path_base = $skyfile->{path_base};
     
    599614
    600615                set_destreak_goto_cleaned();
     616                $num_updated++;
    601617            }
    602618
     
    625641        }
    626642    }
    627     print "Cleanup completed for warp_id $stage_id.";
    628     print " num_errors: $num_errors" if $num_errors;
     643    if ($num_updated eq 0 and $num_errors eq 0) {
     644        # no skycells were updated by this procedssing so set state to $done_state
     645        my $command = "$warptool -warp_id $stage_id -updaterun -set_state $done_state";
     646        $command .= " -dbname $dbname" if defined $dbname;
     647
     648        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     649            run(command => $command, verbose => $verbose);
     650        unless ($success) {
     651            $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
     652            &my_die("Unable to perform warptool: $error_code", "warp", $stage_id, $error_code);
     653        }
     654    }
     655    print "Cleanup completed for warp_id $stage_id. num_updated: $num_updated";
     656    print " num_errors:  $num_errors" if $num_errors;
    629657    print "\n";
    630658    exit 0;
     
    802830
    803831    my $num_errors = 0;
     832    my $num_updated = 0;
    804833    my @files = ();
    805834    foreach my $skyfile (@{ $skyfiles }) {
     
    926955                }
    927956                set_destreak_goto_cleaned();
     957                $num_updated++;
    928958            }
    929959
     
    953983        }
    954984    }
    955     print "Cleanup completed for diff_id $stage_id.";
     985    if ($num_updated eq 0 and $num_errors eq 0) {
     986        # no skycells were updated by this procedssing so set state to $done_state
     987        my $command = "$difftool -diff_id $stage_id -updaterun -set_state $done_state";
     988        $command .= " -dbname $dbname" if defined $dbname;
     989
     990        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     991            run(command => $command, verbose => $verbose);
     992        unless ($success) {
     993            $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
     994            &my_die("Unable to perform difftool: $error_code", "diff", $stage_id, $error_code);
     995        }
     996    }
     997    print "Cleanup completed for diff_id $stage_id. num_updated: $num_updated";
    956998    print " num_errors: $num_errors" if $num_errors;
    957999    print "\n";
  • branches/eam_branches/ipp-20121219/ippScripts/scripts/magic_destreak.pl

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/ippTasks

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/ippToPsps

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/ippTools/share/camtool_find_pendingimfile.sql

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/ippTools/share/chiptool_setimfiletoupdate.sql

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/ippTools/share/pxadmin_create_tables.sql

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/ippTools/share/warptool_towarped.sql

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/ippTools/src

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/ippTools/src/magictool.c

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/ippconfig

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/ippconfig/recipes/ppSub.config

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/ippconfig/recipes/psphot.config

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/ippconfig/recipes/reductionClasses.mdc

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/ppImage/src

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/psModules

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/psphot

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/psphot/src

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/psphot/src/psphotStackImageLoop.c

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/pstamp/scripts

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/psvideophot

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20121219/tools/czarcal

    r33743 r34903  
    2323my @staff = qw(
    2424mark
    25 serge
     25gene
     26bill
     27heather
    2628chris
    27 gene
    28 heather
    29 bill
    3029);
    3130
Note: See TracChangeset for help on using the changeset viewer.