Skip to content

Commit

Permalink
account for threads in override case
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Oct 10, 2024
1 parent 5271a4e commit f0b5c09
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CIME/XML/env_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ def get_job_overrides(self, job, case):
overrides["tasks_per_node"] = tasks_per_node
if thread_count:
overrides["thread_count"] = thread_count
total_tasks = total_tasks * thread_count
else:
total_tasks = total_tasks * case.thread_count
else:
# Total PES accounts for threads as well as mpi tasks
total_tasks = case.get_value("TOTALPES")
Expand Down

0 comments on commit f0b5c09

Please sign in to comment.