[ET Trac] [Einstein Toolkit] #2194: Memory increase during regridding

Einstein Toolkit trac-noreply at einsteintoolkit.org
Wed Oct 24 08:48:30 CDT 2018


#2194: Memory increase during regridding
---------------------------------+---------------------------------
  Reporter:  wolfgang.kastaun@…  |      Owner:  (none)
      Type:  defect              |     Status:  new
  Priority:  unset               |  Milestone:
 Component:  Other               |    Version:  development version
Resolution:                      |   Keywords:
---------------------------------+---------------------------------

Comment (by Erik Schnetter):

 Regridding is supposed to happen as follows:
 1. Memory for the new grid structure is allocated
 2. As much as possible, data are copied from the old to the new grid
 structure
 3. Where necessary, data are interpolated from the old to the new grid
 structure
 4. The old grid structure is freed

 The routine which you list is step 1, allocation. Deallocation is supposed
 to happen in step 4 in a function called {{{recompose_free_old}}}. When
 Cactus terminates, then the memory for the current grid structure is
 deallocated in a function {{{recompose_free}}}.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/2194#comment:4>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list