[Darshan-commits] [Git][darshan/darshan][master] bug fix to MiB value reported in job summary

Philip Carns xgitlab at cels.anl.gov
Fri Apr 20 14:29:44 CDT 2018


Philip Carns pushed to branch master at darshan / darshan


Commits:
6639a912 by Phil Carns at 2018-04-20T15:28:50-04:00
bug fix to MiB value reported in job summary

- perf_mbytes is a global used later in pdf generation, do not overwrite
  in stdio output parsing

- - - - -


2 changed files:

- ChangeLog
- darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in


Changes:

=====================================
ChangeLog
=====================================
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,11 @@
 Darshan Release Change Log
 --------------------------
 
+Darshan-3.1.7
+=============
+* bug fix to MiB reported in I/O performance estimate of
+  darshan-job-summary.pl when both posix and stdio access is present
+
 Darshan-3.1.6
 =============
 * bug fix for linker failures caused when linking external libraries


=====================================
darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
=====================================
--- a/darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
+++ b/darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
@@ -166,8 +166,8 @@ while($line = <PARSE_OUT>)
         {
             if($current_module eq "STDIO")
             {
-                ($junk, $perf_mbytes) = split(':', $line, 2);
-                $stdio_perf_mbytes = $perf_mbytes / 1024 / 1024;
+                ($junk, $stdio_perf_mbytes) = split(':', $line, 2);
+                $stdio_perf_mbytes = $stdio_perf_mbytes / 1024 / 1024;
                 $stdio_perf_mbytes = sprintf("%.1f", $stdio_perf_mbytes);
             }
             elsif($perf_mbytes == 0)



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/6639a912e3d8b6cdaa2ccdec01146fcb83fd7d99

---
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/6639a912e3d8b6cdaa2ccdec01146fcb83fd7d99
You're receiving this email because of your account on xgitlab.cels.anl.gov.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20180420/86e457c4/attachment.html>


More information about the Darshan-commits mailing list