ESMCI / cmeps-cime

This is a "fork" of the cime repository that has the development version of the nuopc CMEPS driver and mediator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tests do not exit smoothly with mosart as a component

mvertens opened this issue · comments

When running the following test:
SMS_Vnuopc_Ln10.f19_f19_mg17.I2000Clm50SpGs.cheyenne_intel.clm-nuopc_cap

Us the code base of the latest PR (mvertens/mosart) - the test dies at test finalization with the following traceback:

  File "/gpfs/fs1/work/mvertens/UFSCOMP.jan19/cime/scripts/Tools/../../scripts/lib/CIME/get_timing.py", line 741, in get_timing
    parser.getTiming()
  File "/gpfs/fs1/work/mvertens/UFSCOMP.jan19/cime/scripts/Tools/../../scripts/lib/CIME/get_timing.py", line 216, in getTiming
    self._getTiming()
  File "/gpfs/fs1/work/mvertens/UFSCOMP.jan19/cime/scripts/Tools/../../scripts/lib/CIME/get_timing.py", line 454, in _getTiming
    self.write("    Model Cost:         {:10.2f}   pe-hrs/simulated_year ".format((tmax*365.0*pecost)/(3600.0*adays)))
ZeroDivisionError: float division by zero

The run sequence is:

runSeq::
@1800  # rof coupling step
  MED med_phases_prep_rof_avg
  MED med_connectors_prep_med2rof
  MED -> ROF :remapMethod=redist
  ROF
  ROF -> MED :remapMethod=redist
  @1800  # atmosphere coupling step
    MED med_phases_prep_lnd
    MED med_connectors_prep_med2lnd
    MED -> LND :remapMethod=redist
    LND
    LND -> MED :remapMethod=redist
    MED med_connectors_post_lnd2med
    MED med_phases_prep_rof_accum_fast
    ATM
    ATM -> MED :remapMethod=redist
    MED med_connectors_post_atm2med
  @
  MED med_connectors_post_rof2med
  MED med_phases_history_write
  MED med_phases_restart_write
@
::

As a result, tests like ERS, etc will not be able to be run in this configuration.

The issue is not about mosart - its about including the
MED med_phases_profile in your run sequence - I will add this along with a more suitable error for when this step is missing from the run sequence.

@jedwards4b - thanks for clarifying this.