File: pr8596.patch

package info (click to toggle)
openmpi 4.1.0-10
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 126,560 kB
  • sloc: ansic: 685,465; makefile: 42,952; f90: 19,220; sh: 7,002; java: 6,360; perl: 3,524; cpp: 2,227; python: 1,350; lex: 989; fortran: 61; tcl: 12
file content (24 lines) | stat: -rw-r--r-- 1,111 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Workaround for issue running on remote host
Author:  ggouaillardet 
Last-Updated: 2021-05-13
Forwarded: not-needed

Index: openmpi-4.1.0/opal/mca/pmix/pmix3x/pmix3x.c
===================================================================
--- openmpi-4.1.0.orig/opal/mca/pmix/pmix3x/pmix3x.c
+++ openmpi-4.1.0/opal/mca/pmix/pmix3x/pmix3x.c
@@ -1186,6 +1186,14 @@ int pmix3x_value_unload(opal_value_t *kv
         kv->type = OPAL_PTR;
         kv->data.ptr = (void*)lt;
         for (n=0; n < v->data.darray->size; n++) {
+            if (PMIX_INFO == v->data.darray->type) {
+                pmix_info_t *iptr = (pmix_info_t*)v->data.darray->array;
+                if (0 == strcmp("pmix.topo2", iptr[n].key)) {
+                    /* we do not know (yet) how to convert the pmix.topo2 key from PMIx 4.0.0
+                     * but since we are not going to use it, simply ignore it and move on */
+                    continue;
+                }
+            }
             ival = OBJ_NEW(opal_value_t);
             opal_list_append(lt, &ival->super);
             /* handle the various types */