<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span><br>How can i free these requests ?</span></div><div><span>For the data-structure that was created, I use MPI_Type_free(&MPIText_DataType), </span><span>and I use MPI_Finalize() at the end of the program...<br></span></div><div><span><br></span></div><div><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Pavan Balaji <balaji@mcs.anl.gov><br><b><span style="font-weight: bold;">To:</span></b> Hisham Adel <hosham2004@yahoo.com><br><b><span style="font-weight: bold;">Cc:</span></b> mpich-discuss@mcs.anl.gov<br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, September 6, 2011 1:40 PM<br><b><span
style="font-weight: bold;">Subject:</span></b> Re: [mpich2-dev] In direct memory block for handle type REQUEST, 8 handles are still allocated<br></font><br><br>[Dropping mpich2-dev from the cc list, as this is a user question, not a <br>developer question].<br><br>It sounds like your program is not freeing some MPI request that it created.<br><br> -- Pavan<br><br>On 09/06/2011 06:32 AM, Hisham Adel wrote:<br>> Hi,<br>><br>> On Ubuntu 11.04 with gcc 4.5.2., I use mpich2-1.4.1p1 with this<br>> configuration options:<br>> ~/mpich2-1.4/configure --enable-error-messages=all --enable-g=all<br>> --enable-shared --enable-sharedlibs=gcc --without-mpe<br>> --with-pm=hydra:mpd --disable-f77 --disable-fc<br>><br>> After the program terminates, I receive a message related to the memory,<br>> When I use MPI_Send.<br>><br>> For example: The message bellow appears when I use 3 MPI_Send.<br>> The first and second MPI_Send are
used to send two separate integers.<br>> The third one is used to send a special data structure created by me.<br>> At the end node, the received data are printed out well.<br>><br>> How can I fix it ?<br>> I would be grateful if you can help me.<br>><br>> Regards,<br>> Hisham<br>><br>> In direct memory block for handle type REQUEST, 8 handles are still<br>> allocated<br>> In indirect memory block 0 for handle type REQUEST, 16 handles are still<br>> allocated<br>> [3] 1624 at [0x08930c98],<br>> 1.4.1p1/src/mpid/ch3/src/ch3u_handle_recv_pkt.c[248]<br>> [3] 8 at [0x08930bf0], am/mpich2-1.4.1p1/src/mpid/ch3/src/ch3u_eager.c[439]<br>> [3] 8 at [0x08930b48], am/mpich2-1.4.1p1/src/mpid/ch3/src/ch3u_eager.c[439]<br>> [3] 1624 at [0x08930450],<br>> 1.4.1p1/src/mpid/ch3/src/ch3u_handle_recv_pkt.c[248]<br>> [3] 8 at [0x089303a8], am/mpich2-1.4.1p1/src/mpid/ch3/src/ch3u_eager.c[439]<br>> [3] 8 at
[0x08930300], am/mpich2-1.4.1p1/src/mpid/ch3/src/ch3u_eager.c[439]<br>> [3] 1624 at [0x0892fc08],<br>> 1.4.1p1/src/mpid/ch3/src/ch3u_handle_recv_pkt.c[248]<br>> [3] 8 at [0x0892fb60], am/mpich2-1.4.1p1/src/mpid/ch3/src/ch3u_eager.c[439]<br>> [3] 8 at [0x0892fab8], am/mpich2-1.4.1p1/src/mpid/ch3/src/ch3u_eager.c[439]<br>> [3] 1624 at [0x0892f3c0],<br>> 1.4.1p1/src/mpid/ch3/src/ch3u_handle_recv_pkt.c[248]<br>> [3] 8 at [0x0892f318], am/mpich2-1.4.1p1/src/mpid/ch3/src/ch3u_eager.c[439]<br>> [3] 8 at [0x0892f270], am/mpich2-1.4.1p1/src/mpid/ch3/src/ch3u_eager.c[439]<br>> [3] 1624 at [0x0892eb78],<br>> 1.4.1p1/src/mpid/ch3/src/ch3u_handle_recv_pkt.c[248]<br>> [3] 8 at [0x0892ead0], am/mpich2-1.4.1p1/src/mpid/ch3/src/ch3u_eager.c[439]<br>> [3] 8 at [0x0892ea28], am/mpich2-1.4.1p1/src/mpid/ch3/src/ch3u_eager.c[439]<br>> [3] 1624 at [0x0892e330],<br>> 1.4.1p1/src/mpid/ch3/src/ch3u_handle_recv_pkt.c[248]<br>> [3] 8 at
[0x0890f948], am/mpich2-1.4.1p1/src/mpid/ch3/src/ch3u_eager.c[439]<br>> [3] 8 at [0x0890f8a0], am/mpich2-1.4.1p1/src/mpid/ch3/src/ch3u_eager.c[439]<br>> [3] 1624 at [0x0890f1a8],<br>> 1.4.1p1/src/mpid/ch3/src/ch3u_handle_recv_pkt.c[248]<br>> [3] 8 at [0x0890f100], am/mpich2-1.4.1p1/src/mpid/ch3/src/ch3u_eager.c[439]<br>> [3] 8 at [0x0890f058], am/mpich2-1.4.1p1/src/mpid/ch3/src/ch3u_eager.c[439]<br>> [3] 1624 at [0x0890e960],<br>> 1.4.1p1/src/mpid/ch3/src/ch3u_handle_recv_pkt.c[248]<br>> [3] 8 at [0x0890e8b8], am/mpich2-1.4.1p1/src/mpid/ch3/src/ch3u_eager.c[439]<br>> [3] 8 at [0x0890e810], am/mpich2-1.4.1p1/src/mpid/ch3/src/ch3u_eager.c[439]<br>><br><br>-- <br>Pavan Balaji<br><a href="http://www.mcs.anl.gov/%7Ebalaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br><br><br></div></div></div></body></html>