<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Oct 25, 2017 at 4:32 AM, Karin&NiKo <span dir="ltr"><<a href="mailto:niko.karin@gmail.com" target="_blank">niko.karin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Dear PETSc team,<br><br></div>I have a code that creates a parallel matrix based on domain decomposition. I serialize this matrix with MatView.<br></div>Then, I would like to relaod it with MatLoad but not leaving PETSc decide the parallel layout but rather use the original distribution of the degrees of freedom.<br></div>Does MatLoad help to do that? Shall I use the IS of the local/global mapping ?<br></div></div></blockquote><div><br></div><div>You can prescribe the layout of the Mat that is passed to MatLoad(). However, if you are asking that the original</div><div>layout be stored in the file, we do not do that. It could be made to work by writing the layout to the .info file and</div><div>then having the option call MatSetSizes() on load. Should not be much code.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div>I look forward to reading you,<br></div><div>Nicolas<br></div><div><br></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>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><br></div><div><a href="http://www.caam.rice.edu/~mk51/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div>
</div></div>