Skip to content

Commit

Permalink
Update number of nodes passed to Mira qsub
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
amametjanov committed Mar 17, 2017
1 parent 31008cb commit 46bb8b7
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 46bb8b7

Please sign in to comment.