Chris@42: Chris@42: Chris@42: Chris@42: Chris@42:
Chris@42:Chris@42: Previous: MPI Plan Creation, Up: FFTW MPI Reference [Contents][Index]
Chris@42:To facilitate synchronizing wisdom among the different MPI processes, Chris@42: we provide two functions: Chris@42:
Chris@42: Chris@42: Chris@42:void fftw_mpi_gather_wisdom(MPI_Comm comm); Chris@42: void fftw_mpi_broadcast_wisdom(MPI_Comm comm); Chris@42:
The fftw_mpi_gather_wisdom
function gathers all wisdom in the
Chris@42: given communicator comm
to the process of rank 0 in the
Chris@42: communicator: that process obtains the union of all wisdom on all the
Chris@42: processes. As a side effect, some other processes will gain
Chris@42: additional wisdom from other processes, but only process 0 will gain
Chris@42: the complete union.
Chris@42:
The fftw_mpi_broadcast_wisdom
does the reverse: it exports
Chris@42: wisdom from process 0 in comm
to all other processes in the
Chris@42: communicator, replacing any wisdom they currently have.
Chris@42:
See FFTW MPI Wisdom. Chris@42:
Chris@42: Chris@42: Chris@42: Chris@42: Chris@42: