Newsgroups: comp.parallel.mpi
From: Wai Sun Don <wsdon@hydra.cfm.brown.edu>
Subject: Memory leak on the SP2 with MPI call
Organization: Div. of Applied Math., Brown U.
Date: Tue, 21 Jul 1998 18:08:49 -0400
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <35B51171.41C67EA6@hydra.cfm.brown.edu>

I have written a three lines code to loop over the call to MPI_Barrier
after the MPI initialization, 

do i = 1,1000000000
  call MPI_Barrier (MPI_Comm_World, MPI_Error)
enddo

Running it on the SP2 with MPI-1.1 here at Brown.

Using ps to check for memory size during the running of the code above,
we found that the memory of size 4K is leaking at some unknown
time interval.  No memory leak on 1 processors though.  No memory
leak on the SGI with MPI implementation.

Has anyone seen this before?  If so, what is the cure and
why it happened?  Thank for the info.


-- 
Wai Sun Don
Visiting Professor (Research)

