Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Clean up on wcoss2.
  • Loading branch information
EdwardSafford-NOAA committed Aug 16, 2024
1 parent cb524fa commit 035ffc7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
6 changes: 0 additions & 6 deletions driver/runObsMon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,6 @@ case ${MACHINE_ID} in
-J ${jobname} --partition service -o ${logfile} ${jobfile}
;;

# orion|hercules)
# echo "on orion"
# ${SUB} --account ${ACCOUNT} --ntasks=1 --mem=400M --time=0:05:00 \
# -J ${jobname} --partition service -o ${logfile} ${jobfile}
# ;;

wcoss2)
$SUB -q ${JOB_QUEUE} -A ${ACCOUNT} -o ${logfile} -e ${logfile} \
-v "PYTHONPATH=${PYTHONPATH}, PATH=${PATH}, HOMEobsmon=${HOMEobsmon}, COMOUT=${COMOUT}, \
Expand Down
6 changes: 2 additions & 4 deletions jobs/JMON_PLOT_OBS
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ if [[ -e "${pgmout}" ]] ; then
fi

####################
# Remove workspace
# Remove workspace -- this will have to be a separate job that runs
# after the OM_plot job is complete.
####################
#KEEPDATA=${KEEPDATA:-"NO"}
#cd ${DATAROOT}
#[[ ${KEEPDATA} = "NO" ]] && rm -rf ${DATA}
5 changes: 2 additions & 3 deletions parm/OM_config
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ export JOBSobsmon=${om_dir_root}/jobs
source ${om_dir_root}/ush/detect_machine.sh
export MACHINE_ID=`echo "${MACHINE_ID%%.*}"`

module use ${HOMEobsmon}/modulefiles

case ${MACHINE_ID} in

hera)
Expand All @@ -21,7 +23,6 @@ case ${MACHINE_ID} in
project=""
account="da-cpu"
aprun_py="python"
module use ${HOMEobsmon}/modulefiles
module load obs-monitor/hera
;;

Expand All @@ -33,7 +34,6 @@ case ${MACHINE_ID} in
queue="dev"
project="GDAS-DEV"
account="GFS-DEV"
module use ${HOMEobsmon}/modulefiles
module load obs-monitor/wcoss2
aprun_py=`which python`
;;
Expand All @@ -48,7 +48,6 @@ case ${MACHINE_ID} in
project=""
account="da-cpu"
aprun_py="python"
module use ${HOMEobsmon}/modulefiles
module load obs-monitor/orion
;;
esac
Expand Down
2 changes: 1 addition & 1 deletion scripts/exobsmon_plot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ if compgen -G "${DATA}/OM_PLOT*.yaml" > /dev/null; then
;;

wcoss2)
mem=$((4*${ctr}))
mem=$((8*${ctr}))
echo "submitting ${jobname} on wcoss2, ctr = $ctr, mem = $mem, cmdfile = ${cmdfile}"

${SUB} -q $JOB_QUEUE -A $ACCOUNT -o ${logfile} -e ${logfile} \
Expand Down

0 comments on commit 035ffc7

Please sign in to comment.