Chris@19: Chris@19: Chris@19: MPI Wisdom Communication - FFTW 3.3.4 Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19: Chris@19:
Chris@19: Chris@19:

Chris@19: Previous: MPI Plan Creation, Chris@19: Up: FFTW MPI Reference Chris@19:


Chris@19:
Chris@19: Chris@19:

6.12.6 MPI Wisdom Communication

Chris@19: Chris@19:

To facilitate synchronizing wisdom among the different MPI processes, Chris@19: we provide two functions: Chris@19: Chris@19:

Chris@19:

     void fftw_mpi_gather_wisdom(MPI_Comm comm);
Chris@19:      void fftw_mpi_broadcast_wisdom(MPI_Comm comm);
Chris@19: 
Chris@19:

The fftw_mpi_gather_wisdom function gathers all wisdom in the Chris@19: given communicator comm to the process of rank 0 in the Chris@19: communicator: that process obtains the union of all wisdom on all the Chris@19: processes. As a side effect, some other processes will gain Chris@19: additional wisdom from other processes, but only process 0 will gain Chris@19: the complete union. Chris@19: Chris@19:

The fftw_mpi_broadcast_wisdom does the reverse: it exports Chris@19: wisdom from process 0 in comm to all other processes in the Chris@19: communicator, replacing any wisdom they currently have. Chris@19: Chris@19:

See FFTW MPI Wisdom. Chris@19: Chris@19: Chris@19: Chris@19: