1
1

Complete the r19767 commit for XGrid, i.e. allow the PLM Xgrid to build.

This commit was SVN r19777.

The following SVN revision numbers were found above:
  r19767 --> open-mpi/ompi@6e5d844c36
Этот коммит содержится в:
George Bosilca 2008-10-21 15:37:22 +00:00
родитель f2a7993aa5
Коммит 61317cb61d

Просмотреть файл

@ -2,7 +2,7 @@
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
* Corporation. All rights reserved. * Corporation. All rights reserved.
* Copyright (c) 2004-2005 The University of Tennessee and The University * Copyright (c) 2004-2008 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights * of Tennessee Research Foundation. All rights
* reserved. * reserved.
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
@ -149,8 +149,8 @@ orte_plm_xgrid_spawn(orte_job_t *jdata)
orte_pointer_array_add(&index, orte_job_data, jdata); orte_pointer_array_add(&index, orte_job_data, jdata);
if (ORTE_SUCCESS != (rc = orte_plm_xgrid_make_nodes(jdata))) { if (ORTE_SUCCESS != (rc = orte_plm_xgrid_make_nodes(jdata))) {
ORTE_ERROR_LOG(rc); ORTE_ERROR_LOG(rc);
goto cleanup; goto cleanup;
} }
OPAL_OUTPUT_VERBOSE((1, orte_plm_globals.output, OPAL_OUTPUT_VERBOSE((1, orte_plm_globals.output,
@ -160,7 +160,7 @@ orte_plm_xgrid_spawn(orte_job_t *jdata)
if (ORTE_SUCCESS != (rc = orte_rmaps.map_job(jdata))) { if (ORTE_SUCCESS != (rc = orte_rmaps.map_job(jdata))) {
ORTE_ERROR_LOG(rc); ORTE_ERROR_LOG(rc);
goto cleanup; goto cleanup;
} }
OPAL_OUTPUT_VERBOSE((1, orte_plm_globals.output, OPAL_OUTPUT_VERBOSE((1, orte_plm_globals.output,
@ -168,22 +168,11 @@ orte_plm_xgrid_spawn(orte_job_t *jdata)
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
ORTE_JOBID_PRINT(jdata->jobid))); ORTE_JOBID_PRINT(jdata->jobid)));
/* setup I/O forwarding */
name.jobid = jdata->jobid;
if (ORTE_SUCCESS != (rc = orte_iof.iof_pull(&name, ORTE_NS_CMP_JOBID, ORTE_IOF_STDOUT, 1))) {
ORTE_ERROR_LOG(rc);
goto cleanup;
}
if (ORTE_SUCCESS != (rc = orte_iof.iof_pull(&name, ORTE_NS_CMP_JOBID, ORTE_IOF_STDERR, 2))) {
ORTE_ERROR_LOG(rc);
goto cleanup;
}
/* launch new daemons */ /* launch new daemons */
rc = [mca_plm_xgrid_component.client launchOrteds: jdata]; rc = [mca_plm_xgrid_component.client launchOrteds: jdata];
if (ORTE_SUCCESS != rc) { if (ORTE_SUCCESS != rc) {
ORTE_ERROR_LOG(rc); ORTE_ERROR_LOG(rc);
goto cleanup; goto cleanup;
} }
/* Daemons are running - launch the applications */ /* Daemons are running - launch the applications */