<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Mar 11, 2018 at 10:39 PM, Mohammad Hassan Baghaei <span dir="ltr"><<a href="mailto:mhbaghaei@mail.sjtu.edu.cn" target="_blank">mhbaghaei@mail.sjtu.edu.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div class="m_-4319170431227760295WordSection1"><p class="MsoNormal">Hi<u></u><u></u></p><p class="MsoNormal">I am trying to fill the global vector . Using single processor, it works fine. However, switching to several processors, I get the error regarding the section offset out of range for several points. The short of error message is below. Can you let me know what causes the offset to become [0,0<span dir="RTL"></span><span lang="FA" dir="RTL" style="font-family:"Arial",sans-serif"><span dir="RTL"></span>(</span><span dir="LTR"></span><span dir="LTR"></span><span dir="LTR"></span><span dir="LTR"></span> in this case and How I can solve this issue. Thanks for your time.<u></u><u></u></p><p class="MsoNormal"></p></div></div></blockquote><div><br></div><div>This looks like you have not called PetscSectionSetChart(), or anything else, on this Section. It could</div><div>be you only set it up on 1 process. I am not sure what you are trying to do.</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 lang="EN-US" link="#0563C1" vlink="#954F72"><div class="m_-4319170431227760295WordSection1"><p class="MsoNormal">Amir <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">[1]PETSC ERROR: --------------------- Error Message ------------------------------<wbr>------------------------------<wbr>--<u></u><u></u></p><p class="MsoNormal">[1]PETSC ERROR: Argument out of range<u></u><u></u></p><p class="MsoNormal">[1]PETSC ERROR: Section point 1 should be in [0, 0)<u></u><u></u></p><p class="MsoNormal">[1]PETSC ERROR: #1 PetscSectionGetOffset() line 1155 in /home/amir/petsc/src/vec/is/<wbr>utils/vsectionis.c<u></u><u></u></p><p class="MsoNormal">[1]PETSC ERROR: #2 PetscSectionGetFieldOffset() line 1208 in /home/amir/petsc/src/vec/is/<wbr>utils/vsectionis.c<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></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>