Skip to content

pydarshan summary: "ValueError: Record nbins is not consistent with current heatmap" #1100

@pramodk

Description

@pramodk

In the attached folder we have four files:

$ ls -lrt darshan-logs/
total 32
-rwxr-xr-x@ 1 k  staff  2412 Nov  7 01:04 merge.darshan
-rwxr-xr-x@ 1 k  staff  2052 Nov  7 01:04 0_python_id19032-19038_11-7-8-10602490067385980188_1.darshan
-rwxr-xr-x@ 1 k  staff  2053 Nov  7 01:04 0_python_id19032-19040_11-7-8-7905002746267575150_1.darshan
-rwxr-xr-x@ 1 k  staff  2050 Nov  7 01:04 0_python_id19032-19042_11-7-8-11434636411747782129_1.darshan

0_python* are created from 3 sub-processes and merge.darshan using:

darshan-merge *.darshan --output=merge.darshan

Individual darshan-job-summary on the above 4 files work fine. But if I try to use PyDarshan summary on merged report then we get:

$ python -m darshan summary merge.darshan

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/local/lib/python3.12/dist-packages/darshan/__main__.py", line 3, in <module>
    main()
  File "/usr/local/lib/python3.12/dist-packages/darshan/cli/__init__.py", line 164, in main
    mod.main(args)
  File "/usr/local/lib/python3.12/dist-packages/darshan/cli/summary.py", line 737, in main
    report_data = ReportData(
                  ^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/darshan/cli/summary.py", line 154, in __init__
    self.report.read_all_heatmap_records()
  File "/usr/local/lib/python3.12/dist-packages/darshan/report.py", line 631, in read_all_heatmap_records
    heatmaps[mod].add_record(rec)
  File "/usr/local/lib/python3.12/dist-packages/darshan/datatypes/heatmap.py", line 78, in add_record
    raise ValueError("Record nbins is not consistent with current heatmap.")
ValueError: Record nbins is not consistent with current heatmap.

I have attached the logs here.

darshan-logs.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions