Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…her-model into cloud_cover_xr
  • Loading branch information
climbfuji committed Dec 17, 2021
2 parents da0d41f + be9968d commit dd6ab96
Show file tree
Hide file tree
Showing 49 changed files with 3,437 additions and 1,841 deletions.
4 changes: 0 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
#branch = develop
url = https://github.com/climbfuji/fv3atm
branch = cloud_cover_xr
[submodule "NEMS"]
path = NEMS
url = https://github.com/NOAA-EMC/NEMS
branch = develop
[submodule "WW3"]
path = WW3
url = https://github.com/NOAA-EMC/WW3
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
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

0 comments on commit dd6ab96

Please sign in to comment.