Skip to content

Commit

Permalink
Clarifies HDF5 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiorg-hpc committed Feb 8, 2022
1 parent e1dce9d commit d6e7e5b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/report_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,11 @@ ReportReader<T>::Population::getNodeIdElementLayout(
}
}

// Reduces overhead of next IOps by clearing-up internal buffers of HDF5
// Temp. fix: When you ask for a large hyperslab in a dataset and then move
// to another dataset in the same file where you also ask for
// another large range, the next IOps take an extra few seconds.
// We observed that fooling HDF5 does the trick, but we should
// verify this behaviour once new releases of HDF5 are available.
dataset_elem_ids.select({min}, {1}).read(element_ids);
}

Expand Down

0 comments on commit d6e7e5b

Please sign in to comment.