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