File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1088,6 +1088,7 @@ int orte_util_decode_ppn(orte_job_t *jdata,
10881088 }
10891089 } else {
10901090 bytes = boptr -> bytes ;
1091+ sz = boptr -> size ;
10911092 boptr -> bytes = NULL ;
10921093 boptr -> size = 0 ;
10931094 }
@@ -1134,6 +1135,7 @@ int orte_util_decode_ppn(orte_job_t *jdata,
11341135 /* flag the proc as ready for launch */
11351136 proc -> state = ORTE_PROC_STATE_INIT ;
11361137 opal_pointer_array_add (node -> procs , proc );
1138+ node -> num_procs ++ ;
11371139 /* we will add the proc to the jdata array when we
11381140 * compute its rank */
11391141 }
@@ -1142,6 +1144,9 @@ int orte_util_decode_ppn(orte_job_t *jdata,
11421144 }
11431145 OBJ_DESTRUCT (& bucket );
11441146 }
1147+ if (OPAL_ERR_UNPACK_READ_PAST_END_OF_BUFFER != rc ) {
1148+ ORTE_ERROR_LOG (rc );
1149+ }
11451150
11461151 /* reset any flags */
11471152 for (m = 0 ; m < jdata -> map -> nodes -> size ; m ++ ) {
@@ -1150,7 +1155,6 @@ int orte_util_decode_ppn(orte_job_t *jdata,
11501155 ORTE_FLAG_UNSET (node , ORTE_NODE_FLAG_MAPPED );
11511156 }
11521157 }
1153-
11541158 return ORTE_SUCCESS ;
11551159
11561160 error :
You can’t perform that action at this time.
0 commit comments