1
1

Update Mprobe/Improbe man page for MPI_PROC_NULL case and

mprobe.c/improbe.c for MPI_STATUS_IGNORE/MPI_PROC_NULL case.

This commit was SVN r27386.
Этот коммит содержится в:
Eugene Loh 2012-10-01 05:18:21 +00:00
родитель 04304c186f
Коммит 11f8dcb538
4 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -1,6 +1,7 @@
/* /*
* Copyright (c) 2011 Sandia National Laboratories. All rights reserved. * Copyright (c) 2011 Sandia National Laboratories. All rights reserved.
* Copyright (c) 2012 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -62,8 +63,8 @@ int MPI_Improbe(int source, int tag, MPI_Comm comm, int *flag,
MEMCHECKER( MEMCHECKER(
opal_memchecker_base_mem_undefined(&status->MPI_ERROR, sizeof(int)); opal_memchecker_base_mem_undefined(&status->MPI_ERROR, sizeof(int));
); );
*message = &ompi_message_no_proc.message;
} }
*message = &ompi_message_no_proc.message;
*flag = 1; *flag = 1;
return MPI_SUCCESS; return MPI_SUCCESS;
} }

Просмотреть файл

@ -1,6 +1,7 @@
/* /*
* Copyright (c) 2011 Sandia National Laboratories. All rights reserved. * Copyright (c) 2011 Sandia National Laboratories. All rights reserved.
* Copyright (c) 2012 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -62,8 +63,8 @@ int MPI_Mprobe(int source, int tag, MPI_Comm comm,
MEMCHECKER( MEMCHECKER(
opal_memchecker_base_mem_undefined(&status->MPI_ERROR, sizeof(int)); opal_memchecker_base_mem_undefined(&status->MPI_ERROR, sizeof(int));
); );
*message = &ompi_message_no_proc.message;
} }
*message = &ompi_message_no_proc.message;
return MPI_SUCCESS; return MPI_SUCCESS;
} }

Просмотреть файл

@ -1,3 +1,4 @@
.\" Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved.
.\" Copyright 2012 Cisco Systems, Inc. All rights reserved. .\" Copyright 2012 Cisco Systems, Inc. All rights reserved.
.\" Copyright 2006-2008 Sun Microsystems, Inc. .\" Copyright 2006-2008 Sun Microsystems, Inc.
.\" Copyright (c) 1996 Thinking Machines Corporation .\" Copyright (c) 1996 Thinking Machines Corporation
@ -71,7 +72,7 @@ allocate memory for the receive buffer according to the length of the
probed message. probed message.
.sp .sp
A matching probe with MPI_PROC_NULL as \fIsource\fP returns \fIflag\fP A matching probe with MPI_PROC_NULL as \fIsource\fP returns \fIflag\fP
= true, \fImessage\fP = MPI_MESSAGE_NULL, and the \fIstatus\fP object = true, \fImessage\fP = MPI_MESSAGE_NO_PROC, and the \fIstatus\fP object
returns source = MPI_PROC_NULL, tag = MPI_ANY_TAG, and count = 0. returns source = MPI_PROC_NULL, tag = MPI_ANY_TAG, and count = 0.
.sp .sp
MPI_Iprobe returns a true value in \fIflag\fP if a message has been MPI_Iprobe returns a true value in \fIflag\fP if a message has been

Просмотреть файл

@ -1,3 +1,4 @@
.\" Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved.
.\" Copyright 2012 Cisco Systems, Inc. All rights reserved. .\" Copyright 2012 Cisco Systems, Inc. All rights reserved.
.\" Copyright 2006-2008 Sun Microsystems, Inc. .\" Copyright 2006-2008 Sun Microsystems, Inc.
.\" Copyright (c) 1996 Thinking Machines Corporation .\" Copyright (c) 1996 Thinking Machines Corporation
@ -66,7 +67,7 @@ allocate memory for the receive buffer according to the length of the
probed message. probed message.
.sp .sp
A matching probe with MPI_PROC_NULL as \fIsource\fP returns A matching probe with MPI_PROC_NULL as \fIsource\fP returns
\fImessage\fP = MPI_MESSAGE_NULL, and the \fIstatus\fP object returns \fImessage\fP = MPI_MESSAGE_NO_PROC, and the \fIstatus\fP object returns
source = MPI_PROC_NULL, tag = MPI_ANY_TAG, and count = 0. source = MPI_PROC_NULL, tag = MPI_ANY_TAG, and count = 0.
.sp .sp
When MPI_Mprobe returns (from a non-MPI_PROC_NULL \fIsource\fP), the When MPI_Mprobe returns (from a non-MPI_PROC_NULL \fIsource\fP), the