CarpetIOHDF5 out3d_vars recomputes active region each time instead of using stored copy

Issue #2270 closed
Roland Haas created an issue

out3d_vars lets one disable output of buffer regions and has to use the "active" region for this. Right now it recomputes the active region for each variable each time output is requested. This can be slow for large MPI rank counts. It is not necessary to recompute it however as the required information is stored as part of Carpet's level_boxes data structure.

For large rank counts (~10k or so) this can take many minutes to recompute if many variables are output.

Comments (6)

  1. Roland Haas reporter

    Excellent. Please click on the “Approve” button in the upper right corner of the pull request. That makes it official.

  2. Log in to comment