Skip to content

Commit

Permalink
Update payu/models/cesm_cmeps.py
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-seaice authored Sep 11, 2024
1 parent 4d33af3 commit 94760c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion payu/models/cesm_cmeps.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def _setup_checks(self):
npes = nthreads*ntasks*pestride
# this is taken from
# https://github.com/ESCOMP/CMEPS/blob/5b7d76978e2fdc661ec2de4ba9834b985decadc6/cesm/driver/esm.F90#L1007
# this correct calculation might be (ntasks-1)*pestride*nthreads + nthreads
# the correct calculation might be (ntasks-1)*pestride*nthreads + nthreads
else:
npes = (ntasks-1)*pestride + 1

Expand Down

0 comments on commit 94760c3

Please sign in to comment.