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

Update gsl/develop from develop 2021/05/31 #83

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
38 changes: 14 additions & 24 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,10 @@ jobs:
sudo docker rmi $(sudo docker image ls | grep -E -m1 '<none>' | awk '{ print $3 }')
sudo docker rmi $(sudo docker image ls | awk '/ubuntu-hpc/ { print $3 }')

- name: Prepare artifacts
run: |
cd tests/ci
sudo docker save ${{ needs.setup.outputs.img }} \
| gzip >${{ needs.setup.outputs.img }}.tar.gz
tar cvjf artifact.tar.bz2 ${{ needs.setup.outputs.img }}.tar.gz ci.sh ci.test

- uses: actions/upload-artifact@v2
with:
name: ${{ matrix.bld_set }}.artifact.tar.bz2
path: tests/ci/artifact.tar.bz2
name: ${{ matrix.bld_set }}.artifact
path: ~/fv3.tar.gz


wait:
Expand Down Expand Up @@ -162,24 +155,24 @@ jobs:
steps:
- name: Clean up in case of left-over files
run: |
rm -f artifact.tar.bz2 ${{ needs.setup.outputs.img }}.tar.gz
rm -rf ${{ github.workspace }} && mkdir -p ${{ github.workspace }}
docker ps -a --filter "name=my-container" | grep my-container >/dev/null 2>&1 \
&& docker rm my-container >/dev/null 2>&1 && d=$? || d=$?
docker image ls | grep ${{ needs.setup.outputs.img }} >/dev/null 2>&1 \
&& docker rmi ${{ needs.setup.outputs.img }} >/dev/null 2>&1 && d=$? || d=$?

- uses: actions/download-artifact@v2
- uses: actions/checkout@v2
with:
name: ${{ matrix.artifact }}.artifact.tar.bz2
submodules: recursive

- name: Prepare artifacts
run: |
tar xvjf artifact.tar.bz2 && rm -f artifact.tar.bz2
docker load --input ${{ needs.setup.outputs.img }}.tar.gz \
&& rm -f ${{ needs.setup.outputs.img }}.tar.gz
- uses: actions/download-artifact@v2
with:
name: ${{ matrix.artifact }}.artifact
path: ${{ github.workspace}}/tests

- name: Run utest
run: ./ci.sh -n ${{ matrix.name }} -r ${{ matrix.case }}
run: |
cd ${{ github.workspace }}/tests && tar -xvzf fv3.tar.gz && rm -f fv3.tar.gz
cd ${{ github.workspace }}/tests/ci
./ci.sh -n ${{ matrix.name }} -r ${{ matrix.case }}

- uses: actions/upload-artifact@v2
if: ${{ always() }}
Expand All @@ -190,8 +183,5 @@ jobs:
- name: Clean up
if: ${{ always() }}
run: |
rm -f ci.sh ci.test
docker stop my-container && docker rm my-container \
&& docker rmi ${{ needs.setup.outputs.img }}:latest
docker stop my-container && docker rm my-container
docker volume rm DataVolume
rm -f memory_stat
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
[submodule "CDEPS"]
path = CDEPS-interface/CDEPS
url = https://github.com/NOAA-EMC/CDEPS
branch = emc/develop
branch = develop
2 changes: 1 addition & 1 deletion 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 ATMW S2S S2SW DATM DATM_NEMS)
list(APPEND VALID_APPS ATM ATMW S2S S2SW NG-GODAS NG-GODAS-NEMSDATM)
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 Down
2 changes: 1 addition & 1 deletion FV3
Submodule FV3 updated 83 files
+4 −4 .gitmodules
+849 −227 atmos_model.F90
+2 −0 ccpp/config/ccpp_prebuild_config.py
+4 −4 ccpp/data/CCPP_typedefs.F90
+93 −42 ccpp/data/GFS_typedefs.F90
+118 −27 ccpp/data/GFS_typedefs.meta
+1 −1 ccpp/framework
+1 −1 ccpp/physics
+1 −0 ccpp/suites/suite_FV3_CPT_v0.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_coupled.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_couplednsst.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_csawmg.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_csawmgshoc.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_fv3wam.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_gfdlmp.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_gfdlmp_noahmp.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_gfdlmp_regional.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_gfdlmp_regional_c768.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_h2ophys.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_myj.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_ntiedtke.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_ozphys_2015.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_sas.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_satmedmf.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_satmedmf_coupled.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_satmedmfq.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_shinhong.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_stretched.xml
+1 −0 ccpp/suites/suite_FV3_GFS_2017_ysu.xml
+1 −0 ccpp/suites/suite_FV3_GFS_cpld_rasmgshoc.xml
+1 −0 ccpp/suites/suite_FV3_GFS_cpld_rasmgshocnsst.xml
+1 −0 ccpp/suites/suite_FV3_GFS_cpldnst_rasmgshoc.xml
+1 −0 ccpp/suites/suite_FV3_GFS_rasmgshoc.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v15.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v15_gf.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v15_gf_thompson.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v15_mynn.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v15_ras.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v15_rasmgshoc.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v15_thompson.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v15_thompson_mynn.xml
+1 −1 ccpp/suites/suite_FV3_GFS_v15_thompson_mynn_lam3km.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v15p2.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v15p2_RRTMGP.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v15p2_coupled.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v15p2_couplednsst.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v15p2_no_nsst.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v15plus.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v15plusras.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v16.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v16_RRTMGP.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v16_coupled.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v16_couplednsst.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v16_csawmg.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v16_flake.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v16_no_nsst.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v16_noahmp.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v16_ras.xml
+1 −0 ccpp/suites/suite_FV3_GFS_v16_thompson.xml
+2 −1 ccpp/suites/suite_FV3_GFS_v16_ugwpv1.xml
+1 −0 ccpp/suites/suite_FV3_GSD_SAR.xml
+1 −0 ccpp/suites/suite_FV3_GSD_noah.xml
+1 −0 ccpp/suites/suite_FV3_GSD_noah_mynnsfc.xml
+1 −0 ccpp/suites/suite_FV3_GSD_v0.xml
+1 −0 ccpp/suites/suite_FV3_GSD_v0_RRTMGP.xml
+1 −0 ccpp/suites/suite_FV3_GSD_v0_drag_suite.xml
+1 −0 ccpp/suites/suite_FV3_GSD_v0_mynnsfc.xml
+1 −0 ccpp/suites/suite_FV3_GSD_v0_unified_ugwp_suite.xml
+1 −0 ccpp/suites/suite_FV3_GSD_v0_unified_ugwp_suite_noah.xml
+1 −0 ccpp/suites/suite_FV3_HRRR.xml
+1 −0 ccpp/suites/suite_FV3_RAP.xml
+1 −0 ccpp/suites/suite_FV3_RRFS_v1beta.xml
+1 −0 ccpp/suites/suite_HAFS_v0_hwrf.xml
+1 −0 ccpp/suites/suite_HAFS_v0_hwrf_thompson.xml
+46 −57 cpl/module_cap_cpl.F90
+181 −215 cpl/module_cplfields.F90
+92 −155 fv3_cap.F90
+172 −98 io/FV3GFS_io.F90
+13 −9 io/post_gfs.F90
+11 −7 io/post_regional.F90
+12 −10 module_fcst_grid_comp.F90
+1 −1 module_fv3_config.F90
8 changes: 6 additions & 2 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 -no-prec-div -no-prec-sqrt")
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")
if(DEBUG_LINKMPI)
if(OPENMP)
set(CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -link_mpi=dbg_mt")
Expand All @@ -21,7 +21,11 @@ elseif(REPRO)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -O2 -debug minimal -fp-model consistent -qoverride-limits")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -debug minimal")
else()
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -O2 -debug minimal -fp-model source -qoverride-limits -qopt-prefetch=3 -no-prec-div -no-prec-sqrt")
if(32BIT)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -O2 -debug minimal -fp-model source -qoverride-limits -qopt-prefetch=3")
else()
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -O2 -debug minimal -fp-model source -qoverride-limits -qopt-prefetch=3 -no-prec-div -no-prec-sqrt")
endif()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -debug minimal")
set(FAST "-fast-transcendentals")
if(AVX2)
Expand Down
6 changes: 3 additions & 3 deletions cmake/configure_apps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ if(APP MATCHES "^(ATM|ATMW)$")
endif()
endif()

if(APP MATCHES "^(DATM|DATM_NEMS)$")
if(APP MATCHES "^(NG-GODAS|NG-GODAS-NEMSDATM)$")
set(CMEPS ON CACHE BOOL "Enable CMEPS" 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 "DATM_NEMS")
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 "DATM")
elseif(APP MATCHES "NG-GODAS")
set(CDEPS ON CACHE BOOL "Enable CDEPS" FORCE)
message("Configuring UFS app in (CDEPS) Data Atmosphere mode")
endif()
Expand Down
Loading