<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>

</head>
<body>
<style type="text/css">
img {
max-width: 100%; height: auto;
}
</style>
<div class="content">
<h3>
Shane Snyder pushed to branch master
at <a href="https://xgitlab.cels.anl.gov/darshan/darshan">darshan / darshan</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://xgitlab.cels.anl.gov/darshan/darshan/commit/7610c2fb8b0e2dd7372ee0f42a7c5b3be31c318f">7610c2fb</a></strong>
<div>
<span>by Shane Snyder</span>
<i>at 2016-05-19T12:45:25-05:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap">add (mpiio or posix) perf. est. to summary graphs</pre>
</li>
<li>
<strong><a href="https://xgitlab.cels.anl.gov/darshan/darshan/commit/534a0e1d3f5e5b4dcad65c5df62b4466331f8f84">534a0e1d</a></strong>
<div>
<span>by Shane Snyder</span>
<i>at 2016-05-20T10:08:03-05:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap">add perf estimate to job summary graphs</pre>
</li>
</ul>
<h4>2 changed files:</h4>
<ul>
<li class="file-stats">
<a href="#620f2ecad2bb6f74b2fcd0134963a841" style="text-decoration: none">
darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
</a>
</li>
<li class="file-stats">
<a href="#ad29afc395839758d41094872298bd0d" style="text-decoration: none">
darshan-util/darshan-job-summary/share/summary.tex
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="620f2ecad2bb6f74b2fcd0134963a841">
<a href="https://xgitlab.cels.anl.gov/darshan/darshan/compare/9b2600e67f02aadea666df70f29f9ff59294cf04...534a0e1d3f5e5b4dcad65c5df62b4466331f8f84#diff-0">
<strong>
darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="background: #ffdddd; color: #000000">--- a/darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
</span><span style="background: #ddffdd; color: #000000">+++ b/darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
</span><span style="color: #aaaaaa">@@ -54,7 +54,7 @@ if ($verbose_flag)
</span>     print "verbose: $tmp_dir\n";
 }
 
<span style="background: #ffdddd; color: #000000">-open(PARSE_OUT, "$darshan_parser $input_file |") || die("Can't execute \"$darshan_parser $input_file\": $!\n");
</span><span style="background: #ddffdd; color: #000000">+open(PARSE_OUT, "$darshan_parser --base --perf $input_file |") || die("Can't execute \"$darshan_parser $input_file\": $!\n");
</span> 
 open(FA_READ, ">$tmp_dir/file-access-read.dat") || die("error opening output file: $!\n");
 open(FA_WRITE, ">$tmp_dir/file-access-write.dat") || die("error opening output file: $!\n");
<span style="color: #aaaaaa">@@ -79,6 +79,10 @@ my $cumul_write_bytes_shared = 0;
</span> my $cumul_meta_shared = 0;
 my $cumul_meta_indep = 0;
 
<span style="background: #ddffdd; color: #000000">+my $perf_est = 0.0;
+my $perf_layer = "";
+my $perf_mbytes = 0;
+
</span> my $first_data_line = 1;
 my %file_record_hash = ();
 my %fs_data = ();
<span style="color: #aaaaaa">@@ -134,6 +138,30 @@ while($line = <PARSE_OUT>)
</span>             ($junk, $version) = split(':', $line, 2);
             $version =~ s/^\s+//;
         }
<span style="background: #ddffdd; color: #000000">+        elsif ($line =~ /^# agg_perf_by_slowest: /)
+        {
+            if($perf_layer eq "")
+            {
+                ($junk, $perf_est) = split(':', $line, 2);
+                $perf_est = sprintf("%.2f", $perf_est);
+                $perf_layer = "POSIX";
+            }
+            elsif($perf_layer eq "POSIX")
+            {
+                ($junk, $perf_est) = split(':', $line, 2);
+                $perf_est = sprintf("%.2f", $perf_est);
+                $perf_layer = "MPI-IO";
+            }
+        }
+        elsif ($line =~ /^# total_bytes: /)
+        {
+            if($perf_mbytes == 0)
+            {
+                ($junk, $perf_mbytes) = split(':', $line, 2);
+                $perf_mbytes = $perf_mbytes / 1024 / 1024;
+                $perf_mbytes = sprintf("%.1f", $perf_mbytes);
+            }
+        }
</span>         elsif ($line =~ /^# \*WARNING\*: .* contains incomplete data!/)
         {
             $partial_flag = 1;
<span style="color: #aaaaaa">@@ -964,6 +992,10 @@ my $latex_cmd_line = "\"\\def\\titlecmd{$cmd} \\
</span>     \\def\\filecwbs{$cwbs} \\
     \\def\\filecmi{$cmi} \\
     \\def\\filecms{$cms} \\
<span style="background: #ddffdd; color: #000000">+    \\def\\filecmi{$cmi} \\
+    \\def\\perfest{$perf_est} \\
+    \\def\\perflayer{$perf_layer} \\
+    \\def\\perfbytes{$perf_mbytes} \\
</span>     \\input{summary.tex}\" \\
     @__DARSHAN_PDFLATEX_HALT_ON_ERROR@";
 
</code></pre>

<br>
</li>
<li id="ad29afc395839758d41094872298bd0d">
<a href="https://xgitlab.cels.anl.gov/darshan/darshan/compare/9b2600e67f02aadea666df70f29f9ff59294cf04...534a0e1d3f5e5b4dcad65c5df62b4466331f8f84#diff-1">
<strong>
darshan-util/darshan-job-summary/share/summary.tex
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="background: #ffdddd; color: #000000">--- a/darshan-util/darshan-job-summary/share/summary.tex
</span><span style="background: #ddffdd; color: #000000">+++ b/darshan-util/darshan-job-summary/share/summary.tex
</span><span style="color: #aaaaaa">@@ -50,13 +50,17 @@ which may skew results in this document.
</span> {
     \input{job-table.tex}
 }\\
<span style="background: #ddffdd; color: #000000">+\vspace{1em}
+I/O performance \emph{estimate} (at the \perflayer \ layer):
+transferred \textcolor{red}{\perfbytes \ MiB} at \textcolor{red}{\perfest \ MiB/s}
+\vspace{3em}
</span> \subfigure
 {
<span style="background: #ffdddd; color: #000000">-    \includegraphics[scale=0.75]{time-summary.pdf}
</span><span style="background: #ddffdd; color: #000000">+    \includegraphics[scale=0.65]{time-summary.pdf}
</span> }
 \subfigure
 {
<span style="background: #ffdddd; color: #000000">-    \includegraphics[scale=0.75]{op-counts.pdf}
</span><span style="background: #ddffdd; color: #000000">+    \includegraphics[scale=0.65]{op-counts.pdf}
</span> }
 \end{figure*}
 
<span style="color: #aaaaaa">@@ -64,12 +68,12 @@ which may skew results in this document.
</span> \centering
 \subfigure
 {
<span style="background: #ffdddd; color: #000000">-    \includegraphics[scale=0.75]{posix-access-hist.pdf}
</span><span style="background: #ddffdd; color: #000000">+    \includegraphics[scale=0.65]{posix-access-hist.pdf}
</span> }
 \ifdefined\inclmpiio
 \subfigure
 {
<span style="background: #ffdddd; color: #000000">-    \includegraphics[scale=0.75]{mpiio-access-hist.pdf}
</span><span style="background: #ddffdd; color: #000000">+    \includegraphics[scale=0.65]{mpiio-access-hist.pdf}
</span> }
 \fi
 \end{figure*}
</code></pre>

<br>
</li>

</div>
<div class="footer" style="margin-top: 10px">
<p style="color: #777; font-size: small">

<br>
<a href="https://xgitlab.cels.anl.gov/darshan/darshan/compare/9b2600e67f02aadea666df70f29f9ff59294cf04...534a0e1d3f5e5b4dcad65c5df62b4466331f8f84">View it on GitLab</a>.
<br>
You're receiving this email because of your account on xgitlab.cels.anl.gov.
If you'd like to receive fewer emails, you can
adjust your notification settings.

</p>
</div>
</body>
</html>