Skip to content

Commit

Permalink
Correcting the memory to MiB
Browse files Browse the repository at this point in the history
  • Loading branch information
Satish Kamath committed Jun 27, 2024
1 parent 5972a90 commit 77198ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eessi/testsuite/tests/apps/espresso/espresso.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def set_mem(self):
""" Setting an extra job option of memory. Here the assumption made is that HPC systems will contain at
least 1 GB per core of memory."""
mem_required_per_node = self.num_tasks_per_node * 0.9
hooks.req_memory_per_node(test=self, app_mem_req=mem_required_per_node)
hooks.req_memory_per_node(test=self, app_mem_req=mem_required_per_node * 1024)

@deferrable
def assert_completion(self):
Expand Down Expand Up @@ -179,7 +179,7 @@ def set_mem(self):
least 1 GB per core of memory. LJ requires much lesser memory than P3M. 200 MB per core is as per measurement,
therefore 300 should be more than enough. """
mem_required_per_node = self.num_tasks_per_node * 0.3
hooks.req_memory_per_node(test=self, app_mem_req=mem_required_per_node)
hooks.req_memory_per_node(test=self, app_mem_req=mem_required_per_node * 1024)

@deferrable
def assert_completion(self):
Expand Down

0 comments on commit 77198ce

Please sign in to comment.