[Darshan-commits] [Git][darshan/darshan][python-job-summary] pydarshan: include read all for APXC and APMPI records

Sudheer Chunduri xgitlab at cels.anl.gov
Tue Apr 6 21:13:09 CDT 2021



Sudheer Chunduri pushed to branch python-job-summary at darshan / darshan


Commits:
066be8af by Sudheer Chunduri at 2021-04-07T02:12:52+00:00
pydarshan: include read all for APXC and APMPI records

- - - - -


1 changed file:

- darshan-util/pydarshan/darshan/report.py


Changes:

=====================================
darshan-util/pydarshan/darshan/report.py
=====================================
@@ -520,10 +520,11 @@ class DarshanReport(object):
         Return:
             None
         """
-
         self.read_all_generic_records(dtype=dtype)
         self.read_all_dxt_records(dtype=dtype)
         self.mod_read_all_lustre_records(dtype=dtype)
+        self.mod_read_all_apxc_records("APXC", dtype=dtype)
+        self.mod_read_all_apmpi_records("APMPI", dtype=dtype)
         
         return
 
@@ -578,7 +579,7 @@ class DarshanReport(object):
             None
 
         """
-        unsupported =  ['DXT_POSIX', 'DXT_MPIIO', 'LUSTRE']
+        unsupported =  ['DXT_POSIX', 'DXT_MPIIO', 'LUSTRE', 'APXC', 'APMPI']
 
         if mod in unsupported:
             if warnings:
@@ -713,7 +714,7 @@ class DarshanReport(object):
                 logger.warning(f"Skipping. Log does not contain data for mod: {mod}")
             return
 
-        supported =  ['APXC'] 
+        supported =  ['APXC']
         if mod not in supported:
             if warnings:
                 logger.warning(f" Skipping. Unsupported module: {mod} in in mod_read_all_apxc_records(). Supported: {supported}")
@@ -730,7 +731,6 @@ class DarshanReport(object):
         self._modules[mod]['num_records'] = 0
         if mod not in self.counters:
             self.counters[mod] = {}
-
         # fetch records
         # fetch header record
         rec = backend.log_get_apxc_record(self.log, mod, "HEADER", dtype=dtype)



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/commit/066be8aff25307e1d2648997104782f1c7614dd7

-- 
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/commit/066be8aff25307e1d2648997104782f1c7614dd7
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/20210406/63b1b713/attachment-0001.html>


More information about the Darshan-commits mailing list