I am using PetscSF for this. You would need petsc-dev and the current implementation requires an MPI with non-broken data types.<div><br></div><div><a href="https://bitbucket.org/petsc/petsc-dev/issue/9/implement-petscsf-without-one-sided">https://bitbucket.org/petsc/petsc-dev/issue/9/implement-petscsf-without-one-sided</a><br>
</div><div><br></div><div>Here are some (dated) notes about the communication model. <a href="http://59A2.org/files/StarForest.pdf">http://59A2.org/files/StarForest.pdf</a><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Nov 2, 2012 at 4:41 PM, Fande Kong <span dir="ltr"><<a href="mailto:fd.kong@siat.ac.cn" target="_blank">fd.kong@siat.ac.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<div><br></div><div>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?</div>
<div><br></div><div><div>Regards,<span class="HOEnZb"><font color="#888888"><br>-- <br><div style="line-height:21px;font-size:14px;font-family:Verdana">Fande Kong</div><div style="line-height:21px;font-size:14px;font-family:Verdana">
ShenZhen Institutes of Advanced Technology</div><div style="line-height:21px;font-size:14px;font-family:Verdana">Chinese Academy of Sciences</div><br>
</font></span></div><br>
<br>
</div>
</blockquote></div><br></div>