1
1

* We *do* need the LSF task ID as part of our vpid

* Accidentally had the PLS LSF using the env SDS; switch it back to
   the LSF SDS

This commit was SVN r15650.
Этот коммит содержится в:
Jeff Squyres 2007-07-26 20:22:36 +00:00
родитель 36ce3c9ad4
Коммит 188d529beb
2 изменённых файлов: 6 добавлений и 1 удалений

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

@ -229,7 +229,7 @@ static int pls_lsf_launch_job(orte_jobid_t jobid)
/* force orted to use the lsf sds */
opal_argv_append(&argc, &argv, "--ns-nds");
opal_argv_append(&argc, &argv, "env");
opal_argv_append(&argc, &argv, "lsf");
/* tell the new daemons the base of the name list so they can compute
* their own name on the other end

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

@ -55,6 +55,7 @@ int orte_sds_lsf_set_name(void)
int rc;
int id;
char* name_string = NULL;
int lsf_nodeid;
/* start by getting our jobid, and vpid (which is the
starting vpid for the list of daemons) */
@ -108,6 +109,10 @@ int orte_sds_lsf_set_name(void)
}
}
/* fix up the base name and make it the "real" name */
lsf_nodeid = atoi(getenv("LSF_PM_TASKID"));
orte_process_info.my_name->vpid = lsf_nodeid;
/* get the non-name common environmental variables */
if (ORTE_SUCCESS != (rc = orte_sds_env_get())) {
ORTE_ERROR_LOG(rc);