Skip to content

Conversation

@rhc54
Copy link
Contributor

@rhc54 rhc54 commented Aug 31, 2016

Setting OMPI_MEMPROFILE=N causes mpirun to set a timer for N seconds. When the timer fires, mpirun will query each daemon in the job to report its own memory usage plus the average memory usage of its child processes. The Proportional Set Size (PSS) is used for this purpose.

…ication profiles for use in studying our memory footprint. Setting OMPI_MEMPROFILE=N causes mpirun to set a timer for N seconds. When the timer fires, mpirun will query each daemon in the job to report its own memory usage plus the average memory usage of its child processes. The Proportional Set Size (PSS) is used for this purpose.
@rhc54
Copy link
Contributor Author

rhc54 commented Aug 31, 2016

I should also note that once mpirun has reported out the memory profile, the job is aborted. So to get a profile, you need to have your process "spin" before calling MPI_Finalize or terminating, and ensure you provide an adequate timeout for the job to start and get to the spinning phase.

@rhc54 rhc54 merged commit 39d086e into open-mpi:master Aug 31, 2016
@rhc54 rhc54 deleted the topic/memprofile branch August 31, 2016 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant