Skip to content

Commit

Permalink
Rename to mpasa in component configuration
Browse files Browse the repository at this point in the history
`cime/CIME/Tools/Makefile` explicitly queries the value of `CAM_DYCORE`.
If the value is `mpas`, it attempts to build MPAS by using old rules and fails.

There are some ways to work around this without modifying
`cime/CIME/Tools/Makefile` and breaking backward compatibility for CAM. One of
them is to rename the value to `mpasa`.
  • Loading branch information
kuanchihwang committed Jan 11, 2024
1 parent 666123f commit c58c5ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cime_config/config_component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@

<entry id="CAM_DYCORE">
<type>char</type>
<valid_values>eul,fv,mpas,se,none</valid_values>
<valid_values>eul,fv,mpasa,se,none</valid_values>
<default_value>fv</default_value>
<values match="last">
<value grid="a%T[1-9]">eul</value>
<value grid="a%mpasa[0-9]+">mpas</value>
<value grid="a%mpasa[0-9]+">mpasa</value>
<value grid="a%ne[0-9]">se</value>
</values>
<group>build_component_cam</group>
Expand Down

0 comments on commit c58c5ec

Please sign in to comment.