[petsc-users] Non conforming object sizes

Matthew Knepley knepley at gmail.com
Tue Jul 9 15:40:43 CDT 2013


On Tue, Jul 9, 2013 at 10:24 AM, Thomas DE-SOZA <thomas.de-soza at edf.fr>wrote:

>
> Dear PETSc users,
>
> We're having difficulties troubleshooting some developments in our code
> that relies on PETSc. We're assembling a matrix of size 90 with the
> blocksize set to 6, the code is run on two processors so that processor #0
> has 48 entries and #1 has 42 entries.
> During the MatAssemblyEnd, an error about non conforming object sizes is
> thrown ("Local scatter sizes don't match"). This is raised by
> VecScatterCreate inside MatAssemblyEnd.
>
> We're likely doing something wrong but what would be the way to debug this
> since the call to VecScatterCreate is not controlled directly by us ?
> Attached is the output of '-info' during the MatAssemblyEnd.
>

I think you are overwriting memory. This condition should be impossible
with that code path, so some memory is likely getting garbaged. Please run
under
valgrind.


> Note : we're still using PETSc 3.2p7 and have not moved to 3.4.
>

Change that.

   Matt


> Thanks,
>
> Thomas
>
>
> Ce message et toutes les pièces jointes (ci-après le 'Message') sont
> établis à l'intention exclusive des destinataires et les informations qui y
> figurent sont strictement confidentielles. Toute utilisation de ce Message
> non conforme à sa destination, toute diffusion ou toute publication totale
> ou partielle, est interdite sauf autorisation expresse.
>
> Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de
> le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou
> partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de
> votre système, ainsi que toutes ses copies, et de n'en garder aucune trace
> sur quelque support que ce soit. Nous vous remercions également d'en
> avertir immédiatement l'expéditeur par retour du message.
>
> Il est impossible de garantir que les communications par messagerie
> électronique arrivent en temps utile, sont sécurisées ou dénuées de toute
> erreur ou virus.
> ____________________________________________________
>
> This message and any attachments (the 'Message') are intended solely for
> the addressees. The information contained in this Message is confidential.
> Any use of information contained in this Message not in accord with its
> purpose, any dissemination or disclosure, either whole or partial, is
> prohibited except formal approval.
>
> If you are not the addressee, you may not copy, forward, disclose or use
> any part of it. If you have received this message in error, please delete
> it and all copies from your system and notify the sender immediately by
> return message.
>
> E-mail communication cannot be guaranteed to be timely secure, error or
> virus-free.
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130709/395ca322/attachment.html>


More information about the petsc-users mailing list