Skip to content

Commit

Permalink
Merge branch 'main' into osu
Browse files Browse the repository at this point in the history
  • Loading branch information
satishskamath authored Jan 3, 2024
2 parents 591d146 + 6e638a3 commit c341875
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/vsc_hortense.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from reframe.core.backends import register_launcher
from reframe.core.launchers import JobLauncher

from eessi.testsuite.common_config import common_logging_config, common_eessi_init()
from eessi.testsuite.common_config import common_logging_config, common_eessi_init
from eessi.testsuite.constants import * # noqa: F403

account = "my-slurm-account"
Expand Down
4 changes: 2 additions & 2 deletions eessi/testsuite/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ def _assign_num_tasks_per_node(test: rfm.RegressionTest, num_per: int = 1):
# neither num_tasks_per_node nor num_cpus_per_task are set
if not test.num_tasks_per_node and not test.num_cpus_per_task:
test.num_tasks_per_node = num_per
test.num_cpus_per_task = int(test.default_num_cpus_per_node /
test.num_tasks_per_node)
test.num_cpus_per_task = int(test.default_num_cpus_per_node / test.num_tasks_per_node)


# num_tasks_per_node is not set, but num_cpus_per_task is
elif not test.num_tasks_per_node:
Expand Down

0 comments on commit c341875

Please sign in to comment.