[petsc-users] Question about GAMG and memory use

Jed Brown jed at jedbrown.org
Thu Mar 5 13:28:58 CST 2015


Please keep the list Cc'd.

Randall Mackie <rlmackie862 at gmail.com> writes:

>> On Mar 5, 2015, at 11:17 AM, Jed Brown <jed at jedbrown.org> wrote:
>> 
>> Barry Smith <bsmith at mcs.anl.gov> writes:
>> 
>>>  This should not happen, probably you are working with a MPIAIJ
>>>  matrix
>> 
>> Randall, it sounds like you are creating an MPIAIJ matrix even in
>> serial.  Meanwhile, GAMG creates a SeqAIJ prolongation operator (when
>> running in serial).  Why are you creating an MPIAIJ matrix in serial?
>> (Maybe you have MATMPIAIJ where it could be MATAIJ?)
>
> Well, I am creating an MPIAIJ matrix because that's what I've used for years, and it's never been a problem when I've tested on 1 process before, but then it's only been recently that I've been using GAMG for this particular solve.
>
> I will switch to MATAIJ and try again.

Thanks.  Avoiding over-specification is good.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150305/fc4e6d79/attachment.pgp>


More information about the petsc-users mailing list