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

Class Graphcomm


General graph topology intracommunicator
Instance Methods [hide private]
 
Dup(self)
Duplicate an existing communicator
 
Get_dims(self)
Return the number of nodes and edges
 
Get_neighbors(self, int rank)
Return list of neighbors of a process
 
Get_neighbors_count(self, int rank)
Return number of neighbors of a process
 
Get_topo(self)
Return index and edges
 
Map(self, index, edges)
Return an optimal placement for the calling process on the physical machine
a new object with type S, a subtype of T
__new__(S, ...)

Inherited from Intracomm: Accept, Connect, Create, Create_cart, Create_dist_graph, Create_dist_graph_adjacent, Create_graph, Create_intercomm, Exscan, Scan, Spawn, Spawn_multiple, Split, exscan, scan

Inherited from Comm: Abort, Allgather, Allgatherv, Allreduce, Alltoall, Alltoallv, Alltoallw, Barrier, Bcast, Bsend, Bsend_init, Call_errhandler, Clone, Compare, Create_keyval, Delete_attr, Disconnect, Free, Free_keyval, Gather, Gatherv, Get_attr, Get_errhandler, Get_group, Get_name, Get_parent, Get_rank, Get_size, Get_topology, Ibsend, Iprobe, Irecv, Irsend, Is_inter, Is_intra, Isend, Issend, Join, Probe, Recv, Recv_init, Reduce, Reduce_scatter, Reduce_scatter_block, Rsend, Rsend_init, Scatter, Scatterv, Send, Send_init, Sendrecv, Sendrecv_replace, Set_attr, Set_errhandler, Set_name, Ssend, Ssend_init, __eq__, __ge__, __gt__, __le__, __lt__, __ne__, __nonzero__, allgather, allreduce, alltoall, barrier, bcast, bsend, f2py, gather, ibsend, irecv, isend, issend, py2f, recv, reduce, scatter, send, sendrecv, ssend

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  dims
number of nodes and edges
  edges
edges
  index
index
  nedges
number of edges
  neighbors
neighbors
  nneighbors
number of neighbors
  nnodes
number of nodes
  topo
topology information

Inherited from Comm: group, is_inter, is_intra, name, rank, size, topology

Inherited from object: __class__

Method Details [hide private]

Dup(self)

 
Duplicate an existing communicator
Overrides: Intracomm.Dup

__new__(S, ...)

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