Skip to content

Commit

Permalink
fix shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
ypwang19 committed May 30, 2024
1 parent 18f11fb commit 7a631d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions env/HERCULES.env
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,12 @@ case ${step} in
[[ ${NTHREADS_AEROANL} -gt ${nth_max} ]] && export NTHREADS_AEROANL=${nth_max}
export APRUN_AEROANL="${launcher} -n ${npe_aeroanlrun} --cpus-per-task=${NTHREADS_AEROANL}"
;;

"prepaeroobs")
nth_max=$((npe_node_max / npe_node_prepaeroobs))

export NTHREADS_PREPAEROOBS=${nth_prepaeroobs:-1}
export APRUN_PREPAEROOBS="${launcher} -n 1 --cpus-per-task=${NTHREADS_PREPAEROOBS}"

;;
"snowanl")

nth_max=$((npe_node_max / npe_node_snowanl))
Expand Down

0 comments on commit 7a631d9

Please sign in to comment.