|
1 | 1 | .\" -*- nroff -*- |
2 | 2 | .\" Copyright 2006-2008 Sun Microsystems, Inc. |
3 | 3 | .\" Copyright (c) 1996 Thinking Machines Corporation |
4 | | -.\" Copyright (c) 2010-2015 Cisco Systems, Inc. All rights reserved. |
| 4 | +.\" Copyright (c) 2010-2020 Cisco Systems, Inc. All rights reserved. |
5 | 5 | .\" Copyright (c) 2020 Google, LLC. All rights reserved. |
6 | 6 | .\" $COPYRIGHT$ |
7 | 7 | .TH MPI_Init_thread 3 "#OMPI_DATE#" "#PACKAGE_VERSION#" "#PACKAGE_NAME#" |
@@ -128,52 +128,27 @@ opening files, reading standard input, or writing to standard output. |
128 | 128 | . |
129 | 129 | .SH MPI_THREAD_MULTIPLE Support |
130 | 130 | . |
131 | | -MPI_THREAD_MULTIPLE support is included if Open MPI was configured |
132 | | -with the --enable-mpi-thread-multiple configure switch. You can check the |
| 131 | +MPI_THREAD_MULTIPLE support is included if the environment in which |
| 132 | +Open MPI was built supports threading. You can check the |
133 | 133 | output of |
134 | 134 | .BR ompi_info (1) |
135 | 135 | to see if Open MPI has MPI_THREAD_MULTIPLE support: |
136 | 136 | . |
137 | 137 | .PP |
138 | 138 | .nf |
139 | | -shell$ ompi_info | grep -i thread |
140 | | - Thread support: posix (mpi: yes, progress: no) |
| 139 | +shell$ ompi_info | grep "Thread support" |
| 140 | + Thread support: posix (MPI_THREAD_MULTIPLE: yes, OPAL support: yes, OMPI progress: no, Event lib: yes) |
141 | 141 | shell$ |
142 | 142 | .fi |
143 | 143 | . |
144 | 144 | .PP |
145 | | -The "mpi: yes" portion of the above output indicates that Open MPI was |
146 | | -compiled with MPI_THREAD_MULTIPLE support. |
| 145 | +The "MPI_THREAD_MULTIPLE: yes" portion of the above output indicates |
| 146 | +that Open MPI was compiled with MPI_THREAD_MULTIPLE support. |
147 | 147 | . |
148 | 148 | .PP |
149 | | -Note that MPI_THREAD_MULTIPLE support is only lightly tested. It |
150 | | -likely does not work for thread-intensive applications. Also note |
151 | | -that |
152 | | -.I only |
153 | | -the MPI point-to-point communication functions for the BTL's listed |
154 | | -below are considered thread safe. Other support functions (e.g., MPI |
155 | | -attributes) have not been certified as safe when simultaneously used |
156 | | -by multiple threads. |
157 | | -. |
158 | | -.PP |
159 | | -.nf |
160 | | - tcp |
161 | | - sm |
162 | | - mx |
163 | | - elan |
164 | | - self |
165 | | -.fi |
166 | | -. |
167 | | -.PP |
168 | | -Note that Open MPI's thread support is in a fairly early stage; the |
169 | | -above devices are likely to |
170 | | -.IR work , |
171 | | -but the latency is likely to be fairly high. Specifically, efforts so |
172 | | -far have concentrated on |
173 | | -.IR correctness , |
174 | | -not |
175 | | -.I performance |
176 | | -(yet). |
| 149 | +Note that there is a small performance penalty for using |
| 150 | +MPI_THREAD_MULTIPLE support; latencies for short messages will be |
| 151 | +higher as compared to when using MPI_THREAD_SINGLE, for example. |
177 | 152 | . |
178 | 153 | . |
179 | 154 | .SH ERRORS |
|
0 commit comments