[Dune] [#627] Memory problem in solver.apply?
Dune
dune at dune-project.org
Fri Oct 16 16:16:35 CEST 2009
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Patrick Leidenberger (leidenberger)
Attached to Project - Dune
Summary - Memory problem in solver.apply?
Task Type - Bug Report
Category - ISTL
Status - New
Assigned To -
Operating System - Unspecified / All
Severity - Low
Priority - High
Reported Version - SVN
Due in Version - Undecided
Due Date - Undecided
Details - Hi all,
you may remember that Benedikt reported a memory problem in our code some days ago. Now we checked our code very carefully and determined the routine that consumes more memory. It is the call of the istl apply routine:
solver.apply(EmpClass::dofnp1_,yi,EmpClass::solverReduction_,res);
(We use the CG solver with a NonoverlappingRichardson)
The leak only appears, if I compile the code with mpi (Open MPI 1.3, ubuntu 9.04) for np>=1. If I compile without mpi support, the memory consumption remains constant over all timesteps. I use the newest svn dune version from the repo.
The behaviour of apply is quite strange: We call the solver thousands of times because we have a time domain code. At some unpredictable (but reproducible) timesteps the solver needs 4K more memory and do not free it! I visualised the memory consumption, and cannot find any pattern in the 4K memory steps.
Somebody mentioned on the mailing list that there is may be a problem with mpi. So what do you think, is it an istl or an mpi bug? What may be a workaround?
It would be very kind, if somebody can have a look at that problem.
Thanks a lot Patrick
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=627
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the Dune
mailing list