From 5a7ebf5f2566580e185d777178a85ccf544f6b61 Mon Sep 17 00:00:00 2001 From: Brian Barrett Date: Fri, 21 Mar 2008 19:20:47 +0000 Subject: [PATCH] Do not try to update the local process with modex information (from the local process) as it stomps on information if the modex doesn't exist for the current platform This commit was SVN r17916. --- ompi/proc/proc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ompi/proc/proc.c b/ompi/proc/proc.c index 282293c4a8..738fa75602 100644 --- a/ompi/proc/proc.c +++ b/ompi/proc/proc.c @@ -192,6 +192,11 @@ ompi_proc_get_info(void) size_t datalen; orte_vpid_t nodeid; + /* Don't reset the information determined about the current + process during the init step. Saves time and problems if + modex is unimplemented */ + if (ompi_proc_local() == proc) continue; + if (OPAL_EQUAL != orte_util_compare_name_fields(ORTE_NS_CMP_JOBID, &ompi_proc_local_proc->proc_name, &proc->proc_name)) {