@@ -222,31 +222,26 @@ static int rte_init(void)
222222 * process stats if requested
223223 */
224224 if (ORTE_SUCCESS != (ret = mca_base_framework_open (& opal_pstat_base_framework , 0 ))) {
225- ORTE_ERROR_LOG (ret );
226225 error = "opal_pstat_base_open" ;
227226 goto error ;
228227 }
229228 if (ORTE_SUCCESS != (ret = opal_pstat_base_select ())) {
230- ORTE_ERROR_LOG (ret );
231229 error = "opal_pstat_base_select" ;
232230 goto error ;
233231 }
234232
235233 /* open and setup the state machine */
236234 if (ORTE_SUCCESS != (ret = mca_base_framework_open (& orte_state_base_framework , 0 ))) {
237- ORTE_ERROR_LOG (ret );
238235 error = "orte_state_base_open" ;
239236 goto error ;
240237 }
241238 if (ORTE_SUCCESS != (ret = orte_state_base_select ())) {
242- ORTE_ERROR_LOG (ret );
243239 error = "orte_state_base_select" ;
244240 goto error ;
245241 }
246242
247243 /* open the errmgr */
248244 if (ORTE_SUCCESS != (ret = mca_base_framework_open (& orte_errmgr_base_framework , 0 ))) {
249- ORTE_ERROR_LOG (ret );
250245 error = "orte_errmgr_base_open" ;
251246 goto error ;
252247 }
@@ -257,27 +252,27 @@ static int rte_init(void)
257252 * first and select that component.
258253 */
259254 if (ORTE_SUCCESS != (ret = mca_base_framework_open (& orte_plm_base_framework , 0 ))) {
260- ORTE_ERROR_LOG (ret );
261255 error = "orte_plm_base_open" ;
262256 goto error ;
263257 }
264258
265259 if (ORTE_SUCCESS != (ret = orte_plm_base_select ())) {
266- ORTE_ERROR_LOG (ret );
267260 error = "orte_plm_base_select" ;
261+ if (ORTE_ERR_FATAL == ret ) {
262+ /* we already output a show_help - so keep down the verbage */
263+ ret = ORTE_ERR_SILENT ;
264+ }
268265 goto error ;
269266 }
270267 /* if we were spawned by a singleton, our jobid was given to us */
271268 if (NULL != orte_ess_base_jobid ) {
272269 if (ORTE_SUCCESS != (ret = orte_util_convert_string_to_jobid (& ORTE_PROC_MY_NAME -> jobid , orte_ess_base_jobid ))) {
273- ORTE_ERROR_LOG (ret );
274270 error = "convert_string_to_jobid" ;
275271 goto error ;
276272 }
277273 ORTE_PROC_MY_NAME -> vpid = 0 ;
278274 } else {
279275 if (ORTE_SUCCESS != (ret = orte_plm .set_hnp_name ())) {
280- ORTE_ERROR_LOG (ret );
281276 error = "orte_plm_set_hnp_name" ;
282277 goto error ;
283278 }
@@ -304,7 +299,6 @@ static int rte_init(void)
304299 orte_process_info .tmpdir_base ,
305300 orte_process_info .nodename , NULL ,
306301 ORTE_PROC_MY_NAME ))) {
307- ORTE_ERROR_LOG (ret );
308302 error = "orte_session_dir define" ;
309303 goto error ;
310304 }
@@ -318,7 +312,6 @@ static int rte_init(void)
318312 orte_process_info .tmpdir_base ,
319313 orte_process_info .nodename , NULL ,
320314 ORTE_PROC_MY_NAME ))) {
321- ORTE_ERROR_LOG (ret );
322315 error = "orte_session_dir" ;
323316 goto error ;
324317 }
@@ -330,12 +323,10 @@ static int rte_init(void)
330323 * OOB Layer
331324 */
332325 if (ORTE_SUCCESS != (ret = mca_base_framework_open (& orte_oob_base_framework , 0 ))) {
333- ORTE_ERROR_LOG (ret );
334326 error = "orte_oob_base_open" ;
335327 goto error ;
336328 }
337329 if (ORTE_SUCCESS != (ret = orte_oob_base_select ())) {
338- ORTE_ERROR_LOG (ret );
339330 error = "orte_oob_base_select" ;
340331 goto error ;
341332 }
@@ -344,18 +335,15 @@ static int rte_init(void)
344335 * Runtime Messaging Layer
345336 */
346337 if (ORTE_SUCCESS != (ret = mca_base_framework_open (& orte_rml_base_framework , 0 ))) {
347- ORTE_ERROR_LOG (ret );
348338 error = "orte_rml_base_open" ;
349339 goto error ;
350340 }
351341 if (ORTE_SUCCESS != (ret = orte_rml_base_select ())) {
352- ORTE_ERROR_LOG (ret );
353342 error = "orte_rml_base_select" ;
354343 goto error ;
355344 }
356345
357346 if (ORTE_SUCCESS != (ret = orte_errmgr_base_select ())) {
358- ORTE_ERROR_LOG (ret );
359347 error = "orte_errmgr_base_select" ;
360348 goto error ;
361349 }
0 commit comments