Skip to content

Commit

Permalink
Aqm bugfixes + New AQM Debug RT (#1505), INLINE_POST default (#1503),…
Browse files Browse the repository at this point in the history
… WCOSS2 MAPL Enable Tests (#1507) (#1505)

* Inline post is now compiled by default on all supported platforms

* Create Debug RT for AQM, Bring in fixes from debug testing and @rmontuoro small updates to AQM

* update wcoss2 module files with esmf/mapl and turn on gocart in coupled runs

* disable regional_atmaq_debug on jet: time out issue

Co-authored-by: Dusan Jovic <[email protected]>
Co-authored-by: Jun Wang <[email protected]>
Co-authored-by: jkbk2004 <[email protected]>
  • Loading branch information
4 people authored Dec 1, 2022
1 parent 3a8533c commit 7a1ce44
Show file tree
Hide file tree
Showing 31 changed files with 7,483 additions and 4,577 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ set(AVX OFF CACHE BOOL "Enable AVX-I instruction set")
set(SIMDMULTIARCH OFF CACHE BOOL "Enable multi-target SIMD instruction sets")
set(DEBUG OFF CACHE BOOL "Enable DEBUG mode")
set(DEBUG_LINKMPI ON CACHE BOOL "Enable linkmpi option when DEBUG mode is on")
set(INLINE_POST OFF CACHE BOOL "Enable inline post")
set(INLINE_POST ON CACHE BOOL "Enable inline post")
set(MULTI_GASES OFF CACHE BOOL "Enable MULTI_GASES")
set(MOVING_NEST OFF CACHE BOOL "Enable moving nest code")
set(OPENMP ON CACHE BOOL "Enable OpenMP threading")
Expand Down
1 change: 0 additions & 1 deletion cmake/configure_acorn.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +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)
set(AVX2 OFF CACHE BOOL "Enable AVX2 instruction set" FORCE)
1 change: 0 additions & 1 deletion cmake/configure_cheyenne.gnu.cmake
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
set(INLINE_POST ON CACHE BOOL "Enable inline post" FORCE)
1 change: 0 additions & 1 deletion cmake/configure_cheyenne.intel.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
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)
1 change: 0 additions & 1 deletion cmake/configure_expanse.intel.cmake
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
set(INLINE_POST ON CACHE BOOL "Enable inline post" FORCE)
set(PARALLEL_NETCDF ON CACHE BOOL "Enable parallel NetCDF" FORCE)
1 change: 0 additions & 1 deletion cmake/configure_gaea.intel.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +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)
set(MOM6_Extra_FORTRAN_FLAGS "-xsse2")
1 change: 0 additions & 1 deletion cmake/configure_hera.gnu.cmake
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
set(INLINE_POST ON CACHE BOOL "Enable inline post" FORCE)
set(PARALLEL_NETCDF ON CACHE BOOL "Enable parallel NetCDF" FORCE)
1 change: 0 additions & 1 deletion cmake/configure_hera.intel.cmake
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
set(INLINE_POST ON CACHE BOOL "Enable inline post" FORCE)
set(PARALLEL_NETCDF ON CACHE BOOL "Enable parallel NetCDF" FORCE)
1 change: 0 additions & 1 deletion cmake/configure_jet.intel.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
set(INLINE_POST ON CACHE BOOL "Enable inline post" FORCE)
set(PARALLEL_NETCDF ON CACHE BOOL "Enable parallel NetCDF" FORCE)
set(AVX2 OFF CACHE BOOL "Enable AVX2 instruction set" FORCE)
set(SIMDMULTIARCH ON CACHE BOOL "Enable multi-target SIMD instruction sets" FORCE)
1 change: 0 additions & 1 deletion cmake/configure_linux.gnu.cmake
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
set(INLINE_POST ON CACHE BOOL "Enable inline post" FORCE)
set(PARALLEL_NETCDF ON CACHE BOOL "Enable parallel NetCDF" FORCE)
1 change: 0 additions & 1 deletion cmake/configure_linux.intel.cmake
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
set(INLINE_POST ON CACHE BOOL "Enable inline post" FORCE)
set(PARALLEL_NETCDF ON CACHE BOOL "Enable parallel NetCDF" FORCE)
1 change: 0 additions & 1 deletion cmake/configure_macosx.gnu.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
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
Expand Down
1 change: 0 additions & 1 deletion cmake/configure_macosx.intel.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
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)
1 change: 0 additions & 1 deletion cmake/configure_orion.intel.cmake
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
set(INLINE_POST ON CACHE BOOL "Enable inline post" FORCE)
set(PARALLEL_NETCDF ON CACHE BOOL "Enable parallel NetCDF" FORCE)
1 change: 0 additions & 1 deletion cmake/configure_s4.intel.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
set(INLINE_POST ON CACHE BOOL "Enable inline post" FORCE)
set(AVX2 OFF CACHE BOOL "Enable AVX2 instruction set" FORCE)
set(AVX ON CACHE BOOL "Enable AVX2 instruction set" FORCE)
set(PARALLEL_NETCDF ON CACHE BOOL "Enable parallel NetCDF" FORCE)
1 change: 0 additions & 1 deletion cmake/configure_stampede.intel.cmake
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
set(INLINE_POST ON CACHE BOOL "Enable inline post" FORCE)
1 change: 0 additions & 1 deletion cmake/configure_wcoss2.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +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)
set(AVX2 OFF CACHE BOOL "Enable AVX2 instruction set" FORCE)
16 changes: 13 additions & 3 deletions modulefiles/ufs_wcoss2.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ load(pathJoin("netcdf", netcdf_ver))
pio_ver=os.getenv("pio_ver") or "2.5.7"
load(pathJoin("pio", pio_ver))

esmf_ver=os.getenv("esmf_ver") or "8.3.0b09"
load(pathJoin("esmf", esmf_ver))

fms_ver=os.getenv("fms_ver") or "2022.01"
load(pathJoin("fms", fms_ver))

Expand All @@ -66,6 +63,19 @@ load(pathJoin("sp", sp_ver))
w3emc_ver=os.getenv("w3emc_ver") or "2.9.2"
load(pathJoin("w3emc", w3emc_ver))

prepend_path("MODULEPATH", "/apps/dev/lmodules/intel/19.1.3.304")

gftl_shared_ver=os.getenv("gftl_shared_ver") or "1.5.0"
load(pathJoin("gftl_shared", gftl_shared_ver))

prepend_path("MODULEPATH", "/apps/dev/modulefiles/mpi/intel/19.1.3.304/cray-mpich/8.1.9")

esmf_ver=os.getenv("esmf_ver") or "8.3.0b09"
load(pathJoin("esmf", esmf_ver))

mapl_ver=os.getenv("mapl_ver") or "2.23.1-esmf-8.3.0b09"
load(pathJoin("mapl", mapl_ver))

setenv("CC", "cc")
setenv("CXX", "CC")
setenv("FC", "ftn")
Expand Down
16 changes: 13 additions & 3 deletions modulefiles/ufs_wcoss2.intel_debug.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ load(pathJoin("netcdf", netcdf_ver))
pio_ver=os.getenv("pio_ver") or "2.5.7"
load(pathJoin("pio", pio_ver))

esmf_ver=os.getenv("esmf_ver") or "8.3.0b09"
load(pathJoin("esmf", esmf_ver))

fms_ver=os.getenv("fms_ver") or "2022.01"
load(pathJoin("fms", fms_ver))

Expand All @@ -66,6 +63,19 @@ load(pathJoin("sp", sp_ver))
w3emc_ver=os.getenv("w3emc_ver") or "2.9.2"
load(pathJoin("w3emc", w3emc_ver))

prepend_path("MODULEPATH", "/apps/dev/lmodules/intel/19.1.3.304")

gftl_shared_ver=os.getenv("gftl_shared_ver") or "1.5.0"
load(pathJoin("gftl_shared", gftl_shared_ver))

prepend_path("MODULEPATH", "/apps/dev/modulefiles/mpi/intel/19.1.3.304/cray-mpich/8.1.9")

esmf_ver=os.getenv("esmf_ver") or "8.3.0b09-debug"
load(pathJoin("esmf", esmf_ver))

mapl_ver=os.getenv("mapl_ver") or "2.23.1-esmf-8.3.0b09"
load(pathJoin("mapl", mapl_ver))

setenv("CC", "cc")
setenv("CXX", "CC")
setenv("FC", "ftn")
Expand Down
Loading

0 comments on commit 7a1ce44

Please sign in to comment.