<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1509483943886_18712">Hello PETSc users,</div><div id="yui_3_16_0_ym19_1_1509483943886_18712"><br></div><div id="yui_3_16_0_ym19_1_1509483943886_18712" dir="ltr">Working in Fortran, I created 2 disjoint communicators with MPI_Group operations using PETSC_COMM_WORLD as the "base" comm. I created parallel vectors on each communicator, and set values in them equal to their ranks on PETSC_COMM_WORLD. Everything seems to be working fine. My question is: Is this a valid thing to do? Or will it cause some undefined behaviour that I'm not seeing right now?</div><div id="yui_3_16_0_ym19_1_1509483943886_18712" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1509483943886_18712" dir="ltr">I somehow thought that communicators created this way were not 'visible' to PETSc. Or is it that using PETSC_COMM_WORLD above eliminates that problem?</div><div id="yui_3_16_0_ym19_1_1509483943886_18712" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1509483943886_18712" dir="ltr">Thank you in advance,</div><div id="yui_3_16_0_ym19_1_1509483943886_18712" dir="ltr">Neelam</div></div></body></html>