Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Changes for orion.
  • Loading branch information
EdwardSafford-NOAA committed Dec 19, 2022
1 parent 5820bd3 commit ad569dd
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/Conventional_Monitor/data_extract/ush/ConMon_DE.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ if [ -s $cnvstat -a -s $pgrbf00 -a -s $pgrbf06 ]; then
rm -f ${logfile}
fi

if [[ $MY_MACHINE = "hera" || $MY_MACHINE = "s4" ]]; then
if [[ $MY_MACHINE = "hera" || $MY_MACHINE = "s4" || $MY_MACHINE = "orion" ]]; then
$SUB -A $ACCOUNT --ntasks=1 --time=00:30:00 \
-p ${SERVICE_PARTITION} -J ${jobname} -o $C_LOGDIR/DE.${PDY}.${CYC}.log \
${HOMEgdas_conmon}/jobs/JGDAS_ATMOS_CONMON
Expand Down
12 changes: 7 additions & 5 deletions src/Conventional_Monitor/image_gen/ush/mk_horz_hist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
rm -f ${errfile}
fi

if [[ $MY_MACHINE = "hera" || $MY_MACHINE = "s4" || $MY_MACHINE = "jet" ]]; then
if [[ $MY_MACHINE = "hera" || $MY_MACHINE = "s4" || $MY_MACHINE = "jet" || $MY_MACHINE = "orion" ]]; then
${SUB} -A ${ACCOUNT} --ntasks=1 --time=00:20:00 \
-p ${SERVICE_PARTITION} -J ${jobname} -o ${logfile} ${plot_hist}

Expand All @@ -76,7 +76,7 @@
rm -f ${errfile}
fi

if [[ $MY_MACHINE = "hera" || $MY_MACHINE = "s4" || $MY_MACHINE = "jet" ]]; then
if [[ $MY_MACHINE = "hera" || $MY_MACHINE = "s4" || $MY_MACHINE = "jet" || $MY_MACHINE = "orion" ]]; then
${SUB} -A ${ACCOUNT} --ntasks=1 --time=00:20:00 \
-p ${SERVICE_PARTITION} -J ${jobname} -o ${logfile} ${plot_horz}

Expand All @@ -102,12 +102,14 @@
rm -f ${errfile}
fi

if [[ $MY_MACHINE = "hera" || $MY_MACHINE = "s4" || $MY_MACHINE = "jet" ]]; then
if [[ ${MY_MACHINE} = "hera" || ${MY_MACHINE} = "s4" || \
${MY_MACHINE} = "jet" || ${MY_MACHINE} = "orion" ]]; then
${SUB} -A ${ACCOUNT} --ntasks=1 --time=01:30:00 \
-p ${SERVICE_PARTITION} -J ${jobname} -o ${logfile} ${plot_horz_uv}

elif [[ $MY_MACHINE = "wcoss2" ]]; then
$SUB -V -q $JOB_QUEUE -A $ACCOUNT -o ${logfile} -e ${logfile} -l walltime=30:00 -N ${jobname} \
elif [[ ${MY_MACHINE} = "wcoss2" ]]; then
$SUB -V -q ${JOB_QUEUE} -A ${ACCOUNT} -o ${logfile} -e ${logfile} \
-l walltime=30:00 -N ${jobname} \
-l select=1:mem=500M ${plot_horz_uv}
fi

Expand Down
19 changes: 11 additions & 8 deletions src/Conventional_Monitor/image_gen/ush/mk_time_vert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ echo "--> mk_time_vert.sh"
rm -f $errfile
fi

if [[ $MY_MACHINE == "hera" || $MY_MACHINE == "s4" || $MY_MACHINE == "jet" ]]; then
if [[ ${MY_MACHINE} == "hera" || ${MY_MACHINE} == "s4" || \
${MY_MACHINE} == "jet" || ${MY_MACHINE} == "orion" ]]; then
${SUB} -A ${ACCOUNT} --ntasks=1 --time=00:15:00 \
-p ${SERVICE_PARTITION} -J ${jobname} -o ${logfile} ${pltfile}

elif [[ $MY_MACHINE = "wcoss2" ]]; then
elif [[ ${MY_MACHINE} = "wcoss2" ]]; then
echo "submitting $jobname"
$SUB -V -q $JOB_QUEUE -A $ACCOUNT -o ${logfile} -e ${logfile} -l walltime=50:00 -N ${jobname} \
-l select=1:mem=200M ${pltfile}
Expand All @@ -55,7 +56,8 @@ echo "--> mk_time_vert.sh"
rm -f $errfile
fi

if [[ $MY_MACHINE == "hera" || $MY_MACHINE == "s4" || $MY_MACHINE == "jet" ]]; then
if [[ ${MY_MACHINE} == "hera" || ${MY_MACHINE} == "s4" || \
${MY_MACHINE} == "jet" || ${MY_MACHINE} = "orion" ]]; then
if [[ ${type} == "uv" || ${type} == "u" || ${type} == "v" ]]; then
walltime="02:30:00"
else
Expand All @@ -65,15 +67,15 @@ echo "--> mk_time_vert.sh"
${SUB} -A ${ACCOUNT} --ntasks=1 --time=${walltime} \
-p ${SERVICE_PARTITION} -J ${jobname} -o ${logfile} ${pltfile}

elif [[ $MY_MACHINE = "wcoss2" ]]; then
elif [[ ${MY_MACHINE} = "wcoss2" ]]; then
if [[ ${type} == "uv" || ${type} == "u" || ${type} == "v" ]]; then
walltime="01:30:00"
else
walltime="50:00"
fi
echo "submitting $jobname"

$SUB -V -q $JOB_QUEUE -A $ACCOUNT -o ${logfile} -e ${logfile} -l walltime=${walltime}\
$SUB -V -q ${JOB_QUEUE} -A ${ACCOUNT} -o ${logfile} -e ${logfile} -l walltime=${walltime}\
-N ${jobname} -l select=1:mem=200M ${pltfile}
fi

Expand All @@ -99,7 +101,8 @@ echo "--> mk_time_vert.sh"
rm -f $errfile
fi

if [[ $MY_MACHINE == "hera" || $MY_MACHINE == "s4" || $MY_MACHINE == "jet" ]]; then
if [[ ${MY_MACHINE} == "hera" || ${MY_MACHINE} == "s4" || \
${MY_MACHINE} == "jet" || ${MY_MACHINE} = "orion" ]]; then
if [[ ${type} == "uv" || ${type} == "u" || ${type} == "v" ]]; then
walltime="00:50:00"
else
Expand All @@ -109,9 +112,9 @@ echo "--> mk_time_vert.sh"
${SUB} -A ${ACCOUNT} --ntasks=1 --time=${walltime} \
-p ${SERVICE_PARTITION} -J ${jobname} -o ${logfile} ${pltfile}

elif [[ $MY_MACHINE == "wcoss2" ]]; then
elif [[ ${MY_MACHINE} == "wcoss2" ]]; then
echo "submitting $jobname"
$SUB -V -q $JOB_QUEUE -A $ACCOUNT -o ${logfile} -e ${logfile} -l walltime=50:00 \
${SUB} -V -q ${JOB_QUEUE} -A ${ACCOUNT} -o ${logfile} -e ${logfile} -l walltime=50:00 \
-N ${jobname} -l select=1:mem=500M ${pltfile}

fi
Expand Down

0 comments on commit ad569dd

Please sign in to comment.