Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
262d1d9
Merge remote-tracking branch 'ncarphy/master'
SMoorthi-emc Jan 10, 2020
99ac1a0
updating cycle to distingush lakes from ocean
SMoorthi-emc Mar 4, 2020
f8eb82c
minot changes in sfcsub
SMoorthi-emc Mar 5, 2020
1e0a583
Merge remote-tracking branch 'upstream/master'
SMoorthi-emc Mar 9, 2020
fd0bc5a
Merge branch 'master' of https://github.com/SMoorthi-EMC/ccpp-physics…
SMoorthi-emc Mar 9, 2020
ab6cb5a
correcting errors in ccpp when levr < levs; this fix is essential for…
SMoorthi-emc Mar 10, 2020
3ba810b
a bug fix
SMoorthi-emc Mar 30, 2020
465f019
after merging with ncar master and some fix to RAS
SMoorthi-emc Apr 10, 2020
f9f34e6
updates to old sfc pert team - does not compile
ClaraDraper-NOAA Apr 1, 2020
90dfcc1
updates to old sfc pert team - does not compile
ClaraDraper-NOAA Apr 1, 2020
1f096f3
Phil's ccpp changes
ClaraDraper-NOAA Apr 8, 2020
78b9a67
minor bug fix
ClaraDraper-NOAA Apr 16, 2020
74de553
Merge remote-tracking branch 'upstream/master'
SMoorthi-emc Apr 19, 2020
861e4eb
Merge branch 'master' into SM_Apr182020
SMoorthi-emc Apr 19, 2020
f1c24fb
after merging with NCAR/ccpp-physics/master and some bug fixes in som…
SMoorthi-emc Apr 20, 2020
c316f79
removing some unneeded do loops in sfc_drv.f - results reproduce
SMoorthi-emc Apr 21, 2020
5953c52
updating precision of constants in several physics routines
SMoorthi-emc Apr 22, 2020
e19953d
adding _kind_phys to constants in some physics routines
SMoorthi-emc Apr 22, 2020
f85730d
updating to fix a potential snow bug
SMoorthi-emc Apr 27, 2020
0241449
fixing some comment lines
SMoorthi-emc Apr 27, 2020
4694c00
some minor change with same result
SMoorthi-emc Apr 27, 2020
e216116
update consistent with ipd
SMoorthi-emc Apr 28, 2020
13c3ee3
Merge remote-tracking branch 'upstream/master' into SM_Apr282020
SMoorthi-emc Apr 28, 2020
cdac822
testing an alternate option in ccpp
SMoorthi-emc Apr 29, 2020
d61ecbe
some additional updates to the code
SMoorthi-emc Apr 30, 2020
f245b7a
some updates for several routines
SMoorthi-emc May 2, 2020
8ff5aa5
Merge remote-tracking branch 'origin/SM_Apr182020' into SM_Apr282020
SMoorthi-emc May 2, 2020
9d0808d
Merge remote-tracking branch 'upstream/master'
SMoorthi-emc May 3, 2020
2b34488
after merging with ccpp master
SMoorthi-emc May 4, 2020
e146375
removed tisfcin_cpl and tseain_cpl as they are not needed
SMoorthi-emc May 4, 2020
513cb29
minor update to surface_composites
SMoorthi-emc May 5, 2020
bbf56bb
merged with ccpp-physics, updated some code, tested coupled model wit…
SMoorthi-emc May 10, 2020
3cdcdaa
change 633.0 to 622.0_r8
SMoorthi-emc May 11, 2020
4c08f73
updating nst model coupled with ocean model
SMoorthi-emc May 19, 2020
760e9ea
after merging with ccpp-physics-master
SMoorthi-emc May 24, 2020
d810799
some fix related to ice in surface cycling
SMoorthi-emc May 28, 2020
8b77f36
updating sfc_diff.f to compute z0 overocean when ww3 sends z0 values …
SMoorthi-emc Jun 14, 2020
e450d81
after merging with ccpp_physics/master on Jun 14, 2020
SMoorthi-emc Jun 15, 2020
37444dc
updating sfc_diff.f to recompute z0 over ocean when coupled to ww3 an…
SMoorthi-emc Jun 29, 2020
3840dac
Merge commit '571ff99bdadb418ef978c1ed329023548c3a26ae' into csd-ccp-…
ClaraDraper-NOAA Jun 30, 2020
3af3d7f
fixing errors/logic with fractional grid option to reproduce a contin…
SMoorthi-emc Jul 8, 2020
f967360
after merging with ccpp-physics/master containing GSD updates to physics
SMoorthi-emc Jul 14, 2020
a609790
Update for new RRTMG cloud overlap methods EXP and ER
mjiacono Jul 17, 2020
21f7fdd
some minor fixes
SMoorthi-emc Jul 20, 2020
3ff25ec
Updated to new land pert scheme.
ClaraDraper-NOAA Jul 20, 2020
33102ba
Merge commit '168932b60a6c5cabab1257e2ab99f9e6c1a1da36' into csd-ccp-…
ClaraDraper-NOAA Jul 20, 2020
c555881
Merge remote-tracking branch 'upstream/master'
SMoorthi-emc Jul 20, 2020
20336bf
after merging with ccpp-physics with falke model
SMoorthi-emc Jul 21, 2020
c2c4492
updating sfx_diff to fix issues related to coupling to waves
SMoorthi-emc Jul 22, 2020
b0bc1ab
Merge branch 'rrtmg-cloud-overlap-updates' of https://github.com/mjia…
climbfuji Jul 23, 2020
de14554
Merge commit '168932b60a6c5cabab1257e2ab99f9e6c1a1da36' into csd-ccp-…
ClaraDraper-NOAA Jul 20, 2020
1c3ea31
Minor bugfix following merge.
ClaraDraper-NOAA Jul 26, 2020
70ba799
fixing bug in orho in GFS_rrtmg_pre.F90
SMoorthi-emc Jul 27, 2020
cfb269c
adding nthreads to sfc_nst.f
SMoorthi-emc Jul 28, 2020
ddcc4b8
fixing a typo in ugwp_driver_v0.F
SMoorthi-emc Jul 29, 2020
e530096
fixing one file
SMoorthi-emc Jul 30, 2020
4b11e84
fixing issues related to z0 and restart reproducibility
SMoorthi-emc Aug 3, 2020
04f660b
adding _kp in place of -r8 in some routines
SMoorthi-emc Aug 4, 2020
1378450
Add first set of dependencies to metadata files for testing
climbfuji Aug 4, 2020
f4353e5
Add [ccpp-scheme-properties] section to every metadata table
climbfuji Aug 4, 2020
1695333
Remove empty argument tables from all metadata files
climbfuji Aug 4, 2020
17a9480
Remove executable flag from cires_ugwp_post.F90, module_BL_MYJPBL.F90…
climbfuji Aug 4, 2020
7469ff4
Add dependencies to all metadata files
climbfuji Aug 5, 2020
b14f2d6
physics/mp_thompson.meta: add missing dependency on module_mp_radar.F90
climbfuji Aug 5, 2020
ba80a78
physics/GFS_rrtmg_pre.meta: add missing dependency on module_mp_radar…
climbfuji Aug 6, 2020
4afa302
CMakeLists.txt: check if file is in list of schemes before applying s…
climbfuji Aug 6, 2020
fc0144d
Added missing optional info, per Laurie Carson's request
ClaraDraper-NOAA Aug 6, 2020
d793511
Add/update ccpp-table-properties section and complete dependencies
climbfuji Aug 7, 2020
c751f08
Update .gitmodules and submodule pointer for rte-rrtmgp for code revi…
climbfuji Aug 7, 2020
b9ff5e7
after merging with ccpp-physics updated with rrtmgp
SMoorthi-emc Aug 9, 2020
14aa89b
removingduplicate lines in GFS_suite_interstitial.F90
SMoorthi-emc Aug 10, 2020
d3dcae7
fixing a typo in sfcsub.F
SMoorthi-emc Aug 10, 2020
c3ddc93
reverting MAPL_kp back to MAPL_R8
SMoorthi-emc Aug 10, 2020
f3b797f
moving definition of kp inside ifdef in wv_saturation.F
SMoorthi-emc Aug 10, 2020
c70eaec
Merge branch 'master' of https://github.com/NCAR/ccpp-physics into me…
climbfuji Aug 10, 2020
d7112c2
Add [ccpp-table-properties] section to new RRTMGP metadata files, upd…
climbfuji Aug 10, 2020
f8ff2c0
Compile against correct version of mo_cloud_sampling.F90, fix name of…
climbfuji Aug 10, 2020
5b50679
Merge branch 'master' of https://github.com/NCAR/ccpp-physics into HEAD
climbfuji Aug 11, 2020
ba823fa
Merge commit '2e3b1cf83dc0c693fb9f25d0805d516e7461fd25' into csd-ccp-…
ClaraDraper-NOAA Aug 11, 2020
2e60cb5
rte-rrtmgp submodule update
ClaraDraper-NOAA Aug 11, 2020
e57e4df
Renamed mo_cloud_sampling. Combined sampling routines.
dustinswales Aug 11, 2020
4c5224a
Add dummy call to get_alpha_exp to physics/module_SGSCloud_RadPre.F90…
climbfuji Aug 11, 2020
2dc3b9e
Merge branch 'cleanup_sampling' of https://github.com/dustinswales/cc…
climbfuji Aug 12, 2020
767f9b5
Update dependencies for physics/rrtmgp_lw_cloud_sampling.meta and phy…
climbfuji Aug 13, 2020
09c4ee3
Merge pull request #486 from SMoorthi-emc/SM_Jul302020
climbfuji Aug 13, 2020
0249e67
rte-rrtmgp submodule update
ClaraDraper-NOAA Aug 11, 2020
c97a385
Merge branch 'csd-ccp-sfcpert-fix' of https://github.com/ClaraDraper-…
ClaraDraper-NOAA Aug 14, 2020
43ba47d
fix diagnostic tendencies in moninedmf.f, satmedmfvdifq.F, module_MYN…
grantfirl Aug 18, 2020
38ae970
add check for generic PBL tendencies flag within PBL schemes that wer…
grantfirl Aug 19, 2020
1ce44ad
check for generic PBL tendencies in satmedmfvdif and remove tests for…
grantfirl Aug 19, 2020
0f6528b
add PBL tendencies to MYJ and SHOC schemes
grantfirl Aug 19, 2020
0693903
change horizontal_dimension to horizontal_loop_extent for PBL tendenc…
grantfirl Aug 19, 2020
fd8304a
fix bug in cu_gf_driver tendencies
grantfirl Aug 19, 2020
8617587
Diagnostic instantaneous 3D cloud fractions added. (#484)
ericaligo-NOAA Aug 20, 2020
a4e8f94
Merge branch 'master' of https://github.com/NCAR/ccpp-physics into me…
climbfuji Aug 24, 2020
ea71b1f
Update submodule pointer for RTE-RRTMGP
climbfuji Aug 24, 2020
42cd3c8
Merge commit '8617587edb95aa097b7bbc2735990393bc6d9b90' into csd-ccp-…
ClaraDraper-NOAA Aug 25, 2020
e05c676
added missing 'intent = in' to meta files
ClaraDraper-NOAA Aug 25, 2020
c85072f
physics/cires_ugwp.F90: fix bug in call to gwdps_run
climbfuji Aug 29, 2020
4c17ff7
Merge pull request #480 from ClaraDraper-NOAA/csd-ccp-sfcpert-fix
climbfuji Aug 30, 2020
a58aaec
Merge branch 'master' of https://github.com/NCAR/ccpp-physics into me…
climbfuji Sep 1, 2020
e2d663f
Number of threads used in sfcsub.F is now coming in via the argument …
climbfuji Sep 1, 2020
096ce3a
Update GFS_debug.F90 to prepare for further debugging capabilities, a…
climbfuji Sep 1, 2020
2245a5d
Correct typos in comment in GFS_debug.F90
climbfuji Sep 1, 2020
58aecc7
Revert change to .gitmodules and update submodule pointer for rte-rrtmgp
climbfuji Sep 2, 2020
0808cc2
Merge pull request #483 from climbfuji/metadata_dependencies
climbfuji Sep 2, 2020
e2557bd
Merge branch 'master' into fix_PBL_tendencies
grantfirl Sep 3, 2020
5e8635f
Merge branch 'master' of https://github.com/NCAR/ccpp-physics into HEAD
climbfuji Sep 3, 2020
8f8dd2e
physics/tracer_sanitizer.meta: add [ccpp-table-properties] section
climbfuji Sep 4, 2020
9bb1767
Merge branch 'master' of https://github.com/NCAR/ccpp-physics into ia…
climbfuji Sep 22, 2020
a8d1b6b
Update standard names for flags/controls of cloud overlap methods
climbfuji Sep 23, 2020
f91d1bf
Merge pull request #487 from climbfuji/iacono_cloud_overlap_merged_wi…
climbfuji Sep 25, 2020
9a90aa4
Merge branch 'master' into fix_PBL_tendencies
grantfirl Sep 28, 2020
e177dca
add CMakeLists.txt change from @climbfuji
grantfirl Sep 28, 2020
6f12e14
Merge pull request #489 from grantfirl/fix_PBL_tendencies
climbfuji Sep 30, 2020
52c4f54
Remove switch between WRFv3.8.1 and v4+ in module_mp_thompson.F90
climbfuji Oct 1, 2020
27b1d58
Merge branch 'master' of https://github.com/NCAR/ccpp-physics into up…
climbfuji Oct 1, 2020
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: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "physics/rte-rrtmgp"]
path = physics/rte-rrtmgp
url = https://github.com/RobertPincus/rte-rrtmgp
url = https://github.com/earth-system-radiation/rte-rrtmgp
branch = dtc/ccpp
59 changes: 37 additions & 22 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ if(POLICY CMP0042)
cmake_policy(SET CMP0042 NEW)
endif(POLICY CMP0042)

# CMP0057: Support new IN_LIST if() operator
if(POLICY CMP0057)
cmake_policy(SET CMP0057 NEW)
endif(POLICY CMP0057)

#------------------------------------------------------------------------------
set(PACKAGE "ccpp-physics")
set(AUTHORS "Grant Firl" "Dom Heinzeller" "Man Zhang" "Laurie Carson")
Expand Down Expand Up @@ -131,6 +136,7 @@ if (${CMAKE_Fortran_COMPILER_ID} STREQUAL "GNU")
# Set 32-bit floating point precision flags for certain files
# that are executed in the dynamics (fast physics part)
if (DYN32)
if (${CMAKE_CURRENT_SOURCE_DIR}/physics/gfdl_fv_sat_adj.F90 IN_LIST SCHEMES)
# Reduce floating point precision from 64-bit to 32-bit, if necessary
set(CMAKE_Fortran_FLAGS_PREC32 ${CMAKE_Fortran_FLAGS_DEFAULT_PREC})
string(REPLACE "-fdefault-real-8" ""
Expand All @@ -141,7 +147,8 @@ if (${CMAKE_Fortran_COMPILER_ID} STREQUAL "GNU")
APPEND_STRING PROPERTY COMPILE_FLAGS " ${CMAKE_Fortran_FLAGS_PREC32} ")
# Add all of the above files to the list of schemes with special floating point precision flags
list(APPEND SCHEMES_SFX_PREC ${CMAKE_CURRENT_SOURCE_DIR}/physics/gfdl_fv_sat_adj.F90)
endif (DYN32)
endif()
endif()

# Remove files with special floating point precision flags from list
# of files with standard floating point precision flags flags
Expand Down Expand Up @@ -179,36 +186,43 @@ elseif (${CMAKE_Fortran_COMPILER_ID} STREQUAL "Intel")
${CMAKE_CURRENT_SOURCE_DIR}/physics/module_BL_MYJPBL.F90
PROPERTIES COMPILE_FLAGS "-r8 -ftz")

# Reduce optimization for module_sf_mynn.F90 (to avoid an apparent compiler bug with Intel 18 on Hera)
SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_SOURCE_DIR}/physics/module_sf_mynn.F90
PROPERTIES COMPILE_FLAGS "${CMAKE_Fortran_FLAGS_OPT} -O1")
list(APPEND SCHEMES_SFX_OPT ${CMAKE_CURRENT_SOURCE_DIR}/physics/module_sf_mynn.F90)
if (${CMAKE_CURRENT_SOURCE_DIR}/physics/module_sf_mynn.F90 IN_LIST SCHEMES)
# Reduce optimization for module_sf_mynn.F90 (to avoid an apparent compiler bug with Intel 18 on Hera)
SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_SOURCE_DIR}/physics/module_sf_mynn.F90
PROPERTIES COMPILE_FLAGS "${CMAKE_Fortran_FLAGS_OPT} -O1")
list(APPEND SCHEMES_SFX_OPT ${CMAKE_CURRENT_SOURCE_DIR}/physics/module_sf_mynn.F90)
endif()

# Replace -xHost or -xCORE-AVX2 with -xCORE-AVX-I for certain files
set(CMAKE_Fortran_FLAGS_LOPT1 ${CMAKE_Fortran_FLAGS_OPT})
string(REPLACE "-xHOST" "-xCORE-AVX-I"
CMAKE_Fortran_FLAGS_LOPT1
"${CMAKE_Fortran_FLAGS_LOPT1}")
string(REPLACE "-xCORE-AVX2" "-xCORE-AVX-I"
CMAKE_Fortran_FLAGS_LOPT1
"${CMAKE_Fortran_FLAGS_LOPT1}")
string(REPLACE "-axSSE4.2,AVX,CORE-AVX2,CORE-AVX512" "-axSSE4.2,AVX,CORE-AVX-I"
CMAKE_Fortran_FLAGS_LOPT1
"${CMAKE_Fortran_FLAGS_LOPT1}")
SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_SOURCE_DIR}/physics/radiation_aerosols.f
PROPERTIES COMPILE_FLAGS "${CMAKE_Fortran_FLAGS_LOPT1}")
# Add all of the above files to the list of schemes with special compiler flags
list(APPEND SCHEMES_SFX_OPT ${CMAKE_CURRENT_SOURCE_DIR}/physics/radiation_aerosols.f)
if (${CMAKE_CURRENT_SOURCE_DIR}/physics/radiation_aerosols.f IN_LIST SCHEMES)
# Replace -xHost or -xCORE-AVX2 with -xCORE-AVX-I for certain files
set(CMAKE_Fortran_FLAGS_LOPT1 ${CMAKE_Fortran_FLAGS_OPT})
string(REPLACE "-xHOST" "-xCORE-AVX-I"
CMAKE_Fortran_FLAGS_LOPT1
"${CMAKE_Fortran_FLAGS_LOPT1}")
string(REPLACE "-xCORE-AVX2" "-xCORE-AVX-I"
CMAKE_Fortran_FLAGS_LOPT1
"${CMAKE_Fortran_FLAGS_LOPT1}")
string(REPLACE "-axSSE4.2,AVX,CORE-AVX2,CORE-AVX512" "-axSSE4.2,AVX,CORE-AVX-I"
CMAKE_Fortran_FLAGS_LOPT1
"${CMAKE_Fortran_FLAGS_LOPT1}")
SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_SOURCE_DIR}/physics/radiation_aerosols.f
PROPERTIES COMPILE_FLAGS "${CMAKE_Fortran_FLAGS_LOPT1}")
# Add all of the above files to the list of schemes with special compiler flags
list(APPEND SCHEMES_SFX_OPT ${CMAKE_CURRENT_SOURCE_DIR}/physics/radiation_aerosols.f)
endif()

# Remove files with special compiler flags from list of files with standard compiler flags
list(REMOVE_ITEM SCHEMES ${SCHEMES_SFX_OPT})
if (SCHEMES_SFX_OPT)
list(REMOVE_ITEM SCHEMES ${SCHEMES_SFX_OPT})
endif(SCHEMES_SFX_OPT)
# Assign standard compiler flags to all remaining schemes and caps
SET_SOURCE_FILES_PROPERTIES(${SCHEMES} ${CAPS}
PROPERTIES COMPILE_FLAGS "${CMAKE_Fortran_FLAGS_OPT}")

# Set 32-bit floating point precision flags for certain files
# that are executed in the dynamics (fast physics part)
if (DYN32)
if (${CMAKE_CURRENT_SOURCE_DIR}/physics/gfdl_fv_sat_adj.F90 IN_LIST SCHEMES)
# Reduce floating point precision from 64-bit to 32-bit, if necessary
set(CMAKE_Fortran_FLAGS_PREC32 ${CMAKE_Fortran_FLAGS_DEFAULT_PREC})
string(REPLACE "-real-size 64" "-real-size 32"
Expand All @@ -217,7 +231,8 @@ elseif (${CMAKE_Fortran_COMPILER_ID} STREQUAL "Intel")
APPEND_STRING PROPERTY COMPILE_FLAGS " ${CMAKE_Fortran_FLAGS_PREC32} ")
# Add all of the above files to the list of schemes with special floating point precision flags
list(APPEND SCHEMES_SFX_PREC ${CMAKE_CURRENT_SOURCE_DIR}/physics/gfdl_fv_sat_adj.F90)
endif (DYN32)
endif()
endif()

# Remove files with special floating point precision flags from list
# of files with standard floating point precision flags flags
Expand Down
12 changes: 12 additions & 0 deletions physics/GFS_DCNV_generic.meta
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[ccpp-table-properties]
name = GFS_DCNV_generic_pre
type = scheme
dependencies = machine.F

########################################################################
[ccpp-arg-table]
name = GFS_DCNV_generic_pre_run
type = scheme
Expand Down Expand Up @@ -148,6 +154,12 @@
intent = out
optional = F

########################################################################
[ccpp-table-properties]
name = GFS_DCNV_generic_post
type = scheme
dependencies = machine.F

########################################################################
[ccpp-arg-table]
name = GFS_DCNV_generic_post_run
Expand Down
12 changes: 7 additions & 5 deletions physics/GFS_GWD_generic.meta
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[ccpp-arg-table]
name = GFS_GWD_generic_pre_init
[ccpp-table-properties]
name = GFS_GWD_generic_pre
type = scheme
dependencies = machine.F

########################################################################
[ccpp-arg-table]
Expand Down Expand Up @@ -244,10 +245,11 @@
optional = F

########################################################################
[ccpp-arg-table]
name = GFS_GWD_generic_pre_finalize
[ccpp-table-properties]
name = GFS_GWD_generic_post
type = scheme

dependencies = machine.F

########################################################################
[ccpp-arg-table]
name = GFS_GWD_generic_post_run
Expand Down
Loading