On Thu, Jan 5, 2012 at 14:25, Junchao Zhang <junchao.zhang at gmail.com> wrote:
> I browsed petsc source cdoe and found a macro PETSC_HAVE_MPI_WIN_CREATE. > It seems petsc can use one-sided communication. I want to test > MatMult()'s performance with one-sided. > Then, how to enable it? > Just run with -vecscatter_window Note that this currently uses MPI_Win_fence() for completion which makes it more synchronous than necessary (it could and should use MPI_Win_post(), MPI_Win_start(), MPI_Win_complete(), MPI_Win_wait()). -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120105/deb9314c/attachment.htm>
