fix two other mistakes in the cnos ess
This commit was SVN r18632.
Этот коммит содержится в:
родитель
f72ab90b16
Коммит
4127bd0dcc
@ -128,10 +128,12 @@ static bool proc_is_local(orte_process_name_t *proc)
|
||||
|
||||
static char* proc_get_hostname(orte_process_name_t *proc)
|
||||
{
|
||||
return map[proc->vpid].nid;
|
||||
static char hostname[128];
|
||||
snprintf(hostname, 128, "n%d", map[proc->vpid].nid);
|
||||
return hostname;
|
||||
}
|
||||
|
||||
static uint32_t proc_get_arch(orte_process_name_t *proc);
|
||||
static uint32_t proc_get_arch(orte_process_name_t *proc)
|
||||
{
|
||||
/* always homogeneous, so other side is always same as us */
|
||||
return orte_process_info.arch;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user