<div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>just wondering if its possible to manually specify the parallel decomposition of data within PETSc Vecs and Mats? And if so, will the FieldSplit preconditioning handle this also?</div><div><br></div><div>I have an application (non-PETSc) data layout as:</div><div><font face="monospace, monospace">DATA[16][4][num_procs][3472]</font></div><div><br></div><div>and if possible I would like to use FieldSplit preconditioning without re-arranging this layout.</div><div><br></div><div>Currently I have a nested FieldSplit preconditioning with 16 outer field splits, and a schur complement field split within each. however this throws up an indexing error as FieldSplit assumes that the parallel decomposition is contiguous (I think).</div><div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;background-color:rgb(0,230,229)">[</span><span style="font-variant-ligatures:no-common-ligatures">0</span><span style="font-variant-ligatures:no-common-ligatures;background-color:rgb(0,230,229)">]</span><span style="font-variant-ligatures:no-common-ligatures">PETSC ERROR: #1 ISComplement() line 750 in /home/dlee0035/soft/petsc-3.9.3/src/vec/is/is/utils/iscoloring.c</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">[0]PETSC ERROR: #2 PCSetUp_FieldSplit() line 703 in /home/dlee0035/soft/petsc-3.9.3/src/ksp/pc/impls/fieldsplit/fieldsplit.c</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">[0]PETSC ERROR: #3 PCSetUp() line 923 in /home/dlee0035/soft/petsc-3.9.3/src/ksp/pc/interface/precon.c</span></p></div><div><br></div><div>Cheers, Dave.</div><div><br></div><div><br></div></div></div>