Add a group of grid scalars for memory usage statistics
Issue #1341
resolved
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 (3)
-
-
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.
-
- edited description
- changed status to resolved
- Log in to comment
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