From 298a50ff3b7504fcc49a53238d8e9424a40cc265 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Tue, 14 Dec 2010 22:49:36 +0000 Subject: [PATCH] Clarification that calling MPI_INIT_THREAD with MPI_THREAD_SINGLE is the same as calling MPI_INIT. This commit was SVN r24173. --- ompi/mpi/man/man3/MPI_Init_thread.3in | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ompi/mpi/man/man3/MPI_Init_thread.3in b/ompi/mpi/man/man3/MPI_Init_thread.3in index 2818cec742..41ef5e2b64 100644 --- a/ompi/mpi/man/man3/MPI_Init_thread.3in +++ b/ompi/mpi/man/man3/MPI_Init_thread.3in @@ -81,8 +81,15 @@ with no restrictions. .PP 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 -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 -\fIrequired\fP. +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 \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 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