Skip to content

Commit

Permalink
Revert "Merge branch 'develop' of https://github.com/ufs-community/uf…
Browse files Browse the repository at this point in the history
…s-weather-model into feature/rad-fix-new"

This reverts commit cf66a90, reversing
changes made to 49445ac.
  • Loading branch information
LarissaReames-NOAA committed Jan 13, 2025
1 parent cf66a90 commit 827564e
Show file tree
Hide file tree
Showing 129 changed files with 4,193 additions and 3,607 deletions.
5 changes: 2 additions & 3 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,10 @@ Please delete what is not needed.
- [ ] Orion
- [ ] Hercules
- [ ] Jet
- [ ] GaeaC5
- [ ] GaeaC6
- [ ] Gaea
- [ ] Derecho
- WCOSS2
- [ ] Dogwood/Cactus
- [ ] Acorn
- [ ] CI
- [ ] opnReqTest (complete task if unnecessary)
- [ ] opnReqTest (complete task if unnecessary)
2 changes: 1 addition & 1 deletion CDEPS-interface/CDEPS
Submodule CDEPS updated 69 files
+4 −4 .github/workflows/extbuild.yml
+0 −3 .gitmodules
+18 −1 CMakeLists.txt
+25 −43 cime_config/buildlib
+0 −21 cime_config/stream_cdeps.py
+1 −2 cime_config/stream_definition_v2.0.xsd
+150 −0 cime_config/testdefs/testlist_cdeps.xml
+77 −63 datm/atm_comp_nuopc.F90
+5 −12 datm/cime_config/buildnml
+2 −13 datm/cime_config/config_component.xml
+7 −40 datm/cime_config/namelist_definition_datm.xml
+9 −334 datm/cime_config/stream_definition_datm.xml
+34 −39 datm/cime_config/testdefs/testlist_datm.xml
+38 −0 datm/datm_datamode_clmncep_mod.F90
+39 −12 datm/datm_datamode_core2_mod.F90
+41 −2 datm/datm_datamode_cplhist_mod.F90
+40 −2 datm/datm_datamode_era5_mod.F90
+39 −0 datm/datm_datamode_gefs_mod.F90
+39 −18 datm/datm_datamode_jra_mod.F90
+39 −0 datm/datm_datamode_simple_mod.F90
+0 −34 dglc/CMakeLists.txt
+0 −1 dglc/cime_config/buildlib
+0 −197 dglc/cime_config/buildnml
+0 −11 dglc/cime_config/config_archive.xml
+0 −92 dglc/cime_config/config_component.xml
+0 −140 dglc/cime_config/namelist_definition_dglc.xml
+0 −49 dglc/cime_config/stream_definition_dglc.xml
+0 −42 dglc/cime_config/testdefs/testlist_dglc.xml
+0 −13 dglc/cime_config/user_nl_dglc
+0 −33 dglc/cime_config/user_nl_dglc_streams
+0 −697 dglc/dglc_datamode_noevolve_mod.F90
+0 −842 dglc/glc_comp_nuopc.F90
+4 −6 dice/cime_config/testdefs/testlist_dice.xml
+6 −12 dice/dice_datamode_cplhist_mod.F90
+9 −12 dice/dice_datamode_ssmi_mod.F90
+10 −16 dice/ice_comp_nuopc.F90
+2 −3 dlnd/cime_config/testdefs/testlist_dlnd.xml
+10 −19 dlnd/lnd_comp_nuopc.F90
+1 −4 doc/source/datm.rst
+0 −117 doc/source/dglc.rst
+0 −1 doc/source/index.rst
+1 −2 doc/source/introduction.rst
+1 −3 doc/source/streams.rst
+0 −2 docn/CMakeLists.txt
+2 −6 docn/cime_config/config_component.xml
+1 −5 docn/cime_config/namelist_definition_docn.xml
+1 −99 docn/cime_config/stream_definition_docn.xml
+7 −10 docn/cime_config/testdefs/testlist_docn.xml
+39 −0 docn/docn_datamode_copyall_mod.F90
+39 −0 docn/docn_datamode_cplhist_mod.F90
+44 −0 docn/docn_datamode_iaf_mod.F90
+0 −221 docn/docn_datamode_multilev_dom_mod.F90
+0 −186 docn/docn_datamode_multilev_mod.F90
+9 −15 docn/docn_datamode_som_mod.F90
+35 −77 docn/ocn_comp_nuopc.F90
+2 −4 drof/cime_config/config_component.xml
+1 −2 drof/cime_config/namelist_definition_drof.xml
+0 −32 drof/cime_config/stream_definition_drof.xml
+2 −3 drof/cime_config/testdefs/testlist_drof.xml
+11 −18 drof/rof_comp_nuopc.F90
+4 −16 dshr/dshr_dfield_mod.F90
+23 −16 dshr/dshr_mod.F90
+2 −3 dwav/cime_config/testdefs/testlist_dwav.xml
+9 −17 dwav/wav_comp_nuopc.F90
+1 −2 share/CMakeLists.txt
+0 −874 share/nuopc_shr_methods.F90
+3 −6 streams/dshr_methods_mod.F90
+18 −50 streams/dshr_strdata_mod.F90
+8 −8 streams/dshr_stream_mod.F90
11 changes: 1 addition & 10 deletions CDEPS-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,6 @@ target_include_directories(dwav PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY
target_link_libraries(dwav PRIVATE dshr share streams)
target_link_libraries(dwav PRIVATE esmf)

# CDEPS/dglc
add_library(dglc OBJECT ${cdeps_dglc_files})
add_dependencies(dglc share streams dshr)
set_target_properties(dglc PROPERTIES Fortran_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/mod)
target_include_directories(dglc PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/mod>)
target_link_libraries(dglc PRIVATE dshr share streams)
target_link_libraries(dglc PRIVATE esmf PIO::PIO_Fortran)

# CDEPS
add_library(cdeps STATIC $<TARGET_OBJECTS:share>
$<TARGET_OBJECTS:streams>
Expand All @@ -112,8 +104,7 @@ add_library(cdeps STATIC $<TARGET_OBJECTS:share>
$<TARGET_OBJECTS:dlnd>
$<TARGET_OBJECTS:docn>
$<TARGET_OBJECTS:drof>
$<TARGET_OBJECTS:dwav>
$<TARGET_OBJECTS:dglc>)
$<TARGET_OBJECTS:dwav>)
add_library(cdeps::cdeps ALIAS cdeps)
target_include_directories(cdeps PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/mod>
$<INSTALL_INTERFACE:mod>)
Expand Down
8 changes: 0 additions & 8 deletions CDEPS-interface/cdeps_files.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ list(APPEND cdeps_share_files
CDEPS/share/shr_timer_mod.F90
CDEPS/share/shr_file_mod.F90
CDEPS/share/shr_nl_mod.F90
CDEPS/share/nuopc_shr_methods.F90
)

list(APPEND cdeps_streams_files
Expand Down Expand Up @@ -69,8 +68,6 @@ list(APPEND cdeps_docn_files
CDEPS/docn/docn_datamode_iaf_mod.F90
CDEPS/docn/docn_datamode_som_mod.F90
CDEPS/docn/docn_datamode_cplhist_mod.F90
CDEPS/docn/docn_datamode_multilev_mod.F90
CDEPS/docn/docn_datamode_multilev_dom_mod.F90
CDEPS/docn/docn_import_data_mod.F90
CDEPS/docn/ocn_comp_nuopc.F90
)
Expand All @@ -82,8 +79,3 @@ list(APPEND cdeps_drof_files
list(APPEND cdeps_dwav_files
CDEPS/dwav/wav_comp_nuopc.F90
)

list(APPEND cdeps_dglc_files
CDEPS/dglc/dglc_datamode_noevolve_mod.F90
CDEPS/dglc/glc_comp_nuopc.F90
)
2 changes: 1 addition & 1 deletion CMEPS-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ list(APPEND _ufs_util_files
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/shr_kind_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/ufs/cdeps_share/shr_assert_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/ufs/cdeps_share/shr_infnan_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/nuopc_shr_methods.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/ufs/cdeps_share/shr_is_restart_fh_mod.F90)

list(APPEND _mediator_files
Expand All @@ -67,6 +66,7 @@ list(APPEND _mediator_files
CMEPS/mediator/med_phases_prep_ocn_mod.F90
CMEPS/mediator/esmFlds.F90
CMEPS/mediator/med.F90
CMEPS/mediator/med_time_mod.F90
CMEPS/mediator/med_phases_ocnalb_mod.F90
CMEPS/mediator/med_phases_prep_wav_mod.F90
CMEPS/mediator/med_utils_mod.F90
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 0 additions & 4 deletions cmake/configure_gaeac6.intel.cmake

This file was deleted.

2 changes: 0 additions & 2 deletions cmake/configure_gaeac6.intelllvm.cmake

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ help([[
on the NOAA RDHPC machine Gaea C5 using Intel-2023.1.0.
]])

whatis([===[Loads libraries needed for building the UFS Weather Model on Gaea C5 ]===])
whatis([===[Loads libraries needed for building the UFS Weather Model on Gaea ]===])

prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/spack-stack-1.6.0/envs/fms-2024.01/install/modulefiles/Core")

Expand All @@ -30,4 +30,4 @@ unload("cray-libsci")
setenv("CC","cc")
setenv("CXX","CC")
setenv("FC","ftn")
setenv("CMAKE_Platform","gaeac5.intel")
setenv("CMAKE_Platform","gaea.intel")
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ help([[
on the NOAA RDHPC machine Gaea C5 using Intel-2023.1.0.
]])

whatis([===[Loads libraries needed for building the UFS Weather Model on Gaea C5]===])
whatis([===[Loads libraries needed for building the UFS Weather Model on Gaea ]===])

prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/spack-stack-1.6.0/envs/fms-2024.01/install/modulefiles/Core")

Expand Down Expand Up @@ -36,4 +36,4 @@ setenv("I_MPI_F90", "ifx")
setenv("CC","cc")
setenv("CXX","CC")
setenv("FC","ftn")
setenv("CMAKE_Platform","gaeac5.intelllvm")
setenv("CMAKE_Platform","gaea.intelllvm")
33 changes: 0 additions & 33 deletions modulefiles/ufs_gaeac6.intel.lua

This file was deleted.

40 changes: 0 additions & 40 deletions modulefiles/ufs_gaeac6.intelllvm.lua

This file was deleted.

9 changes: 2 additions & 7 deletions tests-dev/ufs_test_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,8 @@ function set_run_task() {
source default_vars.sh
source rt_utils.sh
source "${PATHRT}"/tests/"${TEST_NAME}"
#jkim compute_petbounds_and_tasks
if [[ ${ESMF_THREADING} == true ]]; then
compute_petbounds_and_tasks_esmf_threading
else
compute_petbounds_and_tasks_traditional_threading
fi

compute_petbounds_and_tasks

TPN=$(( TPN / THRD ))
NODES=$(( TASKS / TPN ))
if (( NODES * TPN < TASKS )); then
Expand Down
2 changes: 1 addition & 1 deletion tests/bl_date.conf
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export BL_DATE=20241230
export BL_DATE=20241206
16 changes: 12 additions & 4 deletions tests/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,7 @@ case ${MACHINE_ID} in
;;
*)
# Activate lua environment for gaea c5
if [[ ${MACHINE_ID} == gaeac5 ]]; then
module reset
fi
if [[ ${MACHINE_ID} == gaeac6 ]]; then
if [[ ${MACHINE_ID} == gaea ]]; then
module reset
elif [[ ${MACHINE_ID} == hercules ]]; then
module purge
Expand Down Expand Up @@ -100,6 +97,17 @@ SUITES=$(grep -Po "\-DCCPP_SUITES=\K[^ ]*" <<< "${MAKE_OPT}")
export SUITES
set -ex

# Valid applications
if [[ ${MACHINE_ID} != gaea ]] || [[ ${RT_COMPILER} != intelllvm ]]; then # skip MOM6SOLO on gaea with intelllvm
if [[ "${MAKE_OPT}" == *"-DAPP=S2S"* ]]; then
CMAKE_FLAGS+=" -DMOM6SOLO=ON"
fi

if [[ "${MAKE_OPT}" == *"-DAPP=NG-GODAS"* ]]; then
CMAKE_FLAGS+=" -DMOM6SOLO=ON"
fi
fi

CMAKE_FLAGS=$(set -e; trim "${CMAKE_FLAGS}")
echo "CMAKE_FLAGS = ${CMAKE_FLAGS}"

Expand Down
Loading

0 comments on commit 827564e

Please sign in to comment.