[mpich-devel] memory profiling HOWTO?

Jeff Hammond jhammond at alcf.anl.gov
Sat Feb 23 16:01:02 CST 2013


I'm interested in MPICH internal allocation.  I'm trying to figure out
all the places in BGQ-MPI where O(p) memory is required.

Jeff

On Fri, Feb 22, 2013 at 9:28 AM, Jim Dinan <dinan at mcs.anl.gov> wrote:
> Jeff,
>
> Which memory are you interested in -- memory the application allocates, or
> memory that MPICH allocates?  If the former, you can use the PMPI interface
> to hook MPI_Alloc/Free_mem.  If you are interested in MPICH internal memory
> use, Dave can probably give the most informed answer.  I would probably just
> modify MPIU_Malloc.
>
>  ~Jim.
>
>
> On 2/22/13 8:44 AM, Jeff Hammond wrote:
>>
>> Is there any documentation of how to properly instrument MPICH with
>> memory profiling?  I understand MPIU_MALLOC allows me to do this.
>>
>> My goal is to merely print out every time memory is allocated larger
>> than a particular size.  I'd also like the rank to show up in the
>> output.
>>
>> Please RTM me if the M exists.  Source comments are also a good M if
>> they are correct and sufficiently complete.
>>
>> Thanks!
>>
>> Jeff
>>
>



-- 
Jeff Hammond
Argonne Leadership Computing Facility
University of Chicago Computation Institute
jhammond at alcf.anl.gov / (630) 252-5381
http://www.linkedin.com/in/jeffhammond
https://wiki.alcf.anl.gov/parts/index.php/User:Jhammond


More information about the devel mailing list