From d97c5a081bd2aa278e2d661c69323e0429e43a8b Mon Sep 17 00:00:00 2001 From: "Kate.Friedman" Date: Mon, 11 Mar 2024 14:08:12 +0000 Subject: [PATCH] Rename DEBUG variable and add to RTD - Rename DEBUG to DEBUG_SCHEDULER. - Add note that it's PBS only and that it sets debug=true. - Add switch to documentation. Refs #619 --- docs/source/configure.rst | 2 ++ parm/config/gefs/config.base | 2 +- parm/config/gfs/config.base | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/source/configure.rst b/docs/source/configure.rst index 12c2f75a48..3ffd75e7f0 100644 --- a/docs/source/configure.rst +++ b/docs/source/configure.rst @@ -9,6 +9,8 @@ The global-workflow configs contain switches that change how the system runs. Ma +================+==================================+===============+=============+===================================================+ | APP | Model application | ATM | YES | See case block in config.base for options | +----------------+----------------------------------+---------------+-------------+---------------------------------------------------+ +| DEBUG_SCHEDULER| Debug option for PBS scheduler | NO | YES | Sets debug=true for additional logging | ++----------------+----------------------------------+---------------+-------------+---------------------------------------------------+ | DOIAU | Enable 4DIAU for control | YES | NO | Turned off for cold-start first half cycle | | | with 3 increments | | | | +----------------+----------------------------------+---------------+-------------+---------------------------------------------------+ diff --git a/parm/config/gefs/config.base b/parm/config/gefs/config.base index c7c578a737..59189a5e40 100644 --- a/parm/config/gefs/config.base +++ b/parm/config/gefs/config.base @@ -75,7 +75,7 @@ export NMV="/bin/mv" export NLN="/bin/ln -sf" export VERBOSE="YES" export KEEPDATA="NO" -export DEBUG="NO" # Only works on WCOSS2 +export DEBUG_SCHEDULER="NO" # PBS only; sets debug=true export CHGRP_RSTPROD="@CHGRP_RSTPROD@" export CHGRP_CMD="@CHGRP_CMD@" export NCDUMP="${NETCDF:-${netcdf_c_ROOT:-}}/bin/ncdump" diff --git a/parm/config/gfs/config.base b/parm/config/gfs/config.base index b1ace0954e..1b19bf3e9c 100644 --- a/parm/config/gfs/config.base +++ b/parm/config/gfs/config.base @@ -86,7 +86,7 @@ export NMV="/bin/mv" export NLN="/bin/ln -sf" export VERBOSE="YES" export KEEPDATA="NO" -export DEBUG="NO" # Only works on WCOSS2 +export DEBUG_SCHEDULER="NO" # PBS only; sets debug=true export CHGRP_RSTPROD="@CHGRP_RSTPROD@" export CHGRP_CMD="@CHGRP_CMD@" export NCDUMP="${NETCDF:-${netcdf_c_ROOT:-}}/bin/ncdump"