Commit 9590e370 authored by Antonio J. Pena's avatar Antonio J. Pena Committed by Wesley Bland
Browse files

Fixed MPI_HOST/MPI_IO attributes



Fixes #1781
Signed-off-by: default avatarWesley Bland <wbland@mcs.anl.gov>
parent cba9da60
......@@ -311,8 +311,8 @@ int MPIR_Init_thread(int * argc, char ***argv, int required, int * provided)
/* Initialize necessary subsystems and setup the predefined attribute
values. Subsystems may change these values. */
MPIR_Process.attrs.appnum = -1;
MPIR_Process.attrs.host = 0;
MPIR_Process.attrs.io = 0;
MPIR_Process.attrs.host = MPI_PROC_NULL;
MPIR_Process.attrs.io = MPI_PROC_NULL;
MPIR_Process.attrs.lastusedcode = MPI_ERR_LASTCODE;
MPIR_Process.attrs.tag_ub = 0;
MPIR_Process.attrs.universe = MPIR_UNIVERSE_SIZE_NOT_SET;
......
......@@ -129,6 +129,7 @@ int MPID_Init(int *argc, char ***argv, int requested, int *provided,
* if necessary.
*/
MPIR_Process.attrs.tag_ub = MPIDI_TAG_UB; /* see also mpidpre.h:NOTE-T1 */
MPIR_Process.attrs.io = MPI_ANY_SOURCE;
/*
* Perform channel-independent PMI initialization
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment