Skip to content

Commit

Permalink
make tests work on congo
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Oct 10, 2017
1 parent 70e039a commit cfbe500
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/cesm/machines/config_machines.xml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
<BATCH_SYSTEM>none</BATCH_SYSTEM>
<SUPPORTED_BY>me@my.address</SUPPORTED_BY>
<MAX_TASKS_PER_NODE>8</MAX_TASKS_PER_NODE>
<MAX_MPITASKS_PER_NODE>4</MAX_MPITASKS_PER_NODE>
<MAX_MPITASKS_PER_NODE>8</MAX_MPITASKS_PER_NODE>
<PROJECT_REQUIRED>FALSE</PROJECT_REQUIRED>
<mpirun mpilib="default">
<executable>mpiexec</executable>
Expand Down
7 changes: 5 additions & 2 deletions scripts/lib/CIME/get_timing.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,11 @@ def _getTiming(self, inst=0):
ncpl_base_period = self.case.get_value("NCPL_BASE_PERIOD")
ncpl = 0
for compclass in self.case.get_values("COMP_CLASSES"):
ncpl = max(ncpl, self.case.get_value("{}_NCPL".format(compclass)))
ocn_ncpl = self.case.get_value("OCN_NCPL")
comp_ncpl = self.case.get_value("{}_NCPL".format(compclass))
if compclass == "OCN":
ocn_ncpl = comp_ncpl
if comp_ncpl is not None:
ncpl = max(ncpl, comp_ncpl)

compset = self.case.get_value("COMPSET")
if compset is None:
Expand Down

0 comments on commit cfbe500

Please sign in to comment.