From 4c3d119d624c3305ba88f3be38999e189f4a66f6 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 19 Apr 2021 15:26:19 -0500 Subject: [PATCH] force initialization of static struct --- source/base/mpi.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/base/mpi.cc b/source/base/mpi.cc index 47fd19e255..2a71e5c988 100644 --- a/source/base/mpi.cc +++ b/source/base/mpi.cc @@ -786,6 +786,9 @@ namespace Utilities #endif + /* Force initialization of static struct: */ + MPI_InitFinalize::Signals MPI_InitFinalize::signals = + MPI_InitFinalize::Signals(); MPI_InitFinalize::MPI_InitFinalize(int & argc, -- 2.39.5