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 Jun 27, 2023
1 parent e7beb6c commit 1c91718
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 @@ -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

Expand Down

0 comments on commit 1c91718

Please sign in to comment.