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 8b097ac commit 9346326
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 @@ -93,7 +93,7 @@ def set_num_tasks_per_node(self):
# Make sure we request sufficient memory from the scheduler
@run_after('setup')
def request_mem(self):
mem_required = self.num_tasks_per_node * 256
mem_required = self.num_tasks_per_node * 256 # request 256 MB per task per node
hooks.req_memory_per_node(self, app_mem_req=mem_required)

# Set binding strategy
Expand Down

0 comments on commit 9346326

Please sign in to comment.