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

implement timestep_init phases and catch up with master of ccpp-physics #223

Closed
wants to merge 6 commits into from
Closed
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
28 changes: 14 additions & 14 deletions ccpp/config/ccpp_prebuild_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
# actual variable definition files
'ccpp/physics/physics/machine.F',
'ccpp/physics/physics/radsw_param.f',
'ccpp/physics/physics/h2o_def.f',
'ccpp/physics/physics/ozne_def.f',
'ccpp/physics/physics/radlw_param.f',
'scm/src/GFS_typedefs.F90',
'scm/src/gmtb_scm_kinds.F90',
Expand Down Expand Up @@ -158,7 +160,6 @@
'ccpp/physics/physics/ozphys_2015.f' ,
'ccpp/physics/physics/precpd.f' ,
'ccpp/physics/physics/phys_tend.F90' ,
'ccpp/physics/physics/tracer_sanitizer.F90' ,
'ccpp/physics/physics/radlw_main.F90' ,
'ccpp/physics/physics/radsw_main.F90' ,
'ccpp/physics/physics/rascnv.F90' ,
Expand All @@ -170,7 +171,6 @@
'ccpp/physics/physics/sfc_diag.f' ,
'ccpp/physics/physics/sfc_diag_post.F90' ,
'ccpp/physics/physics/sfc_drv_ruc.F90' ,
'ccpp/physics/physics/lsm_ruc_sfc_sice_interstitial.F90',
'ccpp/physics/physics/sfc_cice.f' ,
'ccpp/physics/physics/sfc_diff.f' ,
'ccpp/physics/physics/sfc_drv.f' ,
Expand Down Expand Up @@ -212,22 +212,22 @@
DEFAULT_BUILD_DIR = 'scm/bin'

# Auto-generated makefile/cmakefile snippets that contain all type definitions
TYPEDEFS_MAKEFILE = 'ccpp/physics/CCPP_TYPEDEFS.mk'
TYPEDEFS_CMAKEFILE = 'ccpp/physics/CCPP_TYPEDEFS.cmake'
TYPEDEFS_SOURCEFILE = 'ccpp/physics/CCPP_TYPEDEFS.sh'
TYPEDEFS_MAKEFILE = '{build_dir}/ccpp/physics/CCPP_TYPEDEFS.mk'
TYPEDEFS_CMAKEFILE = '{build_dir}/ccpp/physics/CCPP_TYPEDEFS.cmake'
TYPEDEFS_SOURCEFILE = '{build_dir}/ccpp/physics/CCPP_TYPEDEFS.sh'

# Auto-generated makefile/cmakefile snippets that contain all schemes
SCHEMES_MAKEFILE = 'ccpp/physics/CCPP_SCHEMES.mk'
SCHEMES_CMAKEFILE = 'ccpp/physics/CCPP_SCHEMES.cmake'
SCHEMES_SOURCEFILE = 'ccpp/physics/CCPP_SCHEMES.sh'
SCHEMES_MAKEFILE = '{build_dir}/ccpp/physics/CCPP_SCHEMES.mk'
SCHEMES_CMAKEFILE = '{build_dir}/ccpp/physics/CCPP_SCHEMES.cmake'
SCHEMES_SOURCEFILE = '{build_dir}/ccpp/physics/CCPP_SCHEMES.sh'

# Auto-generated makefile/cmakefile snippets that contain all caps
CAPS_MAKEFILE = 'ccpp/physics/CCPP_CAPS.mk'
CAPS_CMAKEFILE = 'ccpp/physics/CCPP_CAPS.cmake'
CAPS_SOURCEFILE = 'ccpp/physics/CCPP_CAPS.sh'
CAPS_MAKEFILE = '{build_dir}/ccpp/physics/CCPP_CAPS.mk'
CAPS_CMAKEFILE = '{build_dir}/ccpp/physics/CCPP_CAPS.cmake'
CAPS_SOURCEFILE = '{build_dir}/ccpp/physics/CCPP_CAPS.sh'

# Directory where to put all auto-generated physics caps
CAPS_DIR = 'ccpp/physics/physics'
CAPS_DIR = '{build_dir}/ccpp/physics/physics'

# Directory where the suite definition files are stored
SUITES_DIR = 'ccpp/suites'
Expand Down Expand Up @@ -297,7 +297,7 @@
'rrtmgp_sw_rte_run' : [
'components_of_surface_downward_shortwave_fluxes',
],
},
},
'GFS_rrtmgp_sw_post' : {
'GFS_rrtmgp_sw_post_run' : [
'tendency_of_air_temperature_due_to_shortwave_heating_assuming_clear_sky_on_radiation_time_step',
Expand Down Expand Up @@ -325,4 +325,4 @@
HTML_VARTABLE_FILE = 'ccpp/physics/CCPP_VARIABLES_SCM.html'

# LaTeX document containing the provided vs requested CCPP variables
LATEX_VARTABLE_FILE = 'ccpp/framework/doc/DevelopersGuide/CCPP_VARIABLES_SCM.tex'
LATEX_VARTABLE_FILE = 'ccpp/framework/doc/DevelopersGuide/CCPP_VARIABLES_SCM.tex'
2 changes: 1 addition & 1 deletion ccpp/framework
2 changes: 1 addition & 1 deletion ccpp/physics
Submodule physics updated 49 files
+4 −4 CMakeLists.txt
+16 −22 physics/GFS_debug.F90
+306 −348 physics/GFS_phys_time_vary.fv3.F90
+1,275 −33 physics/GFS_phys_time_vary.fv3.meta
+335 −302 physics/GFS_phys_time_vary.scm.F90
+716 −66 physics/GFS_phys_time_vary.scm.meta
+45 −57 physics/GFS_rad_time_vary.fv3.F90
+201 −15 physics/GFS_rad_time_vary.fv3.meta
+82 −80 physics/GFS_rad_time_vary.scm.F90
+202 −16 physics/GFS_rad_time_vary.scm.meta
+15 −14 physics/GFS_rrtmg_setup.F90
+3 −10 physics/GFS_rrtmg_setup.meta
+9 −0 physics/GFS_rrtmgp_pre.F90
+1 −1 physics/GFS_rrtmgp_pre.meta
+10 −9 physics/GFS_rrtmgp_setup.F90
+3 −2 physics/GFS_rrtmgp_setup.meta
+7 −5 physics/GFS_suite_interstitial.F90
+1 −1 physics/GFS_surface_composites.F90
+8 −9 physics/GFS_time_vary_pre.fv3.F90
+1 −1 physics/GFS_time_vary_pre.fv3.meta
+7 −7 physics/GFS_time_vary_pre.scm.F90
+1 −1 physics/GFS_time_vary_pre.scm.meta
+0 −3 physics/docs/pdftxt/GSD_adv_suite.txt
+195 −237 physics/gcycle.F90
+5 −0 physics/h2o_def.f
+29 −0 physics/h2o_def.meta
+0 −123 physics/lsm_ruc_sfc_sice_interstitial.F90
+0 −204 physics/lsm_ruc_sfc_sice_interstitial.meta
+38 −10 physics/module_MYNNSFC_wrapper.F90
+43 −4 physics/module_MYNNSFC_wrapper.meta
+1 −1 physics/module_SGSCloud_RadPre.meta
+67 −66 physics/module_sf_mynn.F90
+1 −0 physics/module_sf_noahmp_glacier.f90
+2 −1 physics/module_sf_noahmplsm.f90
+20 −7 physics/module_sf_ruclsm.F90
+2 −0 physics/namelist_soilveg_ruc.F90
+5 −0 physics/ozne_def.f
+29 −0 physics/ozne_def.meta
+3 −2 physics/set_soilveg_ruc.F90
+10 −2 physics/sfc_drv.f
+16 −0 physics/sfc_drv.meta
+634 −390 physics/sfc_drv_ruc.F90
+497 −313 physics/sfc_drv_ruc.meta
+11 −2 physics/sfc_noahmp_drv.f
+16 −0 physics/sfc_noahmp_drv.meta
+1 −1 physics/shinhongvdif.F90
+0 −113 physics/tracer_sanitizer.F90
+0 −124 physics/tracer_sanitizer.meta
+1 −1 physics/ysuvdif.F90
3 changes: 0 additions & 3 deletions ccpp/suites/suite_SCM_GSD_v1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@
<scheme>sfc_nst</scheme>
<scheme>sfc_nst_post</scheme>
<scheme>lsm_ruc</scheme>
<scheme>lsm_ruc_sfc_sice_pre</scheme>
<scheme>sfc_sice</scheme>
<scheme>lsm_ruc_sfc_sice_post</scheme>
<scheme>GFS_surface_loop_control_part2</scheme>
</subcycle>
<!-- End of surface iteration loop -->
Expand Down
4 changes: 3 additions & 1 deletion scm/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ endif("${SUITES}" STREQUAL "")
string(REGEX REPLACE "(.+),$" "\\1" SUITES ${SUITES})
# Run CCPP prebuild.py
message (STATUS "Running ccpp_prebuild.py for CCPP")
# Make the directories where the ccpp_prebuild.py script wants to write caps and make snippets
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ccpp/physics/physics)
execute_process(
COMMAND ccpp/framework/scripts/ccpp_prebuild.py --config=ccpp/config/ccpp_prebuild_config.py --suites=${SUITES} --builddir=${CMAKE_CURRENT_BINARY_DIR}/..
COMMAND ccpp/framework/scripts/ccpp_prebuild.py --config=ccpp/config/ccpp_prebuild_config.py --suites=${SUITES} --builddir=${CMAKE_CURRENT_BINARY_DIR}
OUTPUT_FILE ${PROJECT_BINARY_DIR}/ccpp_prebuild.out
ERROR_FILE ${PROJECT_BINARY_DIR}/ccpp_prebuild.err
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../..
Expand Down
Loading