* 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.
Этот коммит содержится в:
родитель
36ce3c9ad4
Коммит
188d529beb
@ -229,7 +229,7 @@ static int pls_lsf_launch_job(orte_jobid_t jobid)
|
|||||||
|
|
||||||
/* force orted to use the lsf sds */
|
/* force orted to use the lsf sds */
|
||||||
opal_argv_append(&argc, &argv, "--ns-nds");
|
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
|
/* tell the new daemons the base of the name list so they can compute
|
||||||
* their own name on the other end
|
* their own name on the other end
|
||||||
|
@ -55,6 +55,7 @@ int orte_sds_lsf_set_name(void)
|
|||||||
int rc;
|
int rc;
|
||||||
int id;
|
int id;
|
||||||
char* name_string = NULL;
|
char* name_string = NULL;
|
||||||
|
int lsf_nodeid;
|
||||||
|
|
||||||
/* start by getting our jobid, and vpid (which is the
|
/* start by getting our jobid, and vpid (which is the
|
||||||
starting vpid for the list of daemons) */
|
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 */
|
/* get the non-name common environmental variables */
|
||||||
if (ORTE_SUCCESS != (rc = orte_sds_env_get())) {
|
if (ORTE_SUCCESS != (rc = orte_sds_env_get())) {
|
||||||
ORTE_ERROR_LOG(rc);
|
ORTE_ERROR_LOG(rc);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user