Skip to content

Commit

Permalink
Add double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Jun 11, 2024
1 parent ffec316 commit b80814b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion env/HERA.env
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ elif [[ "${step}" = "gempak" ]]; then
export CFP_MP="YES"

var="npe_node_gempak_${RUN}"
declare "npe_node_gempak"=${!var}
declare "npe_node_gempak"="${!var}"

nth_max=$((npe_node_max / npe_node_gempak))

Expand Down
6 changes: 3 additions & 3 deletions env/WCOSS2.env
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ elif [[ "${step}" = "waveinit" ]] || [[ "${step}" = "waveprep" ]] || [[ "${step}

export USE_CFP="YES"
if [[ "${step}" = "waveprep" ]]; then
ntask_var="NTASKS_${RUN}"
export NTASKS=${!ntasks_var}
ntasks_var="NTASKS_${RUN}"
export NTASKS="${!ntasks_var}"
fi
export wavempexec="${launcher} -np"
export wave_mpmd=${mpmd_opt}
Expand Down Expand Up @@ -286,7 +286,7 @@ elif [[ "${step}" = "awips" ]]; then
elif [[ "${step}" = "gempak" ]]; then

var="npe_node_gempak_${RUN}"
declare "npe_node_gempak"=${!var}
declare "npe_node_gempak"="${!var}"

nth_max=$((npe_node_max / npe_node_gempak))

Expand Down

0 comments on commit b80814b

Please sign in to comment.