Mercurial > hg > sv-dependency-builds
comparison src/fftw-3.3.3/doc/html/MPI-Initialization.html @ 10:37bf6b4a2645
Add FFTW3
author | Chris Cannam |
---|---|
date | Wed, 20 Mar 2013 15:35:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
9:c0fb53affa76 | 10:37bf6b4a2645 |
---|---|
1 <html lang="en"> | |
2 <head> | |
3 <title>MPI Initialization - FFTW 3.3.3</title> | |
4 <meta http-equiv="Content-Type" content="text/html"> | |
5 <meta name="description" content="FFTW 3.3.3"> | |
6 <meta name="generator" content="makeinfo 4.13"> | |
7 <link title="Top" rel="start" href="index.html#Top"> | |
8 <link rel="up" href="FFTW-MPI-Reference.html#FFTW-MPI-Reference" title="FFTW MPI Reference"> | |
9 <link rel="prev" href="MPI-Files-and-Data-Types.html#MPI-Files-and-Data-Types" title="MPI Files and Data Types"> | |
10 <link rel="next" href="Using-MPI-Plans.html#Using-MPI-Plans" title="Using MPI Plans"> | |
11 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> | |
12 <!-- | |
13 This manual is for FFTW | |
14 (version 3.3.3, 25 November 2012). | |
15 | |
16 Copyright (C) 2003 Matteo Frigo. | |
17 | |
18 Copyright (C) 2003 Massachusetts Institute of Technology. | |
19 | |
20 Permission is granted to make and distribute verbatim copies of | |
21 this manual provided the copyright notice and this permission | |
22 notice are preserved on all copies. | |
23 | |
24 Permission is granted to copy and distribute modified versions of | |
25 this manual under the conditions for verbatim copying, provided | |
26 that the entire resulting derived work is distributed under the | |
27 terms of a permission notice identical to this one. | |
28 | |
29 Permission is granted to copy and distribute translations of this | |
30 manual into another language, under the above conditions for | |
31 modified versions, except that this permission notice may be | |
32 stated in a translation approved by the Free Software Foundation. | |
33 --> | |
34 <meta http-equiv="Content-Style-Type" content="text/css"> | |
35 <style type="text/css"><!-- | |
36 pre.display { font-family:inherit } | |
37 pre.format { font-family:inherit } | |
38 pre.smalldisplay { font-family:inherit; font-size:smaller } | |
39 pre.smallformat { font-family:inherit; font-size:smaller } | |
40 pre.smallexample { font-size:smaller } | |
41 pre.smalllisp { font-size:smaller } | |
42 span.sc { font-variant:small-caps } | |
43 span.roman { font-family:serif; font-weight:normal; } | |
44 span.sansserif { font-family:sans-serif; font-weight:normal; } | |
45 --></style> | |
46 </head> | |
47 <body> | |
48 <div class="node"> | |
49 <a name="MPI-Initialization"></a> | |
50 <p> | |
51 Next: <a rel="next" accesskey="n" href="Using-MPI-Plans.html#Using-MPI-Plans">Using MPI Plans</a>, | |
52 Previous: <a rel="previous" accesskey="p" href="MPI-Files-and-Data-Types.html#MPI-Files-and-Data-Types">MPI Files and Data Types</a>, | |
53 Up: <a rel="up" accesskey="u" href="FFTW-MPI-Reference.html#FFTW-MPI-Reference">FFTW MPI Reference</a> | |
54 <hr> | |
55 </div> | |
56 | |
57 <h4 class="subsection">6.12.2 MPI Initialization</h4> | |
58 | |
59 <p>Before calling any other FFTW MPI (‘<samp><span class="samp">fftw_mpi_</span></samp>’) function, and | |
60 before importing any wisdom for MPI problems, you must call: | |
61 | |
62 <p><a name="index-fftw_005fmpi_005finit-434"></a> | |
63 <pre class="example"> void fftw_mpi_init(void); | |
64 </pre> | |
65 <p><a name="index-fftw_005finit_005fthreads-435"></a>If FFTW threads support is used, however, <code>fftw_mpi_init</code> should | |
66 be called <em>after</em> <code>fftw_init_threads</code> (see <a href="Combining-MPI-and-Threads.html#Combining-MPI-and-Threads">Combining MPI and Threads</a>). Calling <code>fftw_mpi_init</code> additional times (before | |
67 <code>fftw_mpi_cleanup</code>) has no effect. | |
68 | |
69 <p>If you want to deallocate all persistent data and reset FFTW to the | |
70 pristine state it was in when you started your program, you can call: | |
71 | |
72 <p><a name="index-fftw_005fmpi_005fcleanup-436"></a> | |
73 <pre class="example"> void fftw_mpi_cleanup(void); | |
74 </pre> | |
75 <p><a name="index-fftw_005fcleanup-437"></a>(This calls <code>fftw_cleanup</code>, so you need not call the serial | |
76 cleanup routine too, although it is safe to do so.) After calling | |
77 <code>fftw_mpi_cleanup</code>, all existing plans become undefined, and you | |
78 should not attempt to execute or destroy them. You must call | |
79 <code>fftw_mpi_init</code> again after <code>fftw_mpi_cleanup</code> if you want | |
80 to resume using the MPI FFTW routines. | |
81 | |
82 </body></html> | |
83 |