[petsc-users] Question on VecScatter options

Randall Mackie rlmackie862 at gmail.com
Fri Apr 10 13:00:32 CDT 2020


The VecScatter man page says that the default vecscatter type uses PetscSF, and that one can use PetscSF options to control the communication.


PetscSFCreate lists 3 different types, including MPI-3 options.


So I’m wondering is it enough to just add, for example, -sf_type neighbor to the list of PETSc options to have all VecScatter calls use MPI 3, and are there advantages to using that over the default options?


Thanks,

Randy M.


More information about the petsc-users mailing list