Skip to content

Commit

Permalink
Address SC2250 linter warnings in R&D env files
Browse files Browse the repository at this point in the history
  • Loading branch information
KateFriedman-NOAA committed Nov 14, 2022
1 parent 0378633 commit 790cfb8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions env/HERA.env
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,6 @@ elif [ $step = "gempak" ]; then
nth_max=$(($npe_node_max / $npe_node_gempak))

export NTHREADS_GEMPAK=${nth_gempak:-1}
[[ $NTHREADS_GEMPAK -gt $nth_max ]] && export NTHREADS_GEMPAK=$nth_max
export APRUN="$launcher -n $npe_gempak ${mpmd_opt}"
[[ $NTHREADS_GEMPAK -gt ${nth_max} ]] && export NTHREADS_GEMPAK=${nth_max}
export APRUN="${launcher} -n ${npe_gempak} ${mpmd_opt}"
fi
6 changes: 3 additions & 3 deletions env/ORION.env
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,9 @@ elif [ $step = "awips" ]; then

elif [ $step = "gempak" ]; then

nth_max=$(($npe_node_max / $npe_node_gempak))
nth_max=$(($npe_node_max / ${npe_node_gempak}))

export NTHREADS_GEMPAK=${nth_gempak:-1}
[[ $NTHREADS_GEMPAK -gt $nth_max ]] && export NTHREADS_GEMPAK=$nth_max
export APRUN="$launcher -n $npe_gempak ${mpmd_opt}"
[[ ${NTHREADS_GEMPAK} -gt ${nth_max} ]] && export NTHREADS_GEMPAK=${nth_max}
export APRUN="${launcher} -n ${npe_gempak} ${mpmd_opt}"
fi

0 comments on commit 790cfb8

Please sign in to comment.