From f6a64706ad14d1aa340e18be66370ce9bb4c30c8 Mon Sep 17 00:00:00 2001 From: Brian Barrett Date: Tue, 16 Aug 2005 16:07:29 +0000 Subject: [PATCH] Fix some poorly choosen constants in the XGrid PLS This commit was SVN r6901. --- orte/mca/pls/xgrid/src/pls_xgrid_client.m | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/orte/mca/pls/xgrid/src/pls_xgrid_client.m b/orte/mca/pls/xgrid/src/pls_xgrid_client.m index 331cdb78a0..bc3962ee67 100644 --- a/orte/mca/pls/xgrid/src/pls_xgrid_client.m +++ b/orte/mca/pls/xgrid/src/pls_xgrid_client.m @@ -255,7 +255,7 @@ mca_pls_xgrid_set_node_name(orte_ras_node_t* node, /* allocate vpids for the daemons */ num_nodes = opal_list_get_size(&nodes); - if (num_nodes == 0) return OMPI_ERR_BAD_PARAM; + if (num_nodes == 0) return ORTE_ERR_BAD_PARAM; ret = orte_ns.reserve_range(0, num_nodes, &vpid); if (ORTE_SUCCESS != ret) goto cleanup; @@ -339,12 +339,12 @@ mca_pls_xgrid_set_node_name(orte_ras_node_t* node, /* we should have a result - find out if it worked */ if (XGActionMonitorOutcomeSuccess == [actionMonitor outcome]) { - ret = OMPI_SUCCESS; + ret = ORTE_SUCCESS; } else { NSError *err = [actionMonitor error]; fprintf(stderr, "orte:pls:xgrid: launch failed: %s\n", [[err localizedFailureReason] cString]); - ret = OMPI_ERROR; + ret = ORTE_ERROR; } /* save the XGJob identifier somewhere we can get to it */ @@ -375,12 +375,12 @@ cleanup: /* we should have a result - find out if it worked */ if (XGActionMonitorOutcomeSuccess == [actionMonitor outcome]) { - ret = OMPI_SUCCESS; + ret = ORTE_SUCCESS; } else { NSError *err = [actionMonitor error]; fprintf(stderr, "orte:pls:xgrid: terminate failed: %s\n", [[err localizedFailureReason] cString]); - ret = OMPI_ERROR; + ret = ORTE_ERROR; } return ret;