[petsc-users] matrix computation costs large memory

Li, Zhisong (lizs) lizs at mail.uc.edu
Sat Nov 27 19:09:28 CST 2010


 Hi, Petsc Team,

I have a Petsc code calculating simple structured grid. The dimension is 96 x 25 x 22 with DOF = 6. When running in parallel or sequential processing on a shared memory machine, it costs about 2.5GB RAM when assembling the matrix and more than 5GB when KSP is solving with GMRES. In the code I use the basic DAGetmatrix(da, MATAIJ, &M) to define the matrix, and it is supposed to be a sparse matrix. Is this normal for Petsc application? If not, how to improve this?


Thank you.


Zhisong Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20101128/70cad861/attachment.htm>


More information about the petsc-users mailing list