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

Add ufs driver. Remove NEMS submodule. Update CMEPS. Update CDEPS. Feature/ort addition. #931

Merged
merged 30 commits into from
Dec 16, 2021
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
a177101
Remove NEMS submodule. Add UFS driver (main program plus Earth gridde…
DusanJovic-NOAA Nov 15, 2021
12fe3e3
Moving init_lmod.sh to module-setup.sh didn't work
DusanJovic-NOAA Nov 15, 2021
fc08916
Fix compile.sh on wcoss_dell_p3
DusanJovic-NOAA Nov 15, 2021
278e247
Updated MACHINE_ID strings in module-setup.sh and job card templates
DusanJovic-NOAA Nov 16, 2021
4b4a398
Merge branch 'ufs-community:develop' into ufs_driver
DusanJovic-NOAA Nov 23, 2021
8761097
Move two 'driver' files to driver subdirectory.
DusanJovic-NOAA Nov 23, 2021
72fbdde
cleanup module-setup.sh
DusanJovic-NOAA Nov 24, 2021
7666c52
Merge branch 'ufs-community:develop' into ufs_driver
DusanJovic-NOAA Nov 24, 2021
e7b6dcd
Merge branch 'ufs-community:develop' into ufs_driver
DusanJovic-NOAA Dec 10, 2021
132aa38
Merge branch 'ufs-community:develop' into ufs_driver
DusanJovic-NOAA Dec 14, 2021
4eb4f88
Merge branch 'ufs-community:develop' into ufs_driver
DusanJovic-NOAA Dec 15, 2021
c54938b
Point FV3 submodule to feature/CCPP-CODEOWNERS
DusanJovic-NOAA Dec 15, 2021
773f3e6
Update program name in w3tagb/w3tage in UFS.F90
DusanJovic-NOAA Dec 15, 2021
4f05818
Update error message string in driver/UFS.F90
DusanJovic-NOAA Dec 15, 2021
e8263c4
Feature/ort addition (#16)
MinsukJi-NOAA Dec 15, 2021
5582bd5
Feature/updcmeps (#15)
DeniseWorthen Dec 15, 2021
bf0405a
update CDEPS (#14)
binli2337 Dec 15, 2021
2f1ecb0
Remove nems from tests/ci/repo_check.sh
DusanJovic-NOAA Dec 15, 2021
385b2ad
RT JOBS PASSED: hera.intel. Log file uploaded.
BrianCurtis-NOAA Dec 15, 2021
b87151e
Add wcoss_cray log
DusanJovic-NOAA Dec 15, 2021
a29e77f
RT JOBS PASSED: hera.gnu. Log file uploaded.
BrianCurtis-NOAA Dec 15, 2021
2047464
RT JOBS PASSED: cheyenne.gnu. Log file uploaded.
BrianCurtis-NOAA Dec 15, 2021
04a52ba
RT JOBS PASSED: cheyenne.intel. Log file uploaded.
BrianCurtis-NOAA Dec 15, 2021
cf04c1e
RT JOBS PASSED: orion.intel. Log file uploaded.
BrianCurtis-NOAA Dec 16, 2021
026e822
RT JOBS PASSED: gaea.intel. Log file uploaded.
BrianCurtis-NOAA Dec 16, 2021
fd7ae78
Add wcoss_dell_p3 log
DusanJovic-NOAA Dec 16, 2021
349f1d1
RT JOBS PASSED: jet.intel. Log file uploaded.
BrianCurtis-NOAA Dec 16, 2021
77d1894
Revert CMEPS submodule
DusanJovic-NOAA Dec 16, 2021
fb9553e
Revert CDEPS-interface/CDEPS submodule
DusanJovic-NOAA Dec 16, 2021
45e6b0f
Revert FV3 submodule
DusanJovic-NOAA Dec 16, 2021
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
20 changes: 10 additions & 10 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
[submodule "FV3"]
path = FV3
url = https://github.com/NOAA-EMC/fv3atm
branch = develop
[submodule "NEMS"]
path = NEMS
url = https://github.com/NOAA-EMC/NEMS
branch = develop
# url = https://github.com/NOAA-EMC/fv3atm
# branch = develop
url = https://github.com/SamuelTrahanNOAA/fv3atm
branch = feature/CCPP-CODEOWNERS
[submodule "WW3"]
path = WW3
url = https://github.com/NOAA-EMC/WW3
Expand All @@ -20,8 +18,10 @@
branch = develop
[submodule "CMEPS"]
path = CMEPS-interface/CMEPS
url = https://github.com/NOAA-EMC/CMEPS
branch = emc/develop
#url = https://github.com/NOAA-EMC/CMEPS.git
#branch = emc/develop
url = https://github.com/DeniseWorthen/CMEPS.git
branch = feature/updcmeps
[submodule "HYCOM"]
path = HYCOM-interface/HYCOM
url = https://github.com/NOAA-EMC/HYCOM-src
Expand All @@ -36,8 +36,8 @@
branch = emc/develop
[submodule "CDEPS"]
path = CDEPS-interface/CDEPS
url = https://github.com/NOAA-EMC/CDEPS
branch = develop
url = https://github.com/binli2337/CDEPS
branch = add_gfs
[submodule "GOCART"]
path = GOCART
url = https://github.com/GEOS-ESM/GOCART
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 CMEPS-interface/CMEPS
Submodule CMEPS updated 53 files
+153 −0 .github/workflows/srt.yml
+2 −2 CMakeLists.txt
+0 −77 Makefile
+0 −0 cesm/driver/ensemble_driver.F90
+0 −0 cesm/driver/esm.F90
+0 −0 cesm/driver/esmApp.F90
+0 −0 cesm/driver/esm_time_mod.F90
+0 −0 cesm/driver/esm_utils_mod.F90
+0 −0 cesm/driver/t_driver_timers_mod.F90
+0 −0 cesm/driver/util.F90
+2,299 −0 cesm/flux_atmocn/shr_flux_mod.F90
+569 −0 cesm/nuopc_cap_share/glc_elevclass_mod.F90
+0 −0 cesm/nuopc_cap_share/nuopc_shr_methods.F90
+1,220 −0 cesm/nuopc_cap_share/seq_drydep_mod.F90
+76 −0 cesm/nuopc_cap_share/shr_carma_mod.F90
+185 −0 cesm/nuopc_cap_share/shr_expr_parser_mod.F90
+297 −0 cesm/nuopc_cap_share/shr_fire_emis_mod.F90
+310 −0 cesm/nuopc_cap_share/shr_megan_mod.F90
+106 −0 cesm/nuopc_cap_share/shr_ndep_mod.F90
+124 −0 cesm/nuopc_cap_share/shr_ozone_coupling_mod.F90
+2 −1 cime_config/buildexe
+1 −2 cime_config/buildnml
+17 −14 cime_config/namelist_definition_drv.xml
+1 −1 mediator/CMakeLists.txt
+31 −5 mediator/esmFldsExchange_cesm_mod.F90
+7 −0 mediator/fd_cesm.yaml
+15 −7 mediator/med.F90
+5 −0 mediator/med_constants_mod.F90
+391 −181 mediator/med_diag_mod.F90
+54 −17 mediator/med_io_mod.F90
+11 −3 mediator/med_map_mod.F90
+38 −8 mediator/med_phases_aofluxes_mod.F90
+46 −20 mediator/med_phases_history_mod.F90
+1 −1 mediator/med_phases_ocnalb_mod.F90
+39 −14 mediator/med_phases_post_glc_mod.F90
+138 −142 mediator/med_phases_prep_glc_mod.F90
+5 −1 mediator/med_phases_profile_mod.F90
+1 −1 mediator/med_phases_restart_mod.F90
+6 −0 ufs/CMakeLists.txt
+28 −83 ufs/flux_atmocn_mod.F90
+2 −2 ufs/glc_elevclass_mod.F90
+0 −0 ufs/perf_mod.F90
+3 −8 ufs/ufs_const_mod.F90
+2 −2 ufs/ufs_kind_mod.F90
+0 −7 util/CMakeLists.txt
+0 −50 util/Makefile
+0 −5 util/dtypes.h
+0 −387 util/genf90.pl
+0 −164 util/shr_abort_mod.F90
+0 −26 util/shr_log_mod.F90
+0 −17 util/shr_mem_mod.F90
+0 −2,217 util/shr_mpi_mod.F90
+0 −320 util/shr_sys_mod.F90
15 changes: 5 additions & 10 deletions CMEPS-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,11 @@ else()
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
12 changes: 4 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,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 @@ -214,13 +214,9 @@ if(CDEPS)
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 @@ -298,7 +294,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
2 changes: 1 addition & 1 deletion FV3
Submodule FV3 updated 2 files
+2 −2 .gitmodules
+1 −1 ccpp/physics
1 change: 0 additions & 1 deletion NEMS
Submodule NEMS deleted from d51fa5
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
Loading