Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to Hercules #107

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ GSI Monitoring Tools

These tools monitor the Gridpoint Statistical Interpolation (GSI) package's data assimiliation, detecting
and reporting missing data sources, low observational counts, and high penalty values. These machines
are supported: wcoss2, hera, orion, jet, s4.
are supported: wcoss2, hera, hercules, orion, jet, s4.

Suite includes:
```
Expand Down
21 changes: 21 additions & 0 deletions modulefiles/hercules.intel-run.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
help([[
]])

prepend_path("MODULEPATH", "/work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.6.0/envs/gsi-addon-env/install/modulefiles/Core")

local stack_intel_ver=os.getenv("stack_intel_ver") or "2021.9.0"
local stack_impi_ver=os.getenv("stack_impi_ver") or "2021.9.0"
local grads_ver=os.getenv("grads_ver") or "2.2.1"
local prod_util_ver=os.getenv("prod_util_ver") or "1.2.2"

-- wgrib2 is a newer version on Hercules
setenv("wgrib2_ver", "3.1.1")

load(pathJoin("stack-intel", stack_intel_ver))
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver))
load(pathJoin("grads", grads_ver))
load(pathJoin("prod_util", prod_util_ver))

load("common-run")

whatis("Description: GSI Monitoring run-time environment on Hercules")
16 changes: 16 additions & 0 deletions modulefiles/hercules.intel.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
help([[
]])

prepend_path("MODULEPATH", "/work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.6.0/envs/gsi-addon-env/install/modulefiles/Core")

local stack_intel_ver=os.getenv("stack_intel_ver") or "2021.9.0"
local stack_impi_ver=os.getenv("stack_impi_ver") or "2021.9.0"
local cmake_ver=os.getenv("cmake_ver") or "3.23.1"

load(pathJoin("stack-intel", stack_intel_ver))
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver))
load(pathJoin("cmake", cmake_ver))

load("common")

whatis("Description: GSI Monitoring environment on Hercules with Intel Compilers")
14 changes: 13 additions & 1 deletion parm/Mon_config
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ 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
if [[ $MY_MACHINE = "wcoss2" || $MY_MACHINE = "hera" || $MY_MACHINE = "orion" || \
$MY_MACHINE = "hercules" || $MY_MACHINE = "s4" || $MY_MACHINE = "jet" ]]; then
source $DIR_ROOT/ush/module-setup.sh
module use $DIR_ROOT/modulefiles
module load ${MACHINE_ID}.${COMPILER}-run
Expand Down Expand Up @@ -96,6 +97,17 @@ 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"
queue=""
project=""
account="da-cpu"

hercules)
export SUB="sbatch" #/opt/slurm/bin/sbatch
export SERVICE_PARTITION="hercules"

tankdir="/work/noaa/da/$USER/nbns"
ptmp="/work2/noaa/stmp/$USER"
stmp="/work/noaa/stmp/$USER"
Expand Down
3 changes: 2 additions & 1 deletion src/Conventional_Monitor/data_extract/ush/ConMon_DE.sh
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ if [ -s $cnvstat -a -s $pgrbf00 -a -s $pgrbf06 ]; then
rm -f ${logfile}
fi

if [[ $MY_MACHINE = "hera" || $MY_MACHINE = "s4" || $MY_MACHINE = "orion" ]]; then
if [[ $MY_MACHINE = "hera" || $MY_MACHINE = "s4" ||
$MY_MACHINE = "orion" || $MY_MACHINE = "hercules" ]]; 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
13 changes: 8 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 @@ -56,8 +56,9 @@
rm -f ${errfile}
fi

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

Expand All @@ -83,8 +84,9 @@
rm -f ${errfile}
fi

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

Expand All @@ -111,7 +113,8 @@
fi

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

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

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

Expand All @@ -55,8 +56,9 @@ echo "--> mk_time_vert.sh"
rm -f $errfile
fi

if [[ ${MY_MACHINE} == "hera" || ${MY_MACHINE} == "s4" || \
${MY_MACHINE} == "jet" || ${MY_MACHINE} == "orion" ]]; then
if [[ ${MY_MACHINE} == "hera" || ${MY_MACHINE} == "s4" ||
${MY_MACHINE} == "jet" || ${MY_MACHINE} == "orion" ||
${MY_MACHINE} == "hercules" ]]; then
if [[ ${type} == "uv" || ${type} == "u" || ${type} == "v" ]]; then
walltime="02:30:00"
else
Expand Down Expand Up @@ -99,8 +101,9 @@ echo "--> mk_time_vert.sh"
rm -f $errfile
fi

if [[ ${MY_MACHINE} == "hera" || ${MY_MACHINE} == "s4" || \
${MY_MACHINE} == "jet" || ${MY_MACHINE} = "orion" ]]; then
if [[ ${MY_MACHINE} == "hera" || ${MY_MACHINE} == "s4" ||
${MY_MACHINE} == "jet" || ${MY_MACHINE} = "orion" ||
${MY_MACHINE} == "hercules" ]]; then
if [[ ${type} == "uv" || ${type} == "u" || ${type} == "v" ]]; then
walltime="00:50:00"
else
Expand Down
2 changes: 1 addition & 1 deletion src/Minimization_Monitor/README
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ README MinMon package

The Minimization Monitor (MinMon) provides a means to visualize and report
on the performance of the GSI minimization function. The package
is supported on wcoss2, hera, orion, cheyenne, jet, and s4 machines.
is supported on wcoss2, hera, orion, hercules, cheyenne, jet, and s4 machines.

The package is organized in two main processes: data_extract and image_gen
(image generation). The data extract piece is now located in the
Expand Down
2 changes: 1 addition & 1 deletion src/Ozone_Monitor/README
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ README OznMon package
The OznMon (ozone monitoring) package can be used to extract information
from ozone diagnostic files and generate image plots to visualize the results.
The package also may optionally perform data validation and error checking.
The package is supported on wcoss2, hera, orion, cheyenne, jet, and s4
The package is supported on wcoss2, hera, hercules, orion, cheyenne, jet, and s4
machines.

The package is organized in two processes, the data_extract and image_gen
Expand Down
4 changes: 2 additions & 2 deletions src/Ozone_Monitor/data_xtrct/ush/OznMon_CP.sh
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ if compgen -G "${OZN_DATA_DIR}/time/*${PDATE}*.ieee_d*" > /dev/null; then
$SUB --account=${ACCOUNT} --time=10 -J ${jobname} -D . \
-o ${logfile} --ntasks=1 --mem=5g ${job}

elif [[ $MY_MACHINE = "orion" ]]; then
echo submit job on orion
elif [[ $MY_MACHINE = "orion" || $MY_MACHINE = "hercules" ]]; then
echo submit job on orion or hercules
$SUB --account=${ACCOUNT} --time=10 -J ${jobname} -D . \
-o ${logfile} --ntasks=1 --mem=5g ${job}
fi
Expand Down
2 changes: 1 addition & 1 deletion src/Ozone_Monitor/image_gen/ush/mk_horiz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ for dsrc in ${data_source}; do
fi

if [[ ${MY_MACHINE} = "hera" || ${MY_MACHINE} = "jet" || ${MY_MACHINE} = "s4" ||
${MY_MACHINE} = "orion" ]]; then
${MY_MACHINE} = "orion" || ${MY_MACHINE} = "hercules" ]]; then
echo "$ctr ${OZN_IG_SCRIPTS}/plot_horiz.sh $type $suffix '$list' $dsrc" >> $cmdfile
else
echo "${OZN_IG_SCRIPTS}/plot_horiz.sh $type $suffix '$list' $dsrc" >> $cmdfile
Expand Down
6 changes: 4 additions & 2 deletions src/Ozone_Monitor/image_gen/ush/mk_summary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ for ptype in ${data_source}; do
if [[ $type != "omi_aura" && $type != "gome_metop-a" && \
$type != "gome_metop-b" && $type != "ompstc8_npp" && $type != "ompstc8_n20" ]]; then
if [[ ${MY_MACHINE} = "hera" || ${MY_MACHINE} = "jet" ||
${MY_MACHINE} = "s4" || ${MY_MACHINE} = "orion" ]]; then
${MY_MACHINE} = "s4" || ${MY_MACHINE} = "orion" ||
${MY_MACHINE} = "hercules" ]]; then
echo "${ctr} ${OZN_IG_SCRIPTS}/plot_summary.sh $type $ptype" >> $cmdfile
else
echo "${OZN_IG_SCRIPTS}/plot_summary.sh $type $ptype" >> $cmdfile
Expand All @@ -95,7 +96,8 @@ for ptype in ${data_source}; do
fi


if [[ ${MY_MACHINE} = "hera" || ${MY_MACHINE} = "s4" || ${MY_MACHINE} = "orion" ]]; then
if [[ ${MY_MACHINE} = "hera" || ${MY_MACHINE} = "s4" || ${MY_MACHINE} = "orion" ||
${MY_MACHINE} = "hercules" ]]; then

$SUB --account ${ACCOUNT} -n $ctr -o ${logf} -D . -J ${job} --time=10 \
--wrap "srun -l --multi-prog ${cmdfile}"
Expand Down
6 changes: 4 additions & 2 deletions src/Ozone_Monitor/image_gen/ush/mk_time.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ for dsrc in ${data_source}; do
>$cmdfile
for type in ${SATYPE}; do
if [[ ${MY_MACHINE} = "hera" || ${MY_MACHINE} = "jet" ||
${MY_MACHINE} = "s4" || ${MY_MACHINE} = "orion" ]]; then
${MY_MACHINE} = "s4" || ${MY_MACHINE} = "orion" ||
${MY_MACHINE} = "hercules" ]]; then
echo "${ctr} ${OZN_IG_SCRIPTS}/plot_time.sh $type $suffix '$list' $dsrc" >> $cmdfile
((ctr=ctr+1))
else
Expand All @@ -71,7 +72,8 @@ for dsrc in ${data_source}; do
rm -f $errf
fi

if [[ ${MY_MACHINE} = "hera" || ${MY_MACHINE} = "s4" || ${MY_MACHINE} = "orion" ]]; then
if [[ ${MY_MACHINE} = "hera" || ${MY_MACHINE} = "s4" ||
${MY_MACHINE} = "orion" || ${MY_MACHINE} = "hercules" ]]; then

$SUB --account ${ACCOUNT} -n $ctr -o ${logf} -D . -J ${job} --time=10 \
--wrap "srun -l --multi-prog ${cmdfile}"
Expand Down
2 changes: 1 addition & 1 deletion src/Radiance_Monitor/README
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The RadMon (radiance monitoring) package can be used to extract data from
radiance diagnostic files and visualize the results by plotting the data using
javascript or optionally GrADS. The package also may optionally perform data
validation and error checking. The package is supported on wcoss2, hera,
orion, cheyenne, jet, and s4 machines.
orion, hercules, cheyenne, jet, and s4 machines.

The package is organized in two main processes, data_extract and image_gen
(image generation). There is also an nwprod directory, which contains the lower
Expand Down
3 changes: 2 additions & 1 deletion src/Radiance_Monitor/data_extract/ush/RadMon_DE_glb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ if [[ -e ${radstat} && -e ${biascr} ]]; then
fi


if [[ $MY_MACHINE = "hera" || $MY_MACHINE = "orion" ]]; then
if [[ $MY_MACHINE = "hera" || $MY_MACHINE = "orion" ||
$MY_MACHINE = "hercules" ]]; then
$SUB --account=${ACCOUNT} --time=10 -J ${jobname} -D . \
-o ${logfile} --ntasks=1 --mem=5g ${job}

Expand Down
13 changes: 8 additions & 5 deletions src/Radiance_Monitor/image_gen/ush/mk_angle_plots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ while [[ $ctr -le ${satarr_len} ]]; do
# to the cmdfile
#
if [[ ${MY_MACHINE} = "hera" || ${MY_MACHINE} = "jet" ||
${MY_MACHINE} = "s4" || ${MY_MACHINE} = "orion" ]]; then
${MY_MACHINE} = "s4" || ${MY_MACHINE} = "orion" ||
${MY_MACHINE} = "hercules" ]]; then
echo "${itemctr} ${IG_SCRIPTS}/plot_angle.sh ${type} ${suffix} '${list}'" >> ${cmdfile}
else
echo "${IG_SCRIPTS}/plot_angle.sh ${type} ${suffix} '${list}'" >> ${cmdfile}
Expand All @@ -252,7 +253,8 @@ while [[ $ctr -le ${satarr_len} ]]; do
errfile=${R_LOGDIR}/plot_angle_${suffix}_${jobctr}.err

echo "TASKS= $tasks"
if [[ ${MY_MACHINE} = "hera" || ${MY_MACHINE} = "s4" || ${MY_MACHINE} = "orion" ]]; then
if [[ ${MY_MACHINE} = "hera" || ${MY_MACHINE} = "s4" || ${MY_MACHINE} = "orion" ||
${MY_MACHINE} = "hercules" ]]; then
$SUB --account ${ACCOUNT} -n ${itemctr} -o ${logfile} -D . -J ${jobname} --time=30:00 \
--wrap "srun -l --multi-prog ${cmdfile}"

Expand Down Expand Up @@ -314,9 +316,10 @@ for sat in ${big_satlist}; do
-V -l walltime=60:00 -N ${jobname} ${cmdfile}

#---------------------------------------------------
# hera|jet|s4|orion, submit 1 job for each sat/list item
# hera|jet|s4|orion|hercules, submit 1 job for each sat/list item
elif [[ $MY_MACHINE = "hera" || $MY_MACHINE = "jet" || \
$MY_MACHINE = "s4" || $MY_MACHINE = "orion" ]]; then
$MY_MACHINE = "s4" || $MY_MACHINE = "orion" ||
$MY_MACHINE = "hercules" ]]; then

ii=0
logfile=${R_LOGDIR}/plot_angle_${sat}.log
Expand All @@ -338,7 +341,7 @@ for sat in ${big_satlist}; do
$SUB --account ${ACCOUNT} -n $ii -o ${logfile} -D . -J ${jobname} --time=4:00:00 \
--mem=0 --wrap "srun -l --multi-prog ${cmdfile}"

elif [[ $MY_MACHINE = "orion" ]]; then
elif [[ $MY_MACHINE = "orion" || $MY_MACHINE = "hercules" ]]; then
$SUB --account ${ACCOUNT} -n $ii -o ${logfile} -D . -J ${jobname} --time=4:00:00 \
-p ${SERVICE_PARTITION} --mem=0 --wrap "srun -l --multi-prog ${cmdfile}"

Expand Down
2 changes: 1 addition & 1 deletion src/Radiance_Monitor/image_gen/ush/mk_bcoef_plots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ if [[ $MY_MACHINE = "hera" || $MY_MACHINE = "s4" ]]; then
$SUB --account $ACCOUNT --ntasks=1 --mem=5g --time=1:00:00 -J ${jobname} \
-o ${logfile} -D . $IG_SCRIPTS/plot_bcoef.sh

elif [[ $MY_MACHINE = "orion" ]]; then
elif [[ $MY_MACHINE = "orion" || $MY_MACHINE = "hercules" ]]; then
$SUB --account $ACCOUNT --ntasks=1 --mem=5g --time=20 -J ${jobname} \
-p ${SERVICE_PARTITION} -o ${logfile} -D . $IG_SCRIPTS/plot_bcoef.sh

Expand Down
10 changes: 6 additions & 4 deletions src/Radiance_Monitor/image_gen/ush/mk_bcor_plots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ rm -f ${logfile}
ctr=0
for sat in ${SATLIST}; do
if [[ $MY_MACHINE = "hera" || $MY_MACHINE = "jet" ||
$MY_MACHINE = "s4" || $MY_MACHINE = "orion" ]]; then
$MY_MACHINE = "s4" || $MY_MACHINE = "orion" ||
$MY_MACHINE = "hercules" ]]; then
echo "${ctr} $IG_SCRIPTS/plot_bcor.sh $sat $suffix '$plot_list'" >> $cmdfile
else
echo "$IG_SCRIPTS/plot_bcor.sh $sat $suffix '$plot_list'" >> $cmdfile
Expand All @@ -208,7 +209,7 @@ if [[ $MY_MACHINE = "hera" || $MY_MACHINE = "s4" ]]; then
$SUB --account ${ACCOUNT} -n $ctr -o ${logfile} -D . -J ${jobname} \
--time=2:00:00 --wrap "srun -l --multi-prog ${cmdfile}"

elif [[ $MY_MACHINE = "orion" ]]; then
elif [[ $MY_MACHINE = "orion" || $MY_MACHINE = "hercules" ]]; then
$SUB --account ${ACCOUNT} -n $ctr -o ${logfile} -D . -J ${jobname} --time=2:00:00 \
-p ${SERVICE_PARTITION} --wrap "srun -l --multi-prog ${cmdfile}"

Expand Down Expand Up @@ -245,7 +246,8 @@ for sat in ${bigSATLIST}; do
ctr=0
for var in $plot_list; do
if [[ $MY_MACHINE = "hera" || $MY_MACHINE = "jet" ||
$MY_MACHINE = "s4" || $MY_MACHINE = "orion" ]]; then
$MY_MACHINE = "s4" || $MY_MACHINE = "orion" ||
$MY_MACHINE = "hercules" ]]; then
echo "$ctr $IG_SCRIPTS/plot_bcor.sh $sat $var $var" >> $cmdfile
else
echo "$IG_SCRIPTS/plot_bcor.sh $sat $var $var" >> $cmdfile
Expand All @@ -265,7 +267,7 @@ for sat in ${bigSATLIST}; do
$SUB --account ${ACCOUNT} -n $ctr -o ${logfile} -D . -J ${jobname} \
--time=1:00:00 --wrap "srun -l --multi-prog ${cmdfile}"

elif [[ $MY_MACHINE = "orion" ]]; then
elif [[ $MY_MACHINE = "orion" || $MY_MACHINE = "hercules" ]]; then
$SUB --account ${ACCOUNT} -n $ctr -o ${logfile} -D . -J ${jobname} --time=1:00:00 \
-p ${SERVICE_PARTITION} --wrap "srun -l --multi-prog ${cmdfile}"

Expand Down
12 changes: 7 additions & 5 deletions src/Radiance_Monitor/image_gen/ush/mk_time_plots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ if [[ ${MY_MACHINE} = "hera" || ${MY_MACHINE} = "s4" ]]; then
${SUB} --account ${ACCOUNT} --ntasks=1 --mem=5g --time=1:00:00 -J ${jobname} \
-o ${logfile} ${IG_SCRIPTS}/plot_summary.sh

elif [[ ${MY_MACHINE} = "orion" ]]; then
elif [[ ${MY_MACHINE} = "orion" || ${MY_MACHINE} = "hercules" ]]; then
${SUB} --account ${ACCOUNT} --ntasks=1 --mem=5g --time=20:00 -J ${jobname} \
-o ${logfile} ${IG_SCRIPTS}/plot_summary.sh

Expand Down Expand Up @@ -247,7 +247,8 @@ ctr=0

for sat in ${SATLIST}; do
if [[ ${MY_MACHINE} = "hera" || ${MY_MACHINE} = "jet" ||
${MY_MACHINE} = "s4" || ${MY_MACHINE} = "orion" ]]; then
${MY_MACHINE} = "s4" || ${MY_MACHINE} = "orion" ||
${MY_MACHINE} = "hercules" ]]; then
echo "${ctr} $IG_SCRIPTS/plot_time.sh $sat $suffix '$list'" >> $cmdfile
else
echo "$IG_SCRIPTS/plot_time.sh $sat $suffix '$list'" >> $cmdfile
Expand All @@ -261,7 +262,7 @@ if [[ $MY_MACHINE = "hera" || $MY_MACHINE = "s4" ]]; then
$SUB --account ${ACCOUNT} -n ${ctr} -o ${logfile} -D . -J ${jobname} --time=1:00:00 \
--wrap "srun -l --multi-prog ${cmdfile}"

elif [[ $MY_MACHINE = "orion" ]]; then
elif [[ $MY_MACHINE = "orion" || $MY_MACHINE = "hercules" ]]; then
$SUB --account ${ACCOUNT} -n ${ctr} -o ${logfile} -D . -J ${jobname} --time=1:00:00 \
-p $SERVICE_PARTITION --wrap "srun -l --multi-prog ${cmdfile}"

Expand Down Expand Up @@ -299,7 +300,8 @@ for sat in ${bigSATLIST}; do
ctr=0
for var in $list; do
if [[ ${MY_MACHINE} = "hera" || ${MY_MACHINE} = "jet" ||
${MY_MACHINE} = "s4" || ${MY_MACHINE} = "orion" ]]; then
${MY_MACHINE} = "s4" || ${MY_MACHINE} = "orion" ||
${MY_MACHINE} = "hercules" ]]; then
echo "${ctr} $IG_SCRIPTS/plot_time.sh $sat $var $var" >> $cmdfile
else
echo "$IG_SCRIPTS/plot_time.sh $sat $var $var" >> $cmdfile
Expand All @@ -317,7 +319,7 @@ for sat in ${bigSATLIST}; do
$SUB --account ${ACCOUNT} -n ${ctr} -o ${logfile} -D . -J ${jobname} --time=4:00:00 \
--wrap "srun -l --multi-prog ${cmdfile}"

elif [[ $MY_MACHINE = "orion" ]]; then
elif [[ $MY_MACHINE = "orion" || $MY_MACHINE = "hercules" ]]; then
$SUB --account ${ACCOUNT} -n ${ctr} -o ${logfile} -D . -J ${jobname} --time=1:30:00 \
-p $SERVICE_PARTITION --wrap "srun -l --multi-prog ${cmdfile}"

Expand Down
2 changes: 1 addition & 1 deletion ush/detect_machine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ case $(hostname -f) in

Orion-login-[1-4].HPC.MsState.Edu) MACHINE_ID=orion ;; ### orion1-4

[Hh]ercules-login-[1-4].[Hh][Pp][Cc].[Mm]s[Ss]tate.[Ee]du) MACHINE_ID=hercules ;; ### hercules1-4
[Hh]ercules-login-[1-4].[Hh][Pp][Cc].[Mm]s[Ss]tate.[Ed]du) MACHINE_ID=hercules ;; ### hercules1-4

login[1-4].stampede2.tacc.utexas.edu) MACHINE_ID=stampede ;; ### stampede1-4

Expand Down
Loading
Loading