[petsc-users] GAMG memory consumption
Karthikeyan Chockalingam - STFC UKRI
karthikeyan.chockalingam at stfc.ac.uk
Wed Nov 24 11:26:34 CST 2021
Hello,
I would like to understand why more memory is consumed by -pc_type gamg compared to -pc_type mg for the same problem size
ksp/ksp/tutorial: ./ex45 -da_grid_x 368 -da_grid_x 368 -da_grid_x 368 -ksp_type cg
-pc_type mg
Maximum (over computational time) process memory: total 1.9399e+10 max 9.7000e+09 min 9.6992e+09
-pc_type gamg
Maximum (over computational time) process memory: total 4.9671e+10 max 2.4836e+10 min 2.4835e+10
Am I right in understanding that the memory limiting factor is ‘max 2.4836e+10’ as it is the maximum memory used at any given time?
I have attached the -log_view output of both the preconditioners.
Best regards,
Karthik.
This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. UK Research and Innovation (UKRI) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UKRI does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20211124/b84406f2/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ksp_cg_pc_gamg_ex45_N368_gpu_2.txt
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20211124/b84406f2/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ksp_cg_pc_mg_ex45_N368_gpu_2.txt
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20211124/b84406f2/attachment-0003.txt>
More information about the petsc-users
mailing list