Skip to content

Commit

Permalink
Update tutorial/mpi4py/mpi4py_portable.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Moors <smoors@users.noreply.github.com>
  • Loading branch information
casparvl and smoors authored Aug 20, 2024
1 parent ed708b4 commit 8b688a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorial/mpi4py/mpi4py_portable.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class EESSI_MPI4PY(rfm.RunOnlyRegressionTest):
# https://reframe-hpc.readthedocs.io/en/stable/regression_test_api.html#reframe.core.pipeline.RegressionTest.executable_opts
executable_opts = ['mpi4py_reduce.py', '--n_iter', f'{n_iterations}', '--n_warmup', f'{n_warmup}']

# Temporarily define postrun_cmds to make it easy to find out memory useage
# Temporarily define postrun_cmds to make it easy to find out memory usage
postrun_cmds = [
'MAX_MEM_IN_BYTES=$(cat /sys/fs/cgroup/memory/$(</proc/self/cpuset)/memory.max_usage_in_bytes)',
'echo "MAX_MEM_IN_BYTES=$MAX_MEM_IN_BYTES"',
Expand Down

0 comments on commit 8b688a8

Please sign in to comment.