From 57bc7269ff669aedb67b01ed6d6d111eba7b0b3f 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 0716adc6708..83165b20c3b 100644 --- a/devito/operator/operator.py +++ b/devito/operator/operator.py @@ -965,7 +965,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