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 44 * Copyright (c) 2004-2011 The University of Tennessee and The University
55 * of Tennessee Research Foundation. All rights
66 * reserved.
7- * Copyright (c) 2014-2016 Intel, Inc. All rights reserved.
7+ * Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
88 * $COPYRIGHT$
99 *
1010 * Additional copyrights may follow
@@ -76,14 +76,16 @@ static int init(void)
7676 lifeline = NULL ;
7777
7878 if (ORTE_PROC_IS_DAEMON ) {
79+ ORTE_PROC_MY_PARENT -> jobid = ORTE_PROC_MY_NAME -> jobid ;
7980 /* if we are using static ports, set my lifeline to point at my parent */
8081 if (orte_static_ports ) {
82+ /* we will have been given our parent's vpid by MCA param */
8183 lifeline = ORTE_PROC_MY_PARENT ;
8284 } else {
8385 /* set our lifeline to the HNP - we will abort if that connection is lost */
8486 lifeline = ORTE_PROC_MY_HNP ;
87+ ORTE_PROC_MY_PARENT -> vpid = 0 ;
8588 }
86- ORTE_PROC_MY_PARENT -> jobid = ORTE_PROC_MY_NAME -> jobid ;
8789 } else if (ORTE_PROC_IS_APP ) {
8890 /* if we don't have a designated daemon, just
8991 * disqualify ourselves */
@@ -359,4 +361,3 @@ static int direct_ft_event(int state)
359361 return exit_status ;
360362}
361363#endif
362-
You can’t perform that action at this time.
0 commit comments