From 2072f70f7f2180923af9d5de0d09067746782cb0 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Thu, 16 May 2024 11:03:44 +0200 Subject: [PATCH] Fix building without MPI --- libsrc/core/paje_trace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/core/paje_trace.cpp b/libsrc/core/paje_trace.cpp index c8f37383..dc218e8a 100644 --- a/libsrc/core/paje_trace.cpp +++ b/libsrc/core/paje_trace.cpp @@ -498,7 +498,6 @@ namespace ngcore #ifdef PARALLEL if(MPI_Loaded()) comm = NgMPI_Comm(NG_MPI_COMM_WORLD); - #endif if(comm.Size()>1) { auto comm = NgMPI_Comm(NG_MPI_COMM_WORLD); @@ -528,6 +527,7 @@ namespace ngcore } } else + #endif { container_nodes.reserve(num_nodes); for(int i=0; i