Skip to content

Commit

Permalink
fix bug in translation from perl
Browse files Browse the repository at this point in the history
before fix tasks_per_node would always be 1
  • Loading branch information
sarich committed Aug 10, 2016
1 parent 77871de commit c8bd20e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/python/CIME/task_maker.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def _compute_values(self):
task_count = 1

else:
task_count = 1
task_count += 1

max_tasks_per_node = min(self.MAX_TASKS_PER_NODE / max_thread_count, self.PES_PER_NODE, max_task_count)
max_total_node_count = int(math.ceil(float(max_task_count) / max_tasks_per_node))
Expand Down

0 comments on commit c8bd20e

Please sign in to comment.