[Darshan-commits] [Git][darshan/darshan][apmpi-pydarshan-fixes] 3 commits: updated autoperf submodule for bug fix
Sudheer Chunduri
xgitlab at cels.anl.gov
Wed Mar 31 18:45:35 CDT 2021
Sudheer Chunduri pushed to branch apmpi-pydarshan-fixes at darshan / darshan
Commits:
c7d2fb20 by Shane Snyder at 2021-03-31T20:18:20+00:00
updated autoperf submodule for bug fix
- - - - -
d9fd34f3 by Shane Snyder at 2021-03-31T20:23:45+00:00
update autoperf submodule for one more bug fix
- - - - -
dcc18274 by Sudheer Chunduri at 2021-03-31T23:44:37+00:00
apmpi/pydarshan: update the pydarshan to process APMPI records
- - - - -
4 changed files:
- − darshan-runtime/configure
- − darshan-util/configure
- darshan-util/pydarshan/darshan/report.py
- modules/autoperf
Changes:
=====================================
darshan-runtime/configure deleted
=====================================
The diff for this file was not included because it is too large.
=====================================
darshan-util/configure deleted
=====================================
The diff for this file was not included because it is too large.
=====================================
darshan-util/pydarshan/darshan/report.py
=====================================
@@ -670,40 +670,32 @@ class DarshanReport(object):
# skip mod
return
- #print(mod+"-HEADER")
- #print(_structdefs[mod+"-HEADER"])
# handling options
dtype = dtype if dtype else self.dtype
- self.records[mod] = []
+ self.records[mod] = DarshanRecordCollection(mod=mod, report=self)
+
# update module metadata
- self.modules[mod]['num_records'] = 0
+ self._modules[mod]['num_records'] = 0
if mod not in self.counters:
self.counters[mod] = {}
- # fetch header record
- header_rec = backend.log_get_apmpi_record(self.log, _structdefs[mod+"-HEADER"])
- self.records[mod].append(header_rec)
-
# fetch records
- rec = backend.log_get_apmpi_record(self.log, _structdefs[mod+"-PERF"])
+ # fetch header record
+ rec = backend.log_get_apmpi_record(self.log, mod, "HEADER", dtype=dtype)
while rec != None:
- if dtype == 'numpy':
- self.records[mod].append(rec)
- else:
- self.records[mod].append(rec)
-
+ self.records[mod].append(rec)
self.data['modules'][mod]['num_records'] += 1
# fetch next
- rec = backend.log_get_apmpi_record(self.log, _structdefs[mod+"-PERF"])
+ rec = backend.log_get_apmpi_record(self.log, mod, "PERF", dtype=dtype)
if self.lookup_name_records:
self.update_name_records()
-
- pass
-
+
+ pass
+
def mod_read_all_dxt_records(self, mod, dtype=None, warnings=True, reads=True, writes=True):
"""
Reads all dxt records for provided module.
=====================================
modules/autoperf
=====================================
@@ -1 +1 @@
-Subproject commit 64d7448238bf7785815e803bf4096defce3a5f97
+Subproject commit 66da41f2cd9bc1bf3f10449a2d7e1a94d2dedadb
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/compare/d813a891ad03eb53b668976e9b107266eb54b5be...dcc18274a2d38c98828cb1f4b109319e748dcf69
--
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/compare/d813a891ad03eb53b668976e9b107266eb54b5be...dcc18274a2d38c98828cb1f4b109319e748dcf69
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/20210331/540d0f35/attachment-0001.html>
More information about the Darshan-commits
mailing list