From b60b03d613b4763ecac53af8aae6e895d2c8f429 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Fri, 11 Sep 2015 12:53:03 -0700 Subject: [PATCH] It is okay not to get the hostname - we don't require that it be provided --- ompi/proc/proc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ompi/proc/proc.c b/ompi/proc/proc.c index d34558ee71..e449eb323b 100644 --- a/ompi/proc/proc.c +++ b/ompi/proc/proc.c @@ -152,8 +152,9 @@ static int ompi_proc_complete_init_single (ompi_proc_t *proc) OPAL_MODEX_RECV_VALUE_OPTIONAL(ret, OPAL_PMIX_HOSTNAME, &proc->super.proc_name, (char**)&(proc->super.proc_hostname), OPAL_STRING); if (OPAL_SUCCESS != ret) { - return ret; + proc->super.proc_hostname = NULL; } + #if OPAL_ENABLE_HETEROGENEOUS_SUPPORT /* get the remote architecture - this might force a modex except * for those environments where the RM provides it */ @@ -351,7 +352,7 @@ int ompi_proc_complete_init(void) } if (OPAL_PROC_NON_LOCAL != locality) { - (void) ompi_proc_for_name (proc_name); + (void) ompi_proc_for_name (proc_name); } } }