Memory profiling of coupled model #779
Replies: 5 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
this figure is based on the same 10 day run but only save last timestep of ocean results, the memory usage became flat |
Beta Was this translation helpful? Give feedback.
-
@DeniseWorthen this is from C384 OCN025 run with 6hr output frequency, note total OCN PE is 120 but here I only plotted every other 4 PEs |
Beta Was this translation helpful? Give feedback.
-
For WW3, the profiling output points to memory increase occurring in the call to wmwave, so internal to the model vs. in the cap. Given this we've begun to track down the leaks by running valgrind over our WW3 regtest, ww3_ufs1.1, and starting to work through the output. |
Beta Was this translation helpful? Give feedback.
-
The cpld_control_wave test case from the develop branch of ufs-weather-model was run for 10days under the following conditions:
I created a small script to pull the VmPeak value at the end of the Model_Advance phase for each PET for ICE, OCN and WW3. The Memory use for ICE is shown below. The % increase over 240 hours for CICE ranges between 0.13 to 0.95
The Memory use for W3 is shown below. The % increase over 240 hours for W3 ranges between 0.27 to 1.9
The Memory use for OCN is shown below. The % increase over 240 hours for MOM6 ranges between 0.0 and 2.6. If the final memory use value is excluded however, the maximum % increase is reduced to 1.3. This removes the final "uptick" of memory use on PE 150. (Is this is what GFDL was referring to when they said there was a memory leak associated with the Finalize?). See issue #764
Beta Was this translation helpful? Give feedback.
All reactions