[Darshan-commits] [Git][darshan/darshan][carns/issue-284-incomplete-warning] improve incomplete log handling in job-summary
Philip Carns
xgitlab at cels.anl.gov
Mon Mar 15 15:23:41 CDT 2021
Philip Carns pushed to branch carns/issue-284-incomplete-warning at darshan / darshan
Commits:
85d5df62 by Phil Carns at 2021-03-15T16:22:18-04:00
improve incomplete log handling in job-summary
- use new --show-incomplete option for darshan-parser
- refer the user to darshan-parser for more information
- - - - -
2 changed files:
- darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
- darshan-util/darshan-job-summary/share/summary.tex
Changes:
=====================================
darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
=====================================
@@ -54,7 +54,10 @@ if ($verbose_flag)
print "verbose: $tmp_dir\n";
}
-open(PARSE_OUT, "$darshan_parser --base --perf $input_file |") || die("Can't execute \"$darshan_parser $input_file\": $!\n");
+# Note that we use the --show-incomplete option here because
+# darshan-job-summary will display a clear warning if this condition is
+# encountered anyway.
+open(PARSE_OUT, "$darshan_parser --show-incomplete --base --perf $input_file |") || die("Can't execute \"$darshan_parser $input_file\": $!\n");
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");
=====================================
darshan-util/darshan-job-summary/share/summary.tex
=====================================
@@ -37,8 +37,9 @@
\twocolumn[
\vspace{3.5in}
\center
-{\bf \textcolor{red}{WARNING}}: This Darshan log contains incomplete data
-which may skew results in this document.
+{\bf \textcolor{red}{WARNING}}: This Darshan log contains incomplete data.
+This happens when a module runs out of memory to store new record data.
+Please run darshan-parser on the log file for more information.
\endcenter
]
\newpage
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/commit/85d5df620e9b9db7bcd481444b0236a2c49b1c69
--
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/commit/85d5df620e9b9db7bcd481444b0236a2c49b1c69
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/20210315/3f2ced17/attachment-0001.html>
More information about the Darshan-commits
mailing list