You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.9/dist-packages/darshan-3.4.0.1-py3.9.egg/darshan/report.py", line 974, in mod_records
rec = backend.log_get_generic_record(self.log, mod, dtype=dtype)
File "/usr/local/lib/python3.9/dist-packages/darshan-3.4.0.1-py3.9.egg/darshan/backend/cffi_backend.py", line 354, in log_get_generic_record
flst = np.copy(np.frombuffer(ffi.buffer(rbuf[0].fcounters), dtype=np.float64))
AttributeError: cdata 'struct darshan_lustre_record *' has no field 'fcounters'
Using backend.log_get_record works, so perhaps just switching DarshanReport.mod_records to use log_get_record instead of log_get_generic_record to make it work for all module types?
I'm running PyDarshan 3.4.0.1. I've attached a sample darshan file that shows the issue.
The text was updated successfully, but these errors were encountered:
DarshanReport.mod_records
throws when loading aLUSTRE
modulethrows:
Using
backend.log_get_record
works, so perhaps just switchingDarshanReport.mod_records
to uselog_get_record
instead oflog_get_generic_record
to make it work for all module types?I'm running PyDarshan 3.4.0.1. I've attached a sample darshan file that shows the issue.
The text was updated successfully, but these errors were encountered: