I am using PetscSF for this. You would need petsc-dev and the current implementation requires an MPI with non-broken data types.
https://bitbucket.org/petsc/petsc-dev/issue/9/implement-petscsf-without-one-sided Here are some (dated) notes about the communication model. http://59A2.org/files/StarForest.pdf On Fri, Nov 2, 2012 at 4:41 PM, Fande Kong <fd.kong at siat.ac.cn> wrote: > Hi all, > > Are there any functions (objects ) for scattering and gathering 64-bit > integers just like VecScatter for PetscScalar? The VecScatter is very > useful for managing communication for PetscScalar. But I can't find any > functions or objects to do similar things for PetscInt. Any suggestions? > > Regards, > -- > Fande Kong > ShenZhen Institutes of Advanced Technology > Chinese Academy of Sciences > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20121102/4d11e7d6/attachment.html>
