From 0b7062e88fd1fb053facf397e92efd708513dd8c Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Tue, 5 Nov 2019 00:10:38 +0100
Subject: [PATCH] Fix RUNTIME_Mpi_comm_size for parsec

---
 runtime/parsec/control/runtime_control.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtime/parsec/control/runtime_control.c b/runtime/parsec/control/runtime_control.c
index 4719ff7a2..b69f7d8c8 100644
--- a/runtime/parsec/control/runtime_control.c
+++ b/runtime/parsec/control/runtime_control.c
@@ -144,7 +144,7 @@ int RUNTIME_comm_rank( CHAM_context_t *chamctxt )
  */
 int RUNTIME_comm_size( CHAM_context_t *chamctxt )
 {
-    int size = 0;
+    int size = 1;
 #if defined(CHAMELEON_USE_MPI)
     MPI_Comm_size(MPI_COMM_WORLD, &size);
 #endif
-- 
GitLab