Add a group of grid scalars for memory usage statistics

Create issue
Issue #1341 new
Ian Hinder created an issue

Carpet has a group of grid scalars for timing information. It would be useful to have a similar group for memory usage and grid size statistics. For example, I would very much like to be able to output the total number of grid points in the simulation, to see if a memory usage increase was related to the total number of grid points increasing, or to something else.

It might also be useful to have this information available per process, so that the usual reductions could be applied on output. This would give a measure of memory imbalance.

Keyword:

Comments (2)

  1. Roland Haas

    Such information (memory in grid functions, scalars, metadata) is provided in grid scalars memory_procs as of git hash 6a344ba0 "Carpet: Store amount of allocated memory in grid scalars" of carpet from 2013-08-05

  2. Roland Haas

    Since they are grid scalars only the data on rank 0 is actually output to disk even though each rank holds its own consumed memory.

  3. Log in to comment