[petsc-users] PETSC_HAVE_MPI_WIN_CREATE in petsc

Jed Brown jedbrown at mcs.anl.gov
Thu Jan 5 14:29:32 CST 2012


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>


More information about the petsc-users mailing list