From 1c917184785aac679a2ce644678ab96fe1ce413b Mon Sep 17 00:00:00 2001 From: George Bisbas Date: Mon, 19 Jun 2023 17:45:23 +0100 Subject: [PATCH] mpi: Add mpi mode logging --- devito/operator/operator.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/devito/operator/operator.py b/devito/operator/operator.py index 563c0f37554..4f60d250f68 100644 --- a/devito/operator/operator.py +++ b/devito/operator/operator.py @@ -957,7 +957,12 @@ def _emit_apply_profiling(self, args): if a in args: perf_args[a] = args[a] break - perf("Performance[mode=%s] arguments: %s" % (self._mode, perf_args)) + + if configuration['mpi']: + perf("Performance[mode=%s, mpi=%s] arguments: %s" % (self._mode, + configuration['mpi'], perf_args)) + else: + perf("Performance[mode=%s] arguments: %s" % (self._mode, perf_args)) return summary