odls/alps: make sure PMI env. variables set up
Add call to orte_odls_alps_get_rdma_creds in the local proc launch step to obtain the Cray Rdma credentials from the apshepherd, and to set the PMI env. variables expected by uGNI BTL, etc.
Этот коммит содержится в:
родитель
e0487e7702
Коммит
d749077e1e
@ -740,6 +740,15 @@ int orte_odls_alps_launch_local_procs(opal_buffer_t *data)
|
||||
return rc;
|
||||
}
|
||||
|
||||
/* get the RDMA credentials and push them into the launch environment */
|
||||
|
||||
if (ORTE_SUCCESS != (rc = orte_odls_alps_get_rdma_creds())) {;
|
||||
OPAL_OUTPUT_VERBOSE((2, orte_odls_base_framework.framework_output,
|
||||
"%s odls:alps:launch:failed to get GNI rdma credentials %s",
|
||||
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), ORTE_ERROR_NAME(rc)));
|
||||
return rc;
|
||||
}
|
||||
|
||||
/* launch the local procs */
|
||||
ORTE_ACTIVATE_LOCAL_LAUNCH(job, odls_alps_fork_local_proc);
|
||||
|
||||
|
@ -231,12 +231,6 @@ int orte_odls_alps_get_rdma_creds(void)
|
||||
goto fn_exit;
|
||||
}
|
||||
|
||||
#if 0
|
||||
fprintf(stderr,"apid = 0x%lx ptag0 %d cookie0 0x%x(%d) ptag1 %d cookie1 0x%x(%d)\n",apid,
|
||||
rdmacred_buf[0].ptag,rdmacred_buf[0].cookie,rdmacred_buf[0].cookie,
|
||||
rdmacred_buf[1].ptag,rdmacred_buf[1].cookie,rdmacred_buf[1].cookie);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
fn_exit:
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user