<div dir="ltr">Hello, <div><br></div><div>I have tried a different way to create the splitting: </div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div> ui(1) = 0</div><div> ui(2) = 1</div><div> pi(1) = 2</div></blockquote><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div> call ISCreateGeneral(PETSC_COMM_WORLD, 2, ui, PETSC_COPY_VALUES, isu, ierr)</div><div> call ISCreateGeneral(PETSC_COMM_WORLD, 1, pi, PETSC_COPY_VALUES, isp, ierr)</div></blockquote><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div> call PCFieldSplitSetIS(mypc, "0", isu, ierr)</div><div> call PCFieldSplitSetIS(mypc, "1", isp, ierr)</div><div><br></div></blockquote>However I get even worst erros!<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------</i></div><div><i>[0]PETSC ERROR: Nonconforming object sizes</i></div><div><i>[0]PETSC ERROR: Local column sizes 0 do not add up to total number of columns 1</i></div><div><i>[0]PETSC ERROR: See <a href="https://petsc.org/release/faq/">https://petsc.org/release/faq/</a> for trouble shooting.</i></div></blockquote><div><br></div><div>ISes looks like:</div><div><br></div>IS Object: 1 MPI process <b>---> isu</b><br> type: general<br>Number of indices in set 2<br>0 0<br>1 1<br>IS Object: 1 MPI process
<b> ---> isp</b><br> type: general<br>Number of indices in set 1<br><div>0 2</div><div><br></div><div>I really have no idea on how to deal with this thing... 😫 I guess I am not setting ok the index of the splitting, but cannot really figure out what I am doing wrong. </div><div><br></div><div>Any help is much appreciated :)</div></div>