Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix find_input_name_idx bug #280

Merged
merged 4 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions cime_config/config_component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,6 @@
<valid_values></valid_values>
<default_value> </default_value>
<values match="last" modifier="additive">
<!-- Turn on chemistry if not using physics testbed -->
<value compset="^((?!_CAM%PHYSTEST).)*$">-lmusica -ljsonfortran</value>
<!-- Add MPAS if using mpas grid and not using physics testbed -->
<value compset="^((?!_CAM%PHYSTEST).)*$" grid="a%mpasa[0-9]+">-lmpas</value>
</values>
Expand Down
2 changes: 1 addition & 1 deletion cime_config/testdefs/testlist_cam.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<option name="wallclock">00:10:00</option>
<option name="comment">GNU build test for Moist Held-Suarez physics</option>
</options>
</tests>
</test>

<!-- Derecho dycore tests -->
<test compset="FKESSLER" grid="mpasa480_mpasa480" name="SMS_Ln2" testmods="cam/outfrq_kessler_mpas_derecho_nooutput/">
Expand Down
2 changes: 2 additions & 0 deletions src/physics/utils/physics_data.F90
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ integer function find_input_name_idx(stdname, use_init_variables, constituent_in
if (find_input_name_idx >= 0) then
constituent_index = find_input_name_idx
is_constituent = .true.
else
find_input_name_idx = no_exist_idx
end if

!Loop through physics variable standard names:
Expand Down
Loading