[FLASH-USERS] memory overflow in AMR_RESTRICT_CC

Dr. Elke Roediger e.roediger at iu-bremen.de
Mon Mar 5 07:59:45 CST 2007


Hi everybody,

I have a problem with memory overflow. The code is running happily for a
while and then stops with the following error message:

 min_blocks        501 max_blocks        593 tot_blocks      17056
[AMR_RESTRICT_CC] ERROR: memory overflow, iopt=1:  1209 593

There is no other hint in either amr_log nor in the log-file.

The code was compiled with maxblocks=1800, and I am sure that is has been
running on the same machine with at least 1200 blocks per cpu. It seems to
me that I am far away from having more than 1800 blocks per cpu at the
moment.

Judging from what I could understand from a short look at the routine
AMR_RESTRICT_CC, this routine counts some kind of child blocks or
neighboring blocks (which makes the number 1209 in the error message), and
those together with the 593 "real" blocks exceed the allowed 1800. That
makes the code stop.

I am running a simulation with 9 levels of refinement, where the highly
refined region is very small, essentially it fits into one of the basic
block's cells.

Does somebody know a better explanation for what is going on, and -even
more important- a workaround for this problem?

Thanks a lot,
Elke Roediger



----------------------------
Dr. Elke Roediger
Astrophysics Group
Jacobs University Bremen
Telephone:
  +49 421 200-3192
Fax:
  +49 421 200-3229
Office:
  Research III, Room 124b
Mailing Address:
  P. O. Box 750 561
  28725 Bremen
  Germany




More information about the flash-users mailing list