1
1

Use the accessor function to get the jobid and vpid

This commit was SVN r32672.
Этот коммит содержится в:
Ralph Castain 2014-09-06 19:18:21 +00:00
родитель fe2ea1f0fb
Коммит f1a33b6476

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

@ -353,7 +353,7 @@ static int xoob_context_init(opal_common_ofacm_xoob_local_connection_context_t *
(opal_common_ofacm_base_module_t *)xcpc;
/* Set IB address for this context */
xcontext->addr = xoob_ib_address_add_new(xcpc, rem_lid, subnet_id, proc->proc_opal->proc_name.jobid);
xcontext->addr = xoob_ib_address_add_new(xcpc, rem_lid, subnet_id, opal_process_name_jobid(proc->proc_opal->proc_name));
if (NULL == xcontext->addr) {
OFACM_ERROR(("Failed to allocate or found xoob ib address"));
return OPAL_ERROR;
@ -1091,7 +1091,7 @@ static opal_common_ofacm_xoob_local_connection_context_t* xoob_find_context
OFACM_VERBOSE(("Searching for ep and proc with follow parameters:"
"jobid %d, vpid %d, sid %d, lid %d, cpc type %d",
process_name->jobid, process_name->vpid, subnet_id, lid, cpc_type));
opal_process_name_jobid(*process_name), opal_process_name_vpid(*process_name), subnet_id, lid, cpc_type));
/* find ibproc */
for (context_proc = (opal_common_ofacm_base_proc_t*)opal_list_get_first(all_procs);
context_proc != (opal_common_ofacm_base_proc_t*)opal_list_get_end(all_procs);