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,
1088
1088
}
1089
1089
} else {
1090
1090
bytes = boptr -> bytes ;
1091
+ sz = boptr -> size ;
1091
1092
boptr -> bytes = NULL ;
1092
1093
boptr -> size = 0 ;
1093
1094
}
@@ -1134,6 +1135,7 @@ int orte_util_decode_ppn(orte_job_t *jdata,
1134
1135
/* flag the proc as ready for launch */
1135
1136
proc -> state = ORTE_PROC_STATE_INIT ;
1136
1137
opal_pointer_array_add (node -> procs , proc );
1138
+ node -> num_procs ++ ;
1137
1139
/* we will add the proc to the jdata array when we
1138
1140
* compute its rank */
1139
1141
}
@@ -1142,6 +1144,9 @@ int orte_util_decode_ppn(orte_job_t *jdata,
1142
1144
}
1143
1145
OBJ_DESTRUCT (& bucket );
1144
1146
}
1147
+ if (OPAL_ERR_UNPACK_READ_PAST_END_OF_BUFFER != rc ) {
1148
+ ORTE_ERROR_LOG (rc );
1149
+ }
1145
1150
1146
1151
/* reset any flags */
1147
1152
for (m = 0 ; m < jdata -> map -> nodes -> size ; m ++ ) {
@@ -1150,7 +1155,6 @@ int orte_util_decode_ppn(orte_job_t *jdata,
1150
1155
ORTE_FLAG_UNSET (node , ORTE_NODE_FLAG_MAPPED );
1151
1156
}
1152
1157
}
1153
-
1154
1158
return ORTE_SUCCESS ;
1155
1159
1156
1160
error :
You can’t perform that action at this time.
0 commit comments