Merge pull request #5021 from jsquyres/pr/mpi-comm-spawn-multiple-man-page
MPI_Comm_spawn_multiple.3in: update Fortran string array notes
Этот коммит содержится в:
Коммит
11a1dca0aa
@ -1,6 +1,6 @@
|
||||
.\" -*- nroff -*-
|
||||
.\" Copyright 2013 Los Alamos National Security, LLC. All rights reserved.
|
||||
.\" Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
|
||||
.\" Copyright (c) 2010-2018 Cisco Systems, Inc. All rights reserved
|
||||
.\" Copyright 2006-2008 Sun Microsystems, Inc.
|
||||
.\" Copyright (c) 1996 Thinking Machines Corporation
|
||||
.\" $COPYRIGHT$
|
||||
@ -249,6 +249,15 @@ parameter; see MPI_Comm_spawn(3)'s description of the
|
||||
.I argv
|
||||
parameter for more details.
|
||||
.sp
|
||||
MPI-3.1 implies (but does not directly state) that the argument
|
||||
\fIarray_of_commands\fP must be an array of strings of length
|
||||
\fIcount\fP. Unlike the \fIarray_of_argv\fP parameter,
|
||||
\fIarray_of_commands\fP does not need to be terminated with a NULL
|
||||
pointer in C or a blank string in Fortran. Older versions of Open MPI
|
||||
required that \fIarray_of_commands\fP be terminated with a blank
|
||||
string in Fortran; that is no longer required in this version of Open
|
||||
MPI.
|
||||
.sp
|
||||
Calling MPI_Comm_spawn(3) many times would create many sets of
|
||||
children with different MPI_COMM_WORLDs, whereas
|
||||
MPI_Comm_spawn_multiple creates children with a single MPI_COMM_WORLD,
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user