Skip to content

Commit

Permalink
Merge pull request #412 from TopRichard/nessi-2023.06-not_use_memory_…
Browse files Browse the repository at this point in the history
…per_node_option_2

Revert back to default memory usage in ReFrame tests
  • Loading branch information
TopRichard authored Jun 17, 2024
2 parents a3cee75 + 36c11e3 commit d805a6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bot/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ else
fi
# Bind mount /sys/fs/cgroup so that we can determine the amount of memory available in our cgroup for
# Reframe configuration
TEST_STEP_ARGS+=("--extra-bind-paths" "/sys/fs/cgroup:/hostsys/fs/cgroup:ro")
# TEST_STEP_ARGS+=("--extra-bind-paths" "/sys/fs/cgroup:/hostsys/fs/cgroup:ro")

# prepare arguments to test_suite.sh (specific to test step)
declare -a TEST_SUITE_ARGS=()
Expand Down
10 changes: 5 additions & 5 deletions reframe_config_bot.py.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ site_configuration = {
'options': ['--mem={size}'],
}
],
'extras': {
# Make sure to round down, otherwise a job might ask for more mem than is available
# per node
'mem_per_node': __MEM_PER_NODE__,
},
# 'extras': {
# # Make sure to round down, otherwise a job might ask for more mem than is available
# # per node
# 'mem_per_node': __MEM_PER_NODE__,
# },
'max_jobs': 1
}
]
Expand Down

0 comments on commit d805a6e

Please sign in to comment.