[FLASH-USERS] unexpected memory increase

Yingchao Lu yingchao.lu at gmail.com
Tue Oct 23 14:58:04 EDT 2018


Hi All,

I am running a 3D laser+MHD simulation on cori.nersc. I specify lrefine_max
= 2 and lrefine_min = 2 so that the resolution should be constant. The
memory information is printed every 30 steps. At the beginning, it is

 [ 10-22-2018  14:02:36.279 ] memory: /proc vsize    (MiB):      926.67
(min)       1383.60 (max)       1150.19 (avg)
 [ 10-22-2018  14:02:36.287 ] memory: /proc rss      (MiB):      310.10
(min)        397.40 (max)        367.95 (avg)
 [ 10-22-2018  14:02:36.311 ] memory: /proc vsize    (MiB):      926.67
(min)       1383.60 (max)       1150.19 (avg)
 [ 10-22-2018  14:02:36.365 ] memory: /proc rss      (MiB):      310.13
(min)        397.43 (max)        367.98 (avg)
 [ 10-22-2018  14:02:37.158 ] memory: /proc vsize    (MiB):      926.67
(min)       1383.60 (max)       1150.19 (avg)
 [ 10-22-2018  14:02:37.159 ] memory: /proc rss      (MiB):      310.95
(min)        398.27 (max)        368.80 (avg)
 [ 10-22-2018  14:02:38.332 ] [IO_writeCheckpoint] open: type=checkpoint
name=omega2017_hdf5_chk_0000

It increases a lot by 30 steps

 [10-22-2018  14:16:48.437 ] memory: /proc vsize    (MiB):     2714.04
(min)      31565.56 (max)      16816.94 (avg)
 [ 10-22-2018  14:16:48.449 ] memory: /proc rss      (MiB):      456.39
(min)        716.37 (max)        585.65 (avg)
 [ 10-22-2018  14:16:49.101 ] memory: /proc vsize    (MiB):     2714.04
(min)      31565.56 (max)      16816.94 (avg)
 [ 10-22-2018  14:16:49.102 ] memory: /proc rss      (MiB):      456.39
(min)        716.37 (max)        585.65 (avg)
 [ 10-22-2018  14:16:49.104 ] step: n=30 t=1.477571E-13 dt=1.518785E-14

And the last memory info print before the code aborts
 [ 10-22-2018  21:48:59.453 ] memory: /proc vsize    (MiB):     5074.70
(min)      44690.05 (max)      25471.68 (avg)
 [ 10-22-2018  21:48:59.472 ] memory: /proc rss      (MiB):     1316.33
(min)       4799.35 (max)       3162.94 (avg)
 [ 10-22-2018  21:48:59.744 ] memory: /proc vsize    (MiB):     5074.70
(min)      44690.05 (max)      25471.68 (avg)
 [ 10-22-2018  21:48:59.750 ] memory: /proc rss      (MiB):     1316.41
(min)       4799.37 (max)       3162.95 (avg)
 [ 10-22-2018  21:48:59.780 ] step: n=570 t=2.204450E-10 dt=3.320750E-13

I use the compiler flag -DPOINTER_INTENT_OUT=pointer on nersc. I don't know
if it will be a problem. How should I fix the problem?

Thanks,
Yingchao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20181023/1b0be8df/attachment.htm>


More information about the flash-users mailing list