<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">I set up a regional model, about 1000kmx1000km large, and forced the model with hourly wind dataset with exf package. When I compiled MITgcm on a HPCS and run the program, it stopped after about 10hrs with the error message “Memory size limit exceeded”. Using the "numactl -hardware” command every 2mins, I found the free memory decreases continuously and significantly as follows.  </div><div class=""><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">node 0 </span><span style="font-variant-ligatures: no-common-ligatures; color: rgb(195, 55, 32);" class=""><b class="">free</b></span><span style="font-variant-ligatures: no-common-ligatures;" class="">: 78411 MB</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">node 0 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">free</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">: 78175 MB</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">node 0 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">free</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">: 77929 MB</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">node 0 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">free</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">: 77749 MB</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">node 0 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">free</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">: 77534 MB</span></div></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><div style="font-family: Helvetica;" class=""><br class=""></div><div style="font-family: Helvetica;" class="">When I turned off the exf package, the memory still decreases but amount is much less as follows </div><div style="font-family: Helvetica;" class=""><div style="margin: 0px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">node 0 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">free</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">: 77082 MB</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">node 0 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">free</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">: 77058 MB</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">node 0 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">free</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">: 77032 MB</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">node 0 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">free</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">: 77009 MB</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">node 0 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">free</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">: 76988 MB</span></div></div><div style="font-family: Helvetica;" class=""><br class=""></div><div style="font-family: Helvetica;" class="">Does any one know this is what called memory leak happening? Can I fix this problem with some compile option? I’m using ifort. I appreciate if anyone can provide helpful information. </div><div style="font-family: Helvetica;" class=""><br class=""></div><div style="font-family: Helvetica;" class="">Best, </div><div style="font-family: Helvetica;" class=""><br class=""></div><div style="font-family: Helvetica;" class="">Tsubasa </div><div style="font-family: Helvetica;" class=""><br class=""></div><div style="font-family: Helvetica;" class=""></div></div></body></html>