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