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

Merge upstream develop #1

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
7d812f9
Update CDEPS component and remove DATM component (#845)
binli2337 Oct 18, 2021
5a20ea4
minor updates for FV3 "the dycore" and run templates, parm/field_tabl…
bensonr Oct 19, 2021
b87cdaa
Remove interstitial variables for land and ice emissivity and update …
SMoorthi-emc Oct 22, 2021
74c57f1
Enable debugging features in CCPP physics caps, bug fixes and cleanup…
climbfuji Oct 25, 2021
1c5d16f
Add a WAM regression test with the MULTI_GASES and MOLECULAR_DIFFUSIO…
XiaqiongZhou-NOAA Oct 27, 2021
12cda3f
adding semi-lagrangian sedimentation of rain in Thompson MP as an opt…
RuiyuSun Oct 28, 2021
e1cfb05
Remove Noah-WRFv4, bug fix in Thompson MP inner loop, update HWRF reg…
climbfuji Oct 29, 2021
5a548b9
Enable running regional nesting configurations and add four regional …
BinLiu-NOAA Nov 2, 2021
eb42fb8
Attribute cleanup, allow coupled executable to run as standalone; upd…
DeniseWorthen Nov 3, 2021
f76123c
Wrapper PR for "Remove optional arguments from CCPP metadata, remove …
climbfuji Nov 4, 2021
2a2ddad
Reduce fhmax for cpld_c192_p7 test; update to ESMF 8.2.0 and MAPL 2.1…
DeniseWorthen Nov 5, 2021
dded6d9
Add HAFS HYCOM, WW3 and CDEPS_DOCN coupling related documentation (#864)
danrosen25 Nov 5, 2021
49e4d99
Introduce positive-definite TVD methods for PBL and cumulus convectiv…
rmontuoro Nov 9, 2021
ad73e8a
Update to CA scale parameters for better scaling across resolutions; …
lisa-bengtsson Nov 10, 2021
0cf6034
Fix macOS build errors; fv3atm: register diagnostics from stochastic …
climbfuji Nov 12, 2021
546cdc0
Update WW3 for fix for MPI reproducibility (#911)
JessicaMeixner-NOAA Nov 17, 2021
805421d
Decrease the memory usage by MERRA2 for 6 times (#903)
AnningCheng-NOAA Nov 18, 2021
9c78af1
Update CICE cap for optional features; use UPP as submodule (was #904…
DeniseWorthen Nov 22, 2021
919ca0a
Semi Lagrangian sedimentation of graupel and update of corresponding …
RuiyuSun Nov 23, 2021
57288b9
CCPP framework (metadata parser) update, and update several units in …
climbfuji Nov 24, 2021
b884a61
Regional restart regression test fixed (#918)
RatkoVasic-NOAA Dec 1, 2021
5a461c1
Noah MP updates for Prototype 8 (GFSv17) (#927)
HelinWei-NOAA Dec 2, 2021
b52f83c
Clean up the input data directory, move diag_table to ufs-weather-mod…
junwang-noaa Dec 6, 2021
f20ac76
Add GP ORTs (#946)
dustinswales Dec 9, 2021
ad95b73
New Thompson cloud fraction (updated subroutine cal_cldfra3) (#929)
climbfuji Dec 10, 2021
56f3483
Merge NOAA-GSL gsl/develop into develop, update all GSL regression te…
climbfuji Dec 13, 2021
64fe240
CCPP CMake cleanup, update submodule pointer for stochastic_physics t…
climbfuji Dec 14, 2021
194f044
Update CICE, use -init=snan,arrays for Intel debug (#935)
DeniseWorthen Dec 15, 2021
bc6c5f6
Add ufs driver. Remove NEMS submodule. Update CMEPS. Update CDEPS. Fe…
DusanJovic-NOAA Dec 16, 2021
c9b399c
fv3atm cap cleanup (#954)
DusanJovic-NOAA Dec 17, 2021
4d613c5
CCPP cloud cover change for Thompson MP associated with Xu Randall, s…
climbfuji Dec 20, 2021
18becb9
ccpp-physics #806, #807, #813, and ort modifications (#970)
MinsukJi-NOAA Dec 21, 2021
803e03a
Wrapper for ccpp-physics #808 and 816 (roughness length over ice and …
grantfirl Dec 23, 2021
3d995d7
Use 'model set run clock' routine in FV3 NUOPC cap. (#967)
DusanJovic-NOAA Dec 27, 2021
8bf5a83
Revert iovr=4 (exponential cloud overlap method) in RRTMG (#963)
mzhangw Dec 28, 2021
e9155a9
Add fhzero ort test (#977)
MinsukJi-NOAA Dec 28, 2021
629be05
Add a new CDEPS test to use GSFv16 data mode in CDEPS ,update rt_week…
binli2337 Dec 29, 2021
538a074
Bug fixes for WAM physics and regression tests, remove duplicate modu…
climbfuji Dec 30, 2021
58ab0e2
Update global inline post for outputting foundation temperature (#968)
WenMeng-NOAA Jan 3, 2022
0f047b2
Regression test bug fixes for running on Jet or with Rocoto (#981)
SamuelTrahanNOAA Jan 5, 2022
d956727
MYNN sfclay (RAP suite) restart reproducibility (#984)
climbfuji Jan 7, 2022
afa30f3
fixes on initializing snow over fractional ice and GFS_surface_compo…
SMoorthi-emc Jan 10, 2022
1eef87e
Radar-derived microphysics temperature tendencies similar to operatio…
SamuelTrahanNOAA Jan 11, 2022
7246c09
Turn on CICE albedo use by ATM for coupled model; update Prototype te…
DeniseWorthen Jan 13, 2022
937004a
Thompson MP cloud tuning (#1005)
grantfirl Jan 18, 2022
a79a7ca
Add a new HAFS regression test with Thompson MP and GFDL surface laye…
ChunxiZhang-NOAA Jan 19, 2022
a231869
CCPP: Update consistency checks and effective radii calculation for T…
climbfuji Jan 20, 2022
18cfa16
Rremove nems_datm related code, update CDEPS, and remove run director…
binli2337 Jan 21, 2022
467bad3
Add fhzero ort to coupled tests (#1009)
MinsukJi-NOAA Jan 24, 2022
cf16bc4
Unified write_netcdf, add single file 'cubed_sphere_grid' output (#1011)
DusanJovic-NOAA Jan 25, 2022
4604d70
Change standard name and unit of CCPP error flag variable in CCPP fra…
climbfuji Jan 26, 2022
bce0ff3
ESMF managed threading (#1018)
junwang-noaa Jan 27, 2022
7131138
sync-ww3 (#1026)
aliabdolali Jan 28, 2022
4682914
Revisions to repair iovr=5 cloud overlap option (#1025)
grantfirl Jan 31, 2022
7b24880
2D decomposition on write grid, bug fix in FV3GFS_IO.F90, and quad pr…
junwang-noaa Feb 2, 2022
14a76ad
Update CMEPS for wave coupling (#1034)
DeniseWorthen Feb 3, 2022
2c78da0
4DIAU bug fix when iau_filter_increments=T (#990)
jswhit Feb 4, 2022
4a42680
Add lsm_cold_start variable for RUC LSM SCM support and gwdps bugfix …
grantfirl Feb 8, 2022
cad761d
Update esmf 821b04 (#1041)
DusanJovic-NOAA Feb 10, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 5 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# PR Checklist

- [ ] Ths PR is up-to-date with the top of all sub-component repositories except for those sub-components which are the subject of this PR. Please consult the ufs-weather-model [wiki](https://github.com/ufs-community/ufs-weather-model/wiki/Making-code-changes-in-the-UFS-weather-model-and-its-subcomponents) if you are unsure how to do this.
- [ ] This PR is up-to-date with the top of all sub-component repositories except for those sub-components which are the subject of this PR. Please consult the ufs-weather-model [wiki](https://github.com/ufs-community/ufs-weather-model/wiki/Making-code-changes-in-the-UFS-weather-model-and-its-subcomponents) if you are unsure how to do this.

- [ ] This PR has been tested using a branch which is up-to-date with the top of all sub-component repositories except for those sub-components which are the subject of this PR

- [ ] An Issue describing the work contained in this PR has been created either in the subcomponent(s) or in the ufs-weather-model. The Issue should be created in the repository that is most relevant to the changes in contained in the PR. The Issue and the dependent sub-component PR
are specified below.

- [ ] If new or updated input data is required by this PR, it is clearly stated in the text of the PR.
- [ ] Results for one or more of the regression tests change and the reasons for the changes are understood and explained below.

- [ ] New or updated input data is required by this PR. If checked, please work with the code managers to update input data sets on all platforms.

## Instructions: All subsequent sections of text should be filled in as appropriate.

Expand Down Expand Up @@ -37,6 +39,7 @@ How were these changes tested? What compilers / HPCs was it tested with? Are the
- [ ] jet.intel
- [ ] wcoss_cray
- [ ] wcoss_dell_p3
- [ ] opnReqTest for newly added/changed feature
- [ ] CI

## Dependencies
Expand Down
10 changes: 1 addition & 9 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@
path = FV3
url = https://github.com/NOAA-EMC/fv3atm
branch = develop
[submodule "NEMS"]
path = NEMS
url = https://github.com/NOAA-EMC/NEMS
branch = develop
[submodule "WW3"]
path = WW3
url = https://github.com/NOAA-EMC/WW3
branch = develop
branch = dev/ufs-weather-model
[submodule "stochastic_physics"]
path = stochastic_physics
url = https://github.com/noaa-psd/stochastic_physics
Expand All @@ -34,10 +30,6 @@
path = CICE-interface/CICE
url = https://github.com/NOAA-EMC/CICE
branch = emc/develop
[submodule "DATM"]
path = DATM
url = https://github.com/NOAA-EMC/NEMSdatm
branch = develop
[submodule "CDEPS"]
path = CDEPS-interface/CDEPS
url = https://github.com/NOAA-EMC/CDEPS
Expand Down
2 changes: 1 addition & 1 deletion CDEPS-interface/CDEPS
2 changes: 1 addition & 1 deletion CDEPS-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ elseif(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
set(CMAKE_Fortran_FLAGS "-g -traceback")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -O -assume realloc_lhs")
set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -fp-model precise")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -check -check noarg_temp_created -check nopointer -fpe0 -ftrapuv")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -check -check noarg_temp_created -check nopointer -fpe0 -ftrapuv -init=snan,arrays")
else()
message(WARNING "Fortran compiler with ID ${CMAKE_Fortran_COMPILER_ID} will be used with CMake default options")
endif()
Expand Down
1 change: 1 addition & 0 deletions CDEPS-interface/cdeps_files.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ list(APPEND cdeps_datm_files
CDEPS/datm/datm_datamode_cplhist_mod.F90
CDEPS/datm/datm_datamode_era5_mod.F90
CDEPS/datm/datm_datamode_gefs_mod.F90
CDEPS/datm/datm_datamode_gfs_mod.F90
CDEPS/datm/datm_datamode_jra_mod.F90
)

Expand Down
2 changes: 1 addition & 1 deletion CICE-interface/CICE
Submodule CICE updated 55 files
+2 −3 .gitmodules
+2 −2 README.md
+68 −12 cice.setup
+40 −18 cicecore/cicedynB/analysis/ice_history.F90
+29 −29 cicecore/cicedynB/analysis/ice_history_bgc.F90
+3 −0 cicecore/cicedynB/analysis/ice_history_drag.F90
+49 −60 cicecore/cicedynB/dynamics/ice_dyn_eap.F90
+59 −45 cicecore/cicedynB/dynamics/ice_dyn_evp.F90
+95 −12 cicecore/cicedynB/dynamics/ice_dyn_shared.F90
+137 −110 cicecore/cicedynB/dynamics/ice_dyn_vp.F90
+11 −4 cicecore/cicedynB/general/ice_forcing.F90
+40 −22 cicecore/cicedynB/general/ice_init.F90
+40 −9 cicecore/drivers/nuopc/cmeps/CICE_InitMod.F90
+73 −7 cicecore/drivers/nuopc/cmeps/CICE_RunMod.F90
+0 −4 cicecore/drivers/nuopc/cmeps/ice_comp_nuopc.F90
+44 −11 cicecore/drivers/nuopc/dmi/CICE_InitMod.F90
+88 −9 cicecore/drivers/nuopc/dmi/CICE_RunMod.F90
+3 −4 configuration/scripts/Makefile
+3 −2 configuration/scripts/ice_in
+3 −2 configuration/scripts/machines/Macros.daley_intel
+7 −0 configuration/scripts/machines/env.cheyenne_gnu
+7 −0 configuration/scripts/machines/env.cheyenne_intel
+7 −0 configuration/scripts/machines/env.cheyenne_pgi
+0 −1 configuration/scripts/options/set_env.box2001
+1 −1 configuration/scripts/options/set_nml.alt03
+1 −0 configuration/scripts/options/set_nml.atmbndyconstant
+1 −0 configuration/scripts/options/set_nml.atmbndymixed
+0 −10 configuration/scripts/options/set_nml.gx1coreii
+0 −8 configuration/scripts/options/set_nml.qc_nonbfb
+16 −0 configuration/scripts/options/set_nml.qcnonbfb
+0 −0 configuration/scripts/options/set_nml.snwitdrdg
+8 −10 configuration/scripts/parse_namelist.sh
+2 −1 configuration/scripts/parse_namelist_from_env.sh
+21 −13 configuration/scripts/parse_settings.sh
+8 −2 configuration/scripts/tests/QC/cice.t-test.py
+2 −2 configuration/scripts/tests/QC/gen_qc_cases.csh
+4 −3 configuration/scripts/tests/base_suite.ts
+48 −0 configuration/scripts/tests/baseline.script
+24 −0 configuration/scripts/tests/create_fails.csh
+0 −2 configuration/scripts/tests/decomp_suite.ts
+1 −0 configuration/scripts/tests/first_suite.ts
+2 −2 configuration/scripts/tests/nothread_suite.ts
+5 −3 configuration/scripts/tests/prod_suite.ts
+0 −1 configuration/scripts/tests/reprosum_suite.ts
+36 −0 configuration/scripts/tests/test_qcchk.script
+36 −0 configuration/scripts/tests/test_qcchkf.script
+7 −3 doc/source/cice_index.rst
+0 −15 doc/source/developer_guide/dg_forcing.rst
+6 −5 doc/source/developer_guide/dg_scripts.rst
+12 −1 doc/source/master_list.bib
+109 −105 doc/source/science_guide/sg_dynamics.rst
+4 −3 doc/source/user_guide/ug_case_settings.rst
+13 −3 doc/source/user_guide/ug_testing.rst
+2 −2 doc/source/user_guide/ug_troubleshooting.rst
+1 −1 icepack
2 changes: 1 addition & 1 deletion CICE-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ elseif(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
set(CMAKE_Fortran_FLAGS "-g -traceback")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -FR -convert big_endian -assume byterecl -ftz -align array64byte -xHOST")
set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -fp-model precise")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -check uninit -check bounds -check pointers -fpe0 -check noarg_temp_created")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -check uninit -check bounds -check pointers -fpe0 -check noarg_temp_created -init=snan,arrays")
set(CMAKE_Fortran_LINK_FLAGS "")
else()
message(WARNING "Fortran compiler with ID ${CMAKE_Fortran_COMPILER_ID} will be used with CMake default options")
Expand Down
2 changes: 1 addition & 1 deletion CMEPS-interface/CMEPS
Submodule CMEPS updated 101 files
17 changes: 6 additions & 11 deletions CMEPS-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,18 @@ elseif(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
set(CMAKE_Fortran_FLAGS "-g -traceback")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -O -assume realloc_lhs")
set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -fp-model precise")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -check -check noarg_temp_created -check nopointer -fpe0 -ftrapuv")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -check -check noarg_temp_created -check nopointer -fpe0 -ftrapuv -init=snan,arrays")
set(CMAKE_Fortran_LINK_FLAGS "")
else()
message(WARNING "Fortran compiler with ID ${CMAKE_Fortran_COMPILER_ID} will be used with CMake default options")
endif()

list(APPEND _nems_util_files
CMEPS/util/shr_abort_mod.F90
CMEPS/util/shr_log_mod.F90
CMEPS/util/shr_sys_mod.F90
CMEPS/util/shr_flux_mod.F90
CMEPS/util/shr_mpi_mod.F90
CMEPS/util/glc_elevclass_mod.F90
CMEPS/util/shr_mem_mod.F90
CMEPS/util/shr_kind_mod.F90
CMEPS/util/perf_mod.F90
CMEPS/util/shr_const_mod.F90)
CMEPS/ufs/flux_atmocn_mod.F90
CMEPS/ufs/glc_elevclass_mod.F90
CMEPS/ufs/ufs_kind_mod.F90
CMEPS/ufs/perf_mod.F90
CMEPS/ufs/ufs_const_mod.F90)

list(APPEND _mediator_files
CMEPS/mediator/med_phases_restart_mod.F90
Expand Down
33 changes: 7 additions & 26 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMakeModules/Modules)
###############################################################################

# Valid applications and choices
list(APPEND VALID_APPS ATM ATMAERO ATMW S2S S2SW HAFS HAFSW HAFS-ALL NG-GODAS NG-GODAS-NEMSDATM)
list(APPEND VALID_APPS ATM ATMAERO ATMW S2S S2SW HAFS HAFSW HAFS-ALL NG-GODAS)
set(APP NONE CACHE BOOL "Application Name")
if(NOT (APP IN_LIST VALID_APPS))
message(FATAL_ERROR "${APP} is not a valid application.\nValid Applications are: ${VALID_APPS}")
Expand All @@ -30,7 +30,6 @@ set(HYCOM OFF CACHE BOOL "Enable HYCOM")
set(CICE6 OFF CACHE BOOL "Enable CICE6")
set(WW3 OFF CACHE BOOL "Enable WW3")
set(STOCH_PHYS OFF CACHE BOOL "Enable Stochastic Physics")
set(NEMSdatm OFF CACHE BOOL "Enable NEMSdatm")
set(CMEPS OFF CACHE BOOL "Enable CMEPS")
set(CDEPS OFF CACHE BOOL "Enable CDEPS")

Expand All @@ -47,7 +46,6 @@ message("HYCOM ............ ${HYCOM}")
message("CICE6 ............ ${CICE6}")
message("WW3 .............. ${WW3}")
message("STOCH_PHYS ....... ${STOCH_PHYS}")
message("NEMSdatm ......... ${NEMSdatm}")
message("CDEPS ............ ${CDEPS}")
message("CMEPS ............ ${CMEPS}")

Expand Down Expand Up @@ -81,7 +79,7 @@ endif()
message("")
message("32BIT ............ ${32BIT}")
message("AVX2 ............. ${AVX2}")
message("SIMDMULTIARCH ... ${SIMDMULTIARCH}")
message("SIMDMULTIARCH .... ${SIMDMULTIARCH}")
message("DEBUG ............ ${DEBUG}")
message("DEBUG_LINKMPI .... ${DEBUG_LINKMPI}")
message("INLINE_POST ...... ${INLINE_POST}")
Expand Down Expand Up @@ -127,12 +125,9 @@ endif()
find_package(bacio REQUIRED)
find_package(sp REQUIRED)
find_package(w3nco REQUIRED)
if(INLINE_POST)
find_package(upp REQUIRED)
endif()

# Configure Python
find_package(Python 3 REQUIRED COMPONENTS Interpreter)
find_package(Python 3.6 REQUIRED COMPONENTS Interpreter)
message("Found Python: ${Python_EXECUTABLE}")

###############################################################################
Expand Down Expand Up @@ -206,24 +201,16 @@ if(CMEPS)
endif()

###############################################################################
### Data Components [NEMSdatm, CDEPS]
### Data Components [CDEPS]
###############################################################################
if(NEMSdatm)
add_subdirectory(DATM/DATM)
endif()

if(CDEPS)
add_subdirectory(CDEPS-interface)
endif()

###############################################################################
### UFS Library [NEMS]
### UFS Library
###############################################################################
list(APPEND _nems_srcs NEMS/src/module_EARTH_GRID_COMP.F90
NEMS/src/module_NEMS_Rusage.F90
NEMS/src/nems_c_rusage.c)

add_library(ufs ${_nems_srcs})
add_library(ufs driver/EARTH_GRID_COMP.F90)
set_target_properties(ufs PROPERTIES Fortran_MODULE_DIRECTORY
${CMAKE_CURRENT_BINARY_DIR}/mod)
target_include_directories(ufs INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/mod>
Expand Down Expand Up @@ -252,12 +239,6 @@ if(STOCH_PHYS)
list(APPEND _ufs_libs_public stochastic_physics)
endif()

if(NEMSdatm)
add_dependencies(ufs datatm)
list(APPEND _ufs_defs_private FRONT_NEMS_DATM=datm)
list(APPEND _ufs_libs_public datatm)
endif()

if(FV3)
add_dependencies(ufs fv3atm)
list(APPEND _ufs_defs_private FRONT_FV3=fv3gfs_cap_mod)
Expand Down Expand Up @@ -301,7 +282,7 @@ target_link_libraries(ufs PUBLIC "${_ufs_libs_public}")
###############################################################################
### UFS executable
###############################################################################
add_executable(ufs_model NEMS/src/MAIN_NEMS.F90)
add_executable(ufs_model driver/UFS.F90)
add_dependencies(ufs_model ufs)
target_link_libraries(ufs_model ufs esmf w3nco::w3nco_d)

Expand Down
1 change: 0 additions & 1 deletion DATM
Submodule DATM deleted from 1e9ab6
2 changes: 1 addition & 1 deletion FV3
Submodule FV3 updated 50 files
+4 −0 .gitmodules
+6 −1 CMakeLists.txt
+1 −1 atmos_cubed_sphere
+34 −92 atmos_model.F90
+14 −11 ccpp/CMakeLists.txt
+0 −82 ccpp/config/ccpp_prebuild_config.py
+8 −8 ccpp/data/CCPP_typedefs.F90
+3 −2 ccpp/data/CCPP_typedefs.meta
+528 −470 ccpp/data/GFS_typedefs.F90
+409 −492 ccpp/data/GFS_typedefs.meta
+378 −155 ccpp/driver/GFS_diagnostics.F90
+116 −5 ccpp/driver/GFS_restart.F90
+1 −1 ccpp/framework
+1 −1 ccpp/physics
+105 −0 ccpp/suites/suite_FV3_GFS_v16_coupled_p7_rrtmgp.xml
+17 −17 ccpp/suites/suite_FV3_GFS_v16_coupled_p8.xml
+7 −6 ccpp/suites/suite_FV3_GFS_v16_fv3wam.xml
+104 −0 ccpp/suites/suite_FV3_GFS_v16_p7_rrtmgp.xml
+94 −0 ccpp/suites/suite_FV3_GFS_v16_p8.xml
+16 −12 ccpp/suites/suite_FV3_GFSv17alp_cpldnsstrasnoahmp.xml
+95 −0 ccpp/suites/suite_FV3_GFSv17alp_cpldnsstrasugwpnoahmp.xml
+105 −0 ccpp/suites/suite_FV3_GFSv17alp_cpldnsstrasugwprrtmgp.xml
+95 −0 ccpp/suites/suite_FV3_GFSv17alp_cpldnsstsasugwpnoahmp.xml
+16 −17 ccpp/suites/suite_FV3_GFSv17alpha_cpldnsstsas_ugwp.xml
+0 −85 ccpp/suites/suite_FV3_GSD_SAR.xml
+11 −11 ccpp/suites/suite_FV3_HAFS_v0_thompson_tedmf_gfdlsf.xml
+0 −2 ccpp/suites/suite_FV3_HRRR.xml
+3 −4 ccpp/suites/suite_FV3_RAP_RRTMGP.xml
+1 −1 ccpp/suites/suite_FV3_RAP_cires_ugwp.xml
+91 −0 ccpp/suites/suite_FV3_RAP_flake.xml
+3 −4 ccpp/suites/suite_FV3_RAP_noah.xml
+2 −2 ccpp/suites/suite_FV3_RAP_noah_sfcdiff_cires_ugwp.xml
+1 −1 ccpp/suites/suite_FV3_RAP_sfcdiff.xml
+2 −2 ccpp/suites/suite_FV3_RAP_unified_ugwp.xml
+0 −84 ccpp/suites/suite_FV3_RRFS_v1alpha.xml
+13 −0 cpl/module_block_data.F90
+1 −336 cpl/module_cap_cpl.F90
+162 −3 cpl/module_cplfields.F90
+141 −300 fv3_cap.F90
+192 −126 io/FV3GFS_io.F90
+2 −2 io/module_write_internal_state.F90
+681 −299 io/module_write_netcdf.F90
+0 −627 io/module_write_netcdf_parallel.F90
+87 −27 io/module_wrt_grid_comp.F90
+101 −5 io/post_gfs.F90
+273 −315 module_fcst_grid_comp.F90
+2 −8 module_fv3_config.F90
+3 −3 stochastic_physics/stochastic_physics_wrapper.F90
+0 −170 time_utils.F90
+1 −0 upp
2 changes: 1 addition & 1 deletion HYCOM-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if(CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
set(CMAKE_Fortran_FLAGS "-g -traceback -xSSE4.2 -mcmodel=small -r8")
set(CMAKE_Fortran_FLAGS_RELEASE "-O3 -fp-model source -warn nogeneral")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -check -check noarg_temp_created -check nopointer -fpe0 -ftrapuv -link_mpi=dbg")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -check -check noarg_temp_created -check nopointer -fpe0 -ftrapuv -link_mpi=dbg -init=snan,arrays")
set(CMAKE_Fortran_LINK_FLAGS "-V ${CMAKE_Fortran_FLAGS} -static-intel")
else()
message(WARNING "Fortran compiler with ID ${CMAKE_Fortran_COMPILER_ID} will be used with CMake default options")
Expand Down
2 changes: 1 addition & 1 deletion HYCOM-interface/HYCOM
3 changes: 2 additions & 1 deletion MOM6-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ elseif(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -i4 -r8")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fno-alias -auto -safe-cray-ptr -ftz -assume byterecl -sox")
set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -debug minimal -fp-model source")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -check -check noarg_temp_created -check nopointer -fpe0 -ftrapuv")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -check -check noarg_temp_created -check nopointer -fpe0 -ftrapuv -init=snan,arrays")
set(CMAKE_Fortran_LINK_FLAGS "")
else()
message(WARNING "Fortran compiler with ID ${CMAKE_Fortran_COMPILER_ID} will be used with CMake default options")
Expand Down Expand Up @@ -46,6 +46,7 @@ target_include_directories(mom6_nuopc_obj PRIVATE $<BUILD_INTERFACE:${CMAKE_CURR
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/MOM6/src/framework>)
target_link_libraries(mom6_nuopc_obj PRIVATE mom6_obj
fms
stochastic_physics
esmf)
# OpenMP is disabled in MOM6
#if(OpenMP_Fortran_FOUND)
Expand Down
2 changes: 1 addition & 1 deletion MOM6-interface/MOM6
Submodule MOM6 updated 152 files
4 changes: 3 additions & 1 deletion MOM6-interface/mom6_files.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ list(APPEND mom6_src_files
MOM6/src/parameterizations/CVmix/cvmix_tidal.F90
MOM6/src/parameterizations/CVmix/cvmix_utils.F90

MOM6/src/parameterizations/stochastic/MOM_stochastics.F90

MOM6/src/tracer/DOME_tracer.F90

MOM6/src/tracer/ISOMIP_tracer.F90
Expand All @@ -189,6 +191,7 @@ list(APPEND mom6_src_files
MOM6/src/tracer/MOM_generic_tracer.F90
MOM6/src/tracer/MOM_lateral_boundary_diffusion.F90
MOM6/src/tracer/MOM_neutral_diffusion.F90
MOM6/src/tracer/nw2_tracers.F90
MOM6/src/tracer/MOM_offline_aux.F90
MOM6/src/tracer/MOM_offline_main.F90
MOM6/src/tracer/MOM_tracer_Z_init.F90
Expand Down Expand Up @@ -254,7 +257,6 @@ list(APPEND mom6_src_files
MOM6/config_src/external/ODA_hooks/ocean_da_core.F90
MOM6/config_src/external/ODA_hooks/ocean_da_types.F90
MOM6/config_src/external/ODA_hooks/write_ocean_obs.F90
MOM6/config_src/external/OCEAN_stochastic_phyiscs/MOM_stochastics.F90

MOM6/config_src/infra/FMS1/MOM_coms_infra.F90
MOM6/config_src/infra/FMS1/MOM_constants.F90
Expand Down
1 change: 0 additions & 1 deletion NEMS
Submodule NEMS deleted from e17870
2 changes: 1 addition & 1 deletion WW3
Submodule WW3 updated 434 files
4 changes: 0 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,9 @@ export CC=${CC:-mpicc}
export CXX=${CXX:-mpicxx}
export FC=${FC:-mpif90}

export ESMFMKFILE=${ESMFMKFILE:?"Please set ESMFMKFILE environment variable"}

BUILD_DIR=${BUILD_DIR:-${UFS_MODEL_DIR}/build}
mkdir -p ${BUILD_DIR}

[[ -n "${MAPL_ROOT:-""}" ]] && CMAKE_FLAGS+=" -DCMAKE_MODULE_PATH=${MAPL_ROOT}/share/MAPL/cmake"

cd ${BUILD_DIR}
cmake ${UFS_MODEL_DIR} ${CMAKE_FLAGS}
# Turn off OpenMP threading for parallel builds
Expand Down
4 changes: 3 additions & 1 deletion cmake/GNU.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ else()
endif()

# For ccpp
set(CMAKE_Fortran_FLAGS_DEFAULT_PREC "-fdefault-real-8 -fdefault-double-8")
set(CMAKE_C_FLAGS_RELEASE "-O2 -fPIC" CACHE STRING "" FORCE)
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -fPIC" CACHE STRING "" FORCE)
set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -fPIC" CACHE STRING "" FORCE)
set(CMAKE_C_FLAGS_BITFORBIT "-O2 -fPIC" CACHE STRING "" FORCE)
set(CMAKE_CXX_FLAGS_BITFORBIT "-O2 -fPIC" CACHE STRING "" FORCE)
set(CMAKE_Fortran_FLAGS_BITFORBIT "-O2 -fPIC" CACHE STRING "" FORCE)
13 changes: 7 additions & 6 deletions cmake/Intel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ endif()

if(DEBUG)
add_definitions(-DDEBUG)
set(CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -O0 -check -check noarg_temp_created -check nopointer -warn -warn noerrors -fp-stack-check -fstack-protector-all -fpe0 -debug -ftrapuv")
set(CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -O0 -check -check noarg_temp_created -check nopointer -warn -warn noerrors -fp-stack-check -fstack-protector-all -fpe0 -debug -ftrapuv -init=snan,arrays")
if(DEBUG_LINKMPI)
if(OPENMP)
set(CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -link_mpi=dbg_mt")
Expand All @@ -31,24 +31,25 @@ else()
if(AVX2)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -march=core-avx2")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=core-avx2")
set(CMAKE_Fortran_FLAGS_OPT "-no-prec-div -no-prec-sqrt -xCORE-AVX2")
elseif(SIMDMULTIARCH)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -axSSE4.2,CORE-AVX2")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -axSSE4.2,CORE-AVX2")
set(CMAKE_Fortran_FLAGS_OPT "-no-prec-div -no-prec-sqrt -axSSE4.2,CORE-AVX2")
elseif(AVX)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -march=core-avx-i")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=core-avx-i")
set(CMAKE_Fortran_FLAGS_OPT "-no-prec-div -no-prec-sqrt -xCORE-AVX-I")
endif()
endif()

# For ccpp
set(CMAKE_Fortran_FLAGS_DEFAULT_PREC "-real-size 64")
set(CMAKE_C_FLAGS_RELEASE "-O2 -fPIC" CACHE STRING "" FORCE)
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -fPIC" CACHE STRING "" FORCE)
set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -fPIC" CACHE STRING "" FORCE)

set(CMAKE_C_FLAGS_BITFORBIT "-O2 -fPIC" CACHE STRING "" FORCE)
set(CMAKE_CXX_FLAGS_BITFORBIT "-O2 -fPIC" CACHE STRING "" FORCE)
set(CMAKE_Fortran_FLAGS_BITFORBIT "-O2 -fPIC" CACHE STRING "" FORCE)

if(APPLE)
# The linker on macOS does not include `common symbols` by default
# Passing the -c flag includes them and fixes an error with undefined symbols
set(CMAKE_Fortran_ARCHIVE_FINISH "<CMAKE_RANLIB> -c <TARGET>")
endif()
11 changes: 3 additions & 8 deletions cmake/configure_apps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,14 @@ if(APP MATCHES "^(ATM|ATMW)$")
endif()
endif()

if(APP MATCHES "^(NG-GODAS|NG-GODAS-NEMSDATM)$")
if(APP MATCHES "^(NG-GODAS)$")
set(CMEPS ON CACHE BOOL "Enable CMEPS" FORCE)
set(STOCH_PHYS ON CACHE BOOL "Enable Stochastic Physics" FORCE)
set(FMS ON CACHE BOOL "Enable FMS" FORCE)
set(MOM6 ON CACHE BOOL "Enable MOM6" FORCE)
set(CICE6 ON CACHE BOOL "Enable CICE6" FORCE)
if(APP MATCHES "NG-GODAS-NEMSDATM")
set(NEMSdatm ON CACHE BOOL "Enable NEMS DataAtm" FORCE)
message("Configuring UFS app in (NEMS) Data Atmosphere mode")
elseif(APP MATCHES "NG-GODAS")
set(CDEPS ON CACHE BOOL "Enable CDEPS" FORCE)
message("Configuring UFS app in (CDEPS) Data Atmosphere mode")
endif()
set(CDEPS ON CACHE BOOL "Enable CDEPS" FORCE)
message("Configuring UFS app in (CDEPS) Data Atmosphere mode")
endif()

if(APP MATCHES "^(S2S|S2SW)$")
Expand Down
2 changes: 2 additions & 0 deletions cmake/configure_expanse.intel.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
set(INLINE_POST ON CACHE BOOL "Enable inline post" FORCE)
set(PARALLEL_NETCDF ON CACHE BOOL "Enable parallel NetCDF" FORCE)
3 changes: 2 additions & 1 deletion cmake/configure_macosx.gnu.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
set(INLINE_POST ON CACHE BOOL "Enable inline post" FORCE)
set(INLINE_POST ON CACHE BOOL "Enable inline post" FORCE)
set(PARALLEL_NETCDF ON CACHE BOOL "Enable parallel NetCDF" FORCE)

# OpenMP broken for clang compiler
if(${CMAKE_C_COMPILER_ID} MATCHES "^(Clang|AppleClang)$")
Expand Down
3 changes: 3 additions & 0 deletions cmake/configure_macosx.intel.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
set(INLINE_POST ON CACHE BOOL "Enable inline post" FORCE)
set(PARALLEL_NETCDF ON CACHE BOOL "Enable parallel NetCDF" FORCE)
set(DEBUG_LINKMPI OFF CACHE BOOL "Enable linkmpi option when DEBUG mode is on" FORCE)
Loading