Skip to content

Commit

Permalink
Merge branch 'azamat/mira/pe-calc-update' (PR #1325)
Browse files Browse the repository at this point in the history
Update number of nodes passed to Mira qsub:
CIME 5.2 fixed $TOTALPES, which was incorrect in CIME 5.1. This sets
the number of nodes passed to qsub as $TOTALPES/$PES_PER_NODE.

[BFB]
  • Loading branch information
amametjanov committed Mar 17, 2017
2 parents d7397d9 + 46bb8b7 commit 2cb4c56
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cime_config/acme/machines/config_batch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
<arg flag="--cwd" name="CASEROOT"/>
<arg flag="-A" name="PROJECT"/>
<arg flag="-t" name="JOB_WALLCLOCK_TIME"/>
<!-- ceiling of $a/$b is ($a+$b-1)/$b -->
<arg flag="-n" name=" ( $TOTALPES + $MAX_TASKS_PER_NODE - 1 ) / $MAX_TASKS_PER_NODE"/>
<arg flag="-n" name=" $TOTALPES/$PES_PER_NODE"/>
<arg flag="-q" name="JOB_QUEUE"/>
<arg flag="--mode script"/>
</submit_args>
Expand Down

0 comments on commit 2cb4c56

Please sign in to comment.