Workaround for issue running on remote host
authorAlastair McKinstry <mckinstry@debian.org>
Wed, 8 Sep 2021 13:07:52 +0000 (14:07 +0100)
committerAlastair McKinstry <mckinstry@debian.org>
Wed, 8 Sep 2021 13:07:52 +0000 (14:07 +0100)
Last-Updated: 2021-05-13
Forwarded: not-needed

Gbp-Pq: Name pr8596.patch

opal/mca/pmix/pmix3x/pmix3x.c

index 90670f6adb623fd51c5557da87cc53e91aa3eaf1..01d632509d8979dcd50b0913d87b193e52cc7f2e 100644 (file)
@@ -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 */