On May 27, 2009, at 6:49 AM, Holger Mickler wrote:
would you mind sharing this patch? We'd like to test our current VT
version with
some MPI RMA code :)
No problem-o. I've submitted this patch upstream to Intel as well.
Note that the patch slightly changed between 3.1 and 3.2; this is the
3.2 patch:
--- imb/src/IMB_window.c 2008-10-21 01:17:31.000000000 -0700
+++ IMB_3.2/src/IMB_window.c 2009-05-26 05:29:15.000000000 -0700
@@ -140,6 +140,9 @@
c_info->rank, 0, 1, c_info->r_data_type,
c_info->WIN);
MPI_ERRHAND(ierr);
}
+ /* JMS Added a call to MPI_WIN_FENCE, per MPI-2.1 11.2.1 */
+ ierr = MPI_Win_fence(0, c_info->WIN);
+ MPI_ERRHAND(ierr);
ierr = MPI_Win_free(&c_info->WIN);
MPI_ERRHAND(ierr);
}
Does anyone know of some (small) code/benchmark that uses all
available MPI RMA
functionality? As far as I see, IMB only uses fence and put/get/
accumulate. No
locks or post/wait/start/complete...
We have a few one-sided tests in the ompi-test repository (which I
think Dresden has access to?), but I'm not 100% sure that they're
correct...
--
Jeff Squyres
Cisco Systems