Clarification that calling MPI_INIT_THREAD with MPI_THREAD_SINGLE is
the same as calling MPI_INIT. This commit was SVN r24173.
Этот коммит содержится в:
родитель
2f52ac6d7d
Коммит
298a50ff3b
@ -81,8 +81,15 @@ with no restrictions.
|
|||||||
.PP
|
.PP
|
||||||
The level of thread support available to the program is set in
|
The level of thread support available to the program is set in
|
||||||
\fIprovided\fP, except in C++, where it is the return value of the
|
\fIprovided\fP, except in C++, where it is the return value of the
|
||||||
function. In Open MPI, the value is dependent on how the library was configured and built. Note that there is no guarantee that \fIprovided\fP will be greater than or equal to
|
function. In Open MPI, the value is dependent on how the library was
|
||||||
\fIrequired\fP.
|
configured and built. Note that there is no guarantee that
|
||||||
|
\fIprovided\fP will be greater than or equal to \fIrequired\fP.
|
||||||
|
.sp
|
||||||
|
Also note that calling MPI_Init_thread with a
|
||||||
|
.I required
|
||||||
|
value of
|
||||||
|
.I MPI_THREAD_SINGLE
|
||||||
|
is equivalent to calling MPI_Init.
|
||||||
.sp
|
.sp
|
||||||
All MPI programs must contain a call to MPI_Init or
|
All MPI programs must contain a call to MPI_Init or
|
||||||
MPI_Init_thread. Open MPI accepts the C/C++ \fIargc\fP and \fIargv\fP
|
MPI_Init_thread. Open MPI accepts the C/C++ \fIargc\fP and \fIargv\fP
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user