mpi_array.globale.gndarray¶
-
class
mpi_array.globale.gndarray[source]¶ Bases:
numpy.lib.mixins.NDArrayOperatorsMixinA Partitioned Global Address Space array with
numpy.ndarrayAPI.Methods
all(**unused_kwargs)calculate_copyfrom_updates(src[, casting])copy([order])copyfrom(src[, casting])Copy the elements of the srcarray to corresponding elements of theselfarray.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, wherearyis 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_commto 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_distribdistributiondtypehalo_updaterlndarray_proxylocale_commsndimnum_localesorderrank_loggerrank_view_hrank_view_nrma_window_bufferroot_loggershapethis_localeview_hview_n