From efc7d3e2f6328f9ee4edfcd65da8563afd1f8b71 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Tue, 27 Apr 2010 03:46:04 +0000 Subject: [PATCH] Update the LSF PLM module to ensure that the path is correctly passed. Many thanks to Teng Lin for the error report - and the patch! This commit was SVN r23047. --- orte/mca/plm/lsf/plm_lsf_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orte/mca/plm/lsf/plm_lsf_module.c b/orte/mca/plm/lsf/plm_lsf_module.c index 9a2ae0893f..b98ec4a403 100644 --- a/orte/mca/plm/lsf/plm_lsf_module.c +++ b/orte/mca/plm/lsf/plm_lsf_module.c @@ -301,7 +301,7 @@ static int plm_lsf_launch_job(orte_job_t *jdata) * orterun can do the rest of its stuff. Instead, we'll catch any * failures and deal with them elsewhere */ - if (lsb_launch(nodelist_argv, argv, LSF_DJOB_NOWAIT, env) < 0) { + if (lsb_launch(nodelist_argv, argv, LSF_DJOB_REPLACE_ENV | LSF_DJOB_NOWAIT, env) < 0) { ORTE_ERROR_LOG(ORTE_ERR_FAILED_TO_START); opal_output(0, "lsb_launch failed: %d", rc); rc = ORTE_ERR_FAILED_TO_START;