From 782c2411906041c8db1c01bb65b3ad1c6692d1af Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Thu, 21 Jul 2022 05:38:58 -0500 Subject: [PATCH] Always continue, but only write warning on mpi master rank --- src/state_point.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/state_point.cpp b/src/state_point.cpp index a2d8b88813..b4200ffe2d 100644 --- a/src/state_point.cpp +++ b/src/state_point.cpp @@ -819,7 +819,8 @@ void write_unstructured_mesh_results() if (!umesh->output_) continue; - if (umesh->library() == "moab" && !mpi::master) { + if (umesh->library() == "moab") { + if (mpi::master) warning(fmt::format("Output for a MOAB mesh (mesh {}) was requested but will not be written. Please use the Python API to generated the desired VTK tetrahedral mesh.", umesh->id_)); continue; }