From bd8a53665a0294791f1380635e6c988805914e72 Mon Sep 17 00:00:00 2001 From: Lukas Date: Thu, 2 Aug 2018 10:18:46 +0200 Subject: [PATCH] Reset geometry when loading mesh with MPI active. --- libsrc/interface/nginterface.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libsrc/interface/nginterface.cpp b/libsrc/interface/nginterface.cpp index ad0a72db..fe83b34a 100644 --- a/libsrc/interface/nginterface.cpp +++ b/libsrc/interface/nginterface.cpp @@ -124,6 +124,7 @@ void Ng_LoadMesh (const char * filename) #ifdef PARALLEL MPI_Comm_size(MPI_COMM_WORLD, &ntasks); MPI_Comm_rank(MPI_COMM_WORLD, &id); + ng_geometry = nullptr; #endif {