Changeset 6696


Ignore:
Timestamp:
Apr 30, 2018 3:00:15 PM (6 years ago)
Author:
clarksm
Message:

Do not allow Rappture to record MiddleWareTime? metrics when
jobproto_col = submit. This avoids double counting in joblog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.7/lang/tcl/scripts/task.tcl

    r6685 r6696  
    767767    }
    768768   
    769     # Need to save job info? then invoke the callback
    770     if { [string length $jobstats] > 0} {
    771         lappend args \
    772             "job"      [incr jobnum] \
    773             "event"    $simulation \
    774             "start"    $times(start) \
    775             "walltime" $times(walltime) \
    776             "cputime"  $times(cputime) \
    777             "status"   $_job(exitcode)
    778         uplevel #0 $jobstats $args
    779     }
     769#   job info is not required because jobprotocol = submit
     770#   if { [string length $jobstats] > 0} {
     771#       lappend args \
     772#           "job"      [incr jobnum] \
     773#           "event"    $simulation \
     774#           "start"    $times(start) \
     775#           "walltime" $times(walltime) \
     776#           "cputime"  $times(cputime) \
     777#           "status"   $_job(exitcode)
     778#       uplevel #0 $jobstats $args
     779#   }
    780780       
    781781    #
     
    822822        }
    823823       
    824         if {[string length $jobstats] > 0} {
    825             uplevel #0 $jobstats $details
    826         }
     824#       if {[string length $jobstats] > 0} {
     825#           uplevel #0 $jobstats $details
     826#       }
    827827       
    828828        incr subjobs
Note: See TracChangeset for help on using the changeset viewer.