cannam@95: cannam@95: cannam@95: MPI Wisdom Communication - FFTW 3.3.3 cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95: cannam@95:
cannam@95: cannam@95:

cannam@95: Previous: MPI Plan Creation, cannam@95: Up: FFTW MPI Reference cannam@95:


cannam@95:
cannam@95: cannam@95:

6.12.6 MPI Wisdom Communication

cannam@95: cannam@95:

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

cannam@95:

     void fftw_mpi_gather_wisdom(MPI_Comm comm);
cannam@95:      void fftw_mpi_broadcast_wisdom(MPI_Comm comm);
cannam@95: 
cannam@95:

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

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

See FFTW MPI Wisdom. cannam@95: cannam@95: cannam@95: cannam@95: