Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Work in progress.
  • Loading branch information
EdwardSafford-NOAA committed Aug 23, 2024
1 parent c215cd9 commit 55df627
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions driver/runObsMon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@ case ${MACHINE_ID} in
$SUB -q ${JOB_QUEUE} -A ${ACCOUNT} -o ${logfile} -e ${logfile} \
-v "PYTHONPATH=${PYTHONPATH}, PATH=${PATH}, HOMEobsmon=${HOMEobsmon}, COMOUT=${COMOUT}, \
MODEL=${MODEL}, PDY=${PDY}, cyc=${cyc}, DATAROOT=${DATAROOT}, APRUN_PY=${APRUN_PY}, \
MACHINE_ID=${MACHINE_ID}, ACCOUNT=${ACCOUNT}, JOB_QUEUE=${JOB_QUEUE}, SUB=${SUB},
OM_LOGS=${OM_LOGS}, YAML_FILE=${YAML_FILE}, CARTOPY_DATA_DIR=${CARTOPY_DATA_DIR}" \
MACHINE_ID=${MACHINE_ID}, ACCOUNT=${ACCOUNT}, JOB_QUEUE=${JOB_QUEUE}, SUB=${SUB}, \
OM_LOGS=${OM_LOGS}, YAML_FILE=${YAML_FILE}, CARTOPY_DATA_DIR=${CARTOPY_DATA_DIR}, \
OM_PLOTS=${OM_PLOTS}" \
-l select=1:mem=500mb -l walltime=0:05:00 -N ${jobname} ${jobfile}
;;
esac
Expand Down
1 change: 1 addition & 0 deletions parm/OM_config
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,6 @@ export PROJECT=${PROJECT:-$project}
export JOB_QUEUE=${JOB_QUEUE:-$queue}

export OM_LOGS="${ptmp}/logs/OM_logs"
export OM_PLOTS="${ptmp}/OM_plots"
export DATAROOT=${DATAROOT:-${stmp}}
export COMOUT=${COMOUT:-${ptmp}}
2 changes: 1 addition & 1 deletion scripts/exobsmon_plot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ if compgen -G "${DATA}/OM_PLOT*.yaml" > /dev/null; then
${SUB} -q $JOB_QUEUE -A $ACCOUNT -o ${logfile} -e ${logfile} \
-v "PYTHONPATH=${PYTHONPATH}, PATH=${PATH}, HOMEobsmon=${HOMEobsmon}, MODEL=${MODEL}, \
CNTRLobsmon=${CNTRLobsmon}, PARMobsmon=${PARMobsmon}, DATA=${DATA}, CARTOPY_DATA_DIR=${CARTOPY_DATA_DIR}, \
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}, cmdfile=${cmdfile}, ncpus=${ctr}" \
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}, cmdfile=${cmdfile}, ncpus=${ctr}, OM_PLOTS=${OM_PLOTS}" \
-l place=vscatter,select=1:ncpus=${ctr}:mem=${mem}gb:prepost=true,walltime=1:00:00 -N ${jobname} ${USHobsmon}/plot_wcoss2.sh
;;
esac
Expand Down
2 changes: 2 additions & 0 deletions ush/plot_wcoss2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ module list
if [ ! -z ${PBS_O_WORKDIR} ]; then cd ${PBS_O_WORKDIR}; fi

mpiexec -np ${ncpus} --cpu-bind core cfp ${cmdfile}

echo "AFTER CFP"

0 comments on commit 55df627

Please sign in to comment.