Skip to content

Commit

Permalink
mpi: Add mpi mode logging
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebisbas committed Sep 18, 2023
1 parent 589c9c9 commit 57bc726
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion devito/operator/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 57bc726

Please sign in to comment.