From acc2c7937cd3b50de16044b673399e4c4a7456bc Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Wed, 8 Apr 2015 11:23:00 -0700 Subject: [PATCH] Thanks Nathan - decrement the counter to ensure singleton's startup correctly --- opal/mca/pmix/native/pmix_native.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opal/mca/pmix/native/pmix_native.c b/opal/mca/pmix/native/pmix_native.c index 6f4643b832..b531713469 100644 --- a/opal/mca/pmix/native/pmix_native.c +++ b/opal/mca/pmix/native/pmix_native.c @@ -200,6 +200,9 @@ static int native_init(void) /* let the caller know that the server isn't available yet */ return OPAL_ERR_SERVER_NOT_AVAIL; } else { + /* not ready yet, so decrement our init_cntr so we can come thru + * here again */ + --init_cntr; return OPAL_ERROR; } }