Skip to content

Commit

Permalink
if ntasks for a comp is 1 the ninst should not be > 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Jul 17, 2016
1 parent 8b6d137 commit 1abee3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/python/CIME/SystemTests/nck.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ def build(self, sharedlib_only=False, model_only=False):
if ( ntasks > 1 ):
self._case.set_value("NTASKS_%s"%comp, ntasks/2)
self._case.set_value("ROOTPE_%s"%comp, rootpe/2)
else:
self._case.set_value("NINST_%s"%comp, 1)
self._case.flush()

case_setup(self._case, test_mode=True, reset=True)
Expand Down

0 comments on commit 1abee3e

Please sign in to comment.