File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 4
4
* Copyright (c) 2004-2011 The University of Tennessee and The University
5
5
* of Tennessee Research Foundation. All rights
6
6
* reserved.
7
- * Copyright (c) 2014-2016 Intel, Inc. All rights reserved.
7
+ * Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
8
8
* $COPYRIGHT$
9
9
*
10
10
* Additional copyrights may follow
@@ -76,14 +76,16 @@ static int init(void)
76
76
lifeline = NULL ;
77
77
78
78
if (ORTE_PROC_IS_DAEMON ) {
79
+ ORTE_PROC_MY_PARENT -> jobid = ORTE_PROC_MY_NAME -> jobid ;
79
80
/* if we are using static ports, set my lifeline to point at my parent */
80
81
if (orte_static_ports ) {
82
+ /* we will have been given our parent's vpid by MCA param */
81
83
lifeline = ORTE_PROC_MY_PARENT ;
82
84
} else {
83
85
/* set our lifeline to the HNP - we will abort if that connection is lost */
84
86
lifeline = ORTE_PROC_MY_HNP ;
87
+ ORTE_PROC_MY_PARENT -> vpid = 0 ;
85
88
}
86
- ORTE_PROC_MY_PARENT -> jobid = ORTE_PROC_MY_NAME -> jobid ;
87
89
} else if (ORTE_PROC_IS_APP ) {
88
90
/* if we don't have a designated daemon, just
89
91
* disqualify ourselves */
@@ -359,4 +361,3 @@ static int direct_ft_event(int state)
359
361
return exit_status ;
360
362
}
361
363
#endif
362
-
You can’t perform that action at this time.
0 commit comments