Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Begin case clean-up and rm unused files.
  • Loading branch information
EdwardSafford-NOAA committed Jul 21, 2023
1 parent ed3d86c commit c6b2aaf
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 1,389 deletions.
63 changes: 32 additions & 31 deletions parm/Mon_config
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
#---------------------------------------------------
# Get the root of the cloned GSI-monitor directory
#
readonly DIR_ROOT=$(cd "$(dirname "$(readlink -f -n "${BASH_SOURCE[0]}" )" )/.." && pwd -P)
export MY_GSI_MONITOR=$DIR_ROOT
readonly mon_dir_root=$(cd "$(dirname "$(readlink -f -n "${BASH_SOURCE[0]}" )" )/.." && pwd -P)
export MY_GSI_MONITOR=${mon_dir_root}


#---------------------------------------------------
# Determine machine name
#
COMPILER=${COMPILER:-intel}
source $DIR_ROOT/ush/detect_machine.sh
export COMPILER=${COMPILER:-intel}
source ${MY_GSI_MONITOR}/ush/detect_machine.sh
machine_id=`echo "${MACHINE_ID%%.*}"`
export MY_MACHINE=$machine_id
export MY_MACHINE=${machine_id}

#---------------------------------------------------
# Load modules from stack
Expand All @@ -30,9 +30,10 @@ export MY_MACHINE=$machine_id
# run-time modules. If the run-time mod idea passes muster
# then I'll open an issue for the change to those machines.
#
if [[ $MY_MACHINE = "wcoss2" || $MY_MACHINE = "hera" || $MY_MACHINE = "orion" || $MY_MACHINE = "s4" || $MY_MACHINE = "jet" ]]; then
source $DIR_ROOT/ush/module-setup.sh
module use $DIR_ROOT/modulefiles
if [[ ${MY_MACHINE} = "wcoss2" || ${MY_MACHINE} = "hera" || \
${MY_MACHINE} = "orion" || ${MY_MACHINE} = "s4" || ${MY_MACHINE} = "jet" ]]; then
source ${MY_GSI_MONITOR}/ush/module-setup.sh
module use ${MY_GSI_MONITOR}/modulefiles
module load ${MACHINE_ID}-run
module list
fi
Expand All @@ -41,9 +42,9 @@ case $MY_MACHINE in
s4)
export SUB=/usr/bin/sbatch
export SERVICE_PARTITION="serial"
tankdir="/data/users/$USER/monitor"
ptmp="/scratch/users/$USER"
stmp="/scratch/users/$USER"
tankdir="/data/users/${USER}/monitor"
ptmp="/scratch/users/${USER}"
stmp="/scratch/users/${USER}"
queue=""
project=""
account="star"
Expand All @@ -57,9 +58,9 @@ case $MY_MACHINE in
export SERVICE_PARTITION="service"
account="nesdis-rdo2"

tankdir="/lfs1/NESDIS/nesdis-rdo2/$USER/monitor"
ptmp="/lfs1/NESDIS/nesdis-rdo2/$USER/para/ptmp"
stmp="/lfs1/NESDIS/nesdis-rdo2/$USER/para/stmp"
tankdir="/lfs1/NESDIS/nesdis-rdo2/${USER}/monitor"
ptmp="/lfs1/NESDIS/nesdis-rdo2/${USER}/para/ptmp"
stmp="/lfs1/NESDIS/nesdis-rdo2/${USER}/para/stmp"
export BATCH_PARTITION="xjet"

export PARTITION_OZNMON=${PARTITION_OZNMON:-${BATCH_PARTITION}}
Expand All @@ -73,9 +74,9 @@ case $MY_MACHINE in
export SUB=/apps/slurm/default/bin/sbatch
export SERVICE_PARTITION="service"

tankdir="/scratch1/NCEPDEV/da/$USER/save/nbns"
ptmp="/scratch2/NCEPDEV/stmp3/$USER"
stmp="/scratch2/NCEPDEV/stmp1/$USER"
tankdir="/scratch1/NCEPDEV/da/${USER}/save/nbns"
ptmp="/scratch2/NCEPDEV/stmp3/${USER}"
stmp="/scratch2/NCEPDEV/stmp1/${USER}"
queue=""
project=""
account="da-cpu"
Expand All @@ -84,9 +85,9 @@ case $MY_MACHINE in
wcoss2)
export SUB="qsub"

tankdir="/lfs/h2/emc/da/noscrub/$USER/nbns"
ptmp="/lfs/h2/emc/ptmp/$USER"
stmp="/lfs/h2/emc/stmp/$USER"
tankdir="/lfs/h2/emc/da/noscrub/${USER}/nbns"
ptmp="/lfs/h2/emc/ptmp/${USER}"
stmp="/lfs/h2/emc/stmp/${USER}"
queue="dev"
project="GDAS-DEV"
account="GFS-DEV"
Expand All @@ -96,24 +97,24 @@ case $MY_MACHINE in
export SUB="sbatch" #/opt/slurm/bin/sbatch
export SERVICE_PARTITION="orion"

tankdir="/work/noaa/da/$USER/nbns"
ptmp="/work2/noaa/stmp/$USER"
stmp="/work/noaa/stmp/$USER"
tankdir="/work/noaa/da/${USER}/nbns"
ptmp="/work2/noaa/stmp/${USER}"
stmp="/work/noaa/stmp/${USER}"
queue=""
project=""
account="da-cpu"
esac


export ACCOUNT=${ACCOUNT:-$account}
export PROJECT=${PROJECT:-$project}
export JOB_QUEUE=${JOB_QUEUE:-$queue}
export ACCOUNT=${ACCOUNT:-${account}}
export PROJECT=${PROJECT:-${project}}
export JOB_QUEUE=${JOB_QUEUE:-${queue}}

export MON_PTMP=${MON_PTMP:-$ptmp}
export MON_STMP=${MON_STMP:-$stmp}
export MON_LOGDIR=${MON_LOGDIR:-$ptmp/logs}
export MON_PTMP=${MON_PTMP:-${ptmp}}
export MON_STMP=${MON_STMP:-${stmp}}
export MON_LOGDIR=${MON_LOGDIR:-${ptmp}/logs}
export MON_USH=${MON_USH:-${MY_GSI_MONITOR}/ush}
export TANKDIR=${TANKDIR:-$tankdir}
export TANKDIR=${TANKDIR:-${tankdir}}

export WEBUSER=${WEBUSER:-esafford}
export WEBSVR=${WEBSVR:-emcrzdm}
Expand All @@ -128,5 +129,5 @@ export STNMAP=`which stnmap`
export WGRIB2=`which wgrib2`
export RSYNC=`which rsync`

export GSI_MON_BIN=$MY_GSI_MONITOR/install/bin
export GSI_MON_BIN=${MY_GSI_MONITOR}/install/bin

264 changes: 0 additions & 264 deletions src/Radiance_Monitor/data_extract/ush/RadMon_DE_glb.sh

This file was deleted.

Loading

0 comments on commit c6b2aaf

Please sign in to comment.