<div dir="ltr">On Tue, Jul 9, 2013 at 10:24 AM, Thomas DE-SOZA <span dir="ltr"><<a href="mailto:thomas.de-soza@edf.fr" target="_blank">thomas.de-soza@edf.fr</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><font face="sans-serif">Dear PETSc users,</font>
<br>
<br><font face="sans-serif">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.</font>
<br><font face="sans-serif">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.</font>
<br>
<br><font face="sans-serif">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.</font>
<br></blockquote><div><br></div><div style>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</div><div style>valgrind.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face="sans-serif">Note : we're still using PETSc 3.2p7
and have not moved to 3.4.</font>
<br></blockquote><div><br></div><div style>Change that.</div><div style><br></div><div style> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font face="sans-serif">Thanks,</font>
<br>
<br><font face="sans-serif">Thomas</font>
<br><br><p></p>
<p><br>
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.</p>
<p>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.</p>
<p>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.<br>
____________________________________________________</p>
<p>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.</p>
<p>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.</p>
<p>E-mail communication cannot be guaranteed to be timely secure, error or virus-free.</p><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div></div>