[petsc-dev] PETSc communicators with MPI in Fortran
Neelam Patel
neelam_patel1990 at yahoo.com
Tue Oct 31 18:00:31 CDT 2017
Hello PETSc users,
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?
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?
Thank you in advance,Neelam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20171031/6c30c478/attachment.html>
More information about the petsc-dev
mailing list