Package mpi4py :: Module MPI :: Class Win
[hide private]
[frames] | no frames]

type Win


Window
Instance Methods [hide private]
 
Accumulate(self, origin, int target_rank, target=None, Op op=SUM)
Accumulate data into the target process
 
Allocate(type cls, Aint size, int disp_unit=1, Info info=INFO_NULL, Intracomm comm=COMM_SELF)
Create an window object for one-sided communication
 
Allocate_shared(type cls, Aint size, int disp_unit=1, Info info=INFO_NULL, Intracomm comm=COMM_SELF)
Create an window object for one-sided communication
 
Attach(self, memory)
Attach a local memory region
 
Call_errhandler(self, int errorcode)
Call the error handler installed on a window
 
Compare_and_swap(self, origin, compare, result, int target_rank, Aint target_disp=0)
Perform one-sided atomic compare-and-swap
 
Complete(self)
Completes an RMA operations begun after an Win.Start()
 
Create(type cls, memory, int disp_unit=1, Info info=INFO_NULL, Intracomm comm=COMM_SELF)
Create an window object for one-sided communication
 
Create_dynamic(type cls, Info info=INFO_NULL, Intracomm comm=COMM_SELF)
Create an window object for one-sided communication
 
Create_keyval(type cls, copy_fn=None, delete_fn=None, nopython=False)
Create a new attribute key for windows
 
Delete_attr(self, int keyval)
Delete attribute value associated with a key
 
Detach(self, memory)
Detach a local memory region
 
Fence(self, int assertion=0)
Perform an MPI fence synchronization on a window
 
Fetch_and_op(self, origin, result, int target_rank, Aint target_disp=0, Op op=SUM)
Perform one-sided read-modify-write
 
Flush(self, int rank)
Complete all outstanding RMA operations at the given target
 
Flush_all(self)
Complete all outstanding RMA operations at all targets
 
Flush_local(self, int rank)
Complete locally all outstanding RMA operations at the given target
 
Flush_local_all(self)
Complete locally all outstanding RMA opera- tions at all targets
 
Free(self)
Free a window
 
Free_keyval(type cls, int keyval)
Free and attribute key for windows
 
Get(self, origin, int target_rank, target=None)
Get data from a memory window on a remote process.
 
Get_accumulate(self, origin, result, int target_rank, target=None, Op op=SUM)
Fetch-and-accumulate data into the target process
 
Get_attr(self, int keyval)
Retrieve attribute value by key
 
Get_errhandler(self)
Get the error handler for a window
 
Get_group(self)
Return a duplicate of the group of the communicator used to create the window
 
Get_info(self)
Return the hints for a windows that are currently in use
 
Get_name(self)
Get the print name associated with the window
 
Lock(self, int rank, int lock_type=LOCK_EXCLUSIVE, int assertion=0)
Begin an RMA access epoch at the target process
 
Lock_all(self, int assertion=0)
Begin an RMA access epoch at all processes
 
Post(self, Group group, int assertion=0)
Start an RMA exposure epoch
 
Put(self, origin, int target_rank, target=None)
Put data into a memory window on a remote process.
 
Raccumulate(self, origin, int target_rank, target=None, Op op=SUM)
Fetch-and-accumulate data into the target process
 
Rget(self, origin, int target_rank, target=None)
Get data from a memory window on a remote process.
 
Rget_accumulate(self, origin, result, int target_rank, target=None, Op op=SUM)
Accumulate data into the target process using remote memory access.
 
Rput(self, origin, int target_rank, target=None)
Put data into a memory window on a remote process.
 
Set_attr(self, int keyval, attrval)
Store attribute value associated with a key
 
Set_errhandler(self, Errhandler errhandler)
Set the error handler for a window
 
Set_info(self, Info info)
Set new values for the hints associated with a window
 
Set_name(self, name)
Set the print name associated with the window
 
Shared_query(self, int rank)
Query the process-local address for remote memory segments created with Win.Allocate\_shared()
 
Start(self, Group group, int assertion=0)
Start an RMA access epoch for MPI
 
Sync(self)
Synchronize public and private copies of the given window
 
Test(self)
Test whether an RMA exposure epoch has completed
 
Unlock(self, int rank)
Complete an RMA access epoch at the target process
 
Unlock_all(self)
Complete an RMA access epoch at all processes
 
Wait(self)
Complete an RMA exposure epoch begun with Win.Post()
 
__eq__(y)
x==y
 
__ge__(y)
x>=y
 
__gt__(y)
x>y
 
__le__(y)
x<=y
 
__lt__(y)
x<y
 
__ne__(y)
x!=y
a new object with type S, a subtype of T
__new__(S, ...)
 
__nonzero__()
x != 0
 
f2py(type cls, arg)
 
py2f(self)
 
tomemory(self)
Return window memory buffer
Properties [hide private]
  attrs
window attributes
  flavor
window create flavor
  group
window group
  info
window info
  model
window memory model
  name
window name
Method Details [hide private]

__new__(S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__