mpi_array.globale.gndarray

class mpi_array.globale.gndarray[source]

Bases: numpy.lib.mixins.NDArrayOperatorsMixin

A Partitioned Global Address Space array with numpy.ndarray API.

Methods

all(**unused_kwargs)
calculate_copyfrom_updates(src[, casting])
copy([order])
copyfrom(src[, casting]) Copy the elements of the src array to corresponding elements of the self array.
fill(value) Fill the array (excluding ghost elements) with a scalar value.
fill_h(value) Fill all array elements (including ghost elements) with a scalar value.
free() Collective (all samp:peer_comm processes) free of MPI windows (and locale array memory).
get_view([slice, start, stop, halo]) Returns (ary, extent) pair, where ary is a view from the locale extent array corresponding to the specified extent arguments.
initialise_windows() Creates the RMA windows required for inter-locale (and peer) one-sided RMA comms.
inter_locale_barrier()
intra_locale_barrier()
locale_get([slice, start, stop, halo]) Collective over self.comms.intra_locale_comm to get a portion of the globale array.
peer_rank_get([slice, start, stop, halo]) Non-collective, one-sided fetch of data to this peer rank process.
reshape(shape) Returns an array containing the same data with a new shape equal to shape.
update()

Attributes

comms_and_distrib
distribution
dtype
halo_updater
lndarray_proxy
locale_comms
ndim
num_locales
order
rank_logger
rank_view_h
rank_view_n
rma_window_buffer
root_logger
shape
this_locale
view_h
view_n