[Mpi3-rma] RMA Unified examples
12 Apr
2011
12 Apr
'11
6:16 p.m.
I was asked to put together a list of examples that we expect to work in the unified model. I've included three examples here. Example 1: ========= Process 0 --------- Win_lock(SHARED, P0) load A store B Win_unlock() Process 1 --------- Win_lock(SHARED, P0) Put(X) Get(Y) Win_unlock() Example 2: ========= Process 0 --------- store X MPI_FOO(); /* memory barrier */ MPI_Barrier(); Process 1 --------- MPI_Barrier(); Win_lock(SHARED, P0) Get(X) Win_unlock() Example 3: ========= Process 0 --------- Win_lock(SHARED, P0) store X MPI_FOO(); /* memory barrier */ MPI_Barrier(); Win_unlock() Process 1 --------- Win_lock(SHARED, P0) MPI_Barrier(); Get(X); Win_unlock() -- Pavan Balaji http://www.mcs.anl.gov/~balaji
5583
Age (days ago)
5583
Last active (days ago)
0 comments
1 participants
participants (1)
-
Pavan Balaji