Chris@10: Chris@10: Chris@10: MPI Wisdom Communication - FFTW 3.3.3 Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10: Chris@10:
Chris@10: Chris@10:

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


Chris@10:
Chris@10: Chris@10:

6.12.6 MPI Wisdom Communication

Chris@10: Chris@10:

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

Chris@10:

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

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

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

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