Chris@10
|
1 <html lang="en">
|
Chris@10
|
2 <head>
|
Chris@10
|
3 <title>MPI Wisdom Communication - FFTW 3.3.3</title>
|
Chris@10
|
4 <meta http-equiv="Content-Type" content="text/html">
|
Chris@10
|
5 <meta name="description" content="FFTW 3.3.3">
|
Chris@10
|
6 <meta name="generator" content="makeinfo 4.13">
|
Chris@10
|
7 <link title="Top" rel="start" href="index.html#Top">
|
Chris@10
|
8 <link rel="up" href="FFTW-MPI-Reference.html#FFTW-MPI-Reference" title="FFTW MPI Reference">
|
Chris@10
|
9 <link rel="prev" href="MPI-Plan-Creation.html#MPI-Plan-Creation" title="MPI Plan Creation">
|
Chris@10
|
10 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
Chris@10
|
11 <!--
|
Chris@10
|
12 This manual is for FFTW
|
Chris@10
|
13 (version 3.3.3, 25 November 2012).
|
Chris@10
|
14
|
Chris@10
|
15 Copyright (C) 2003 Matteo Frigo.
|
Chris@10
|
16
|
Chris@10
|
17 Copyright (C) 2003 Massachusetts Institute of Technology.
|
Chris@10
|
18
|
Chris@10
|
19 Permission is granted to make and distribute verbatim copies of
|
Chris@10
|
20 this manual provided the copyright notice and this permission
|
Chris@10
|
21 notice are preserved on all copies.
|
Chris@10
|
22
|
Chris@10
|
23 Permission is granted to copy and distribute modified versions of
|
Chris@10
|
24 this manual under the conditions for verbatim copying, provided
|
Chris@10
|
25 that the entire resulting derived work is distributed under the
|
Chris@10
|
26 terms of a permission notice identical to this one.
|
Chris@10
|
27
|
Chris@10
|
28 Permission is granted to copy and distribute translations of this
|
Chris@10
|
29 manual into another language, under the above conditions for
|
Chris@10
|
30 modified versions, except that this permission notice may be
|
Chris@10
|
31 stated in a translation approved by the Free Software Foundation.
|
Chris@10
|
32 -->
|
Chris@10
|
33 <meta http-equiv="Content-Style-Type" content="text/css">
|
Chris@10
|
34 <style type="text/css"><!--
|
Chris@10
|
35 pre.display { font-family:inherit }
|
Chris@10
|
36 pre.format { font-family:inherit }
|
Chris@10
|
37 pre.smalldisplay { font-family:inherit; font-size:smaller }
|
Chris@10
|
38 pre.smallformat { font-family:inherit; font-size:smaller }
|
Chris@10
|
39 pre.smallexample { font-size:smaller }
|
Chris@10
|
40 pre.smalllisp { font-size:smaller }
|
Chris@10
|
41 span.sc { font-variant:small-caps }
|
Chris@10
|
42 span.roman { font-family:serif; font-weight:normal; }
|
Chris@10
|
43 span.sansserif { font-family:sans-serif; font-weight:normal; }
|
Chris@10
|
44 --></style>
|
Chris@10
|
45 </head>
|
Chris@10
|
46 <body>
|
Chris@10
|
47 <div class="node">
|
Chris@10
|
48 <a name="MPI-Wisdom-Communication"></a>
|
Chris@10
|
49 <p>
|
Chris@10
|
50 Previous: <a rel="previous" accesskey="p" href="MPI-Plan-Creation.html#MPI-Plan-Creation">MPI Plan Creation</a>,
|
Chris@10
|
51 Up: <a rel="up" accesskey="u" href="FFTW-MPI-Reference.html#FFTW-MPI-Reference">FFTW MPI Reference</a>
|
Chris@10
|
52 <hr>
|
Chris@10
|
53 </div>
|
Chris@10
|
54
|
Chris@10
|
55 <h4 class="subsection">6.12.6 MPI Wisdom Communication</h4>
|
Chris@10
|
56
|
Chris@10
|
57 <p>To facilitate synchronizing wisdom among the different MPI processes,
|
Chris@10
|
58 we provide two functions:
|
Chris@10
|
59
|
Chris@10
|
60 <p><a name="index-fftw_005fmpi_005fgather_005fwisdom-492"></a><a name="index-fftw_005fmpi_005fbroadcast_005fwisdom-493"></a>
|
Chris@10
|
61 <pre class="example"> void fftw_mpi_gather_wisdom(MPI_Comm comm);
|
Chris@10
|
62 void fftw_mpi_broadcast_wisdom(MPI_Comm comm);
|
Chris@10
|
63 </pre>
|
Chris@10
|
64 <p>The <code>fftw_mpi_gather_wisdom</code> function gathers all wisdom in the
|
Chris@10
|
65 given communicator <code>comm</code> to the process of rank 0 in the
|
Chris@10
|
66 communicator: that process obtains the union of all wisdom on all the
|
Chris@10
|
67 processes. As a side effect, some other processes will gain
|
Chris@10
|
68 additional wisdom from other processes, but only process 0 will gain
|
Chris@10
|
69 the complete union.
|
Chris@10
|
70
|
Chris@10
|
71 <p>The <code>fftw_mpi_broadcast_wisdom</code> does the reverse: it exports
|
Chris@10
|
72 wisdom from process 0 in <code>comm</code> to all other processes in the
|
Chris@10
|
73 communicator, replacing any wisdom they currently have.
|
Chris@10
|
74
|
Chris@10
|
75 <p>See <a href="FFTW-MPI-Wisdom.html#FFTW-MPI-Wisdom">FFTW MPI Wisdom</a>.
|
Chris@10
|
76
|
Chris@10
|
77 <!-- -->
|
Chris@10
|
78 </body></html>
|
Chris@10
|
79
|