[petsc-users] error regarding filling section fields

Matthew Knepley knepley at gmail.com
Sun Mar 11 20:00:03 CDT 2018


On Sun, Mar 11, 2018 at 10:39 PM, Mohammad Hassan Baghaei <
mhbaghaei at mail.sjtu.edu.cn> wrote:

> Hi
>
> 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
> ( in this case and How I can solve this issue. Thanks for your time.
>
>
This looks like you have not called PetscSectionSetChart(), or anything
else, on this Section. It could
be you only set it up on 1 process. I am not sure what you are trying to do.

   Matt


> Amir
>
>
>
> [1]PETSC ERROR: --------------------- Error Message
> --------------------------------------------------------------
>
> [1]PETSC ERROR: Argument out of range
>
> [1]PETSC ERROR: Section point 1 should be in [0, 0)
>
> [1]PETSC ERROR: #1 PetscSectionGetOffset() line 1155 in
> /home/amir/petsc/src/vec/is/utils/vsectionis.c
>
> [1]PETSC ERROR: #2 PetscSectionGetFieldOffset() line 1208 in
> /home/amir/petsc/src/vec/is/utils/vsectionis.c
>
>
>



-- 
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

https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180312/daa91f33/attachment.html>


More information about the petsc-users mailing list