Skip to content

Commit

Permalink
Fix npe_apply_inc issue
Browse files Browse the repository at this point in the history
  • Loading branch information
CoryMartin-NOAA committed Aug 2, 2024
1 parent ad98bfe commit df156fb
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions env/HERA.env
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ elif [[ "${step}" = "atmensanlletkf" ]]; then
elif [[ "${step}" = "atmensanlfv3inc" ]]; then

export NTHREADS_ATMENSANLFV3INC=${NTHREADSmax}
export APRUN_ATMENSANLFV3INC="${APRUN} --cpus-per-task=${NTHREADS_ATMENSANLFV3INC}"
export APRUN_ATMENSANLFV3INC="${APRUN} --cpus-per-task=${NTHREADS_ATMENSANLFV3INC}"

elif [[ "${step}" = "aeroanlrun" ]]; then

Expand All @@ -104,14 +104,14 @@ elif [[ "${step}" = "snowanl" ]]; then
export NTHREADS_SNOWANL=${NTHREADSmax}
export APRUN_SNOWANL="${APRUN} --cpus-per-task=${NTHREADS_SNOWANL}"

export APRUN_APPLY_INCR="${launcher} -n ${npe_apply_incr}"
export APRUN_APPLY_INCR="${launcher} -n 6"

elif [[ "${step}" = "esnowrecen" ]]; then

export NTHREADS_ESNOWRECEN=${NTHREADSmax}
export APRUN_ESNOWRECEN="${APRUN} --cpus-per-task=${NTHREADS_ESNOWRECEN}"

export APRUN_APPLY_INCR="${launcher} -n ${npe_apply_incr}"
export APRUN_APPLY_INCR="${launcher} -n 6"

elif [[ "${step}" = "marinebmat" ]]; then

Expand Down
6 changes: 3 additions & 3 deletions env/HERCULES.env
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,16 @@ case ${step} in
export NTHREADS_SNOWANL=${NTHREADSmax}
export APRUN_SNOWANL="${APRUN} --cpus-per-task=${NTHREADS_SNOWANL}"

export APRUN_APPLY_INCR="${launcher} -n ${npe_apply_incr}"
export APRUN_APPLY_INCR="${launcher} -n 6"
;;
"esnowrecen")

export NTHREADS_ESNOWRECEN=${NTHREADSmax}
export APRUN_ESNOWRECEN="${APRUN} --cpus-per-task=${NTHREADS_ESNOWRECEN}"

export APRUN_APPLY_INCR="${launcher} -n ${npe_apply_incr}"
export APRUN_APPLY_INCR="${launcher} -n 6"
;;

"marinebmat")

export APRUNCFP="${launcher} -n \$ncmd ${mpmd_opt}"
Expand Down
4 changes: 2 additions & 2 deletions env/JET.env
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ elif [[ "${step}" = "snowanl" ]]; then
export NTHREADS_SNOWANL=${NTHREADSmax}
export APRUN_SNOWANL="${APRUN}"

export APRUN_APPLY_INCR="${launcher} -n ${npe_apply_incr}"
export APRUN_APPLY_INCR="${launcher} -n 6"

elif [[ "${step}" = "esnowrecen" ]]; then

export NTHREADS_ESNOWRECEN=${NTHREADSmax}
export APRUN_ESNOWRECEN="${APRUN} --cpus-per-task=${NTHREADS_ESNOWRECEN}"

export APRUN_APPLY_INCR="${launcher} -n ${npe_apply_incr}"
export APRUN_APPLY_INCR="${launcher} -n 6"

elif [[ "${step}" = "atmanlfv3inc" ]]; then

Expand Down
4 changes: 2 additions & 2 deletions env/ORION.env
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@ elif [[ "${step}" = "snowanl" ]]; then
export NTHREADS_SNOWANL=${NTHREADSmax}
export APRUN_SNOWANL="${APRUN} --cpus-per-task=${NTHREADS_SNOWANL}"

export APRUN_APPLY_INCR="${launcher} -n ${npe_apply_incr}"
export APRUN_APPLY_INCR="${launcher} -n 6"

elif [[ "${step}" = "esnowrecen" ]]; then

export NTHREADS_ESNOWRECEN=${NTHREADSmax}
export APRUN_ESNOWRECEN="${APRUN} --cpus-per-task=${NTHREADS_ESNOWRECEN}"

export APRUN_APPLY_INCR="${launcher} -n ${npe_apply_incr}"
export APRUN_APPLY_INCR="${launcher} -n 6"

elif [[ "${step}" = "atmanlfv3inc" ]]; then

Expand Down
6 changes: 3 additions & 3 deletions env/S4.env
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ elif [[ "${step}" = "atmensanlletkf" ]]; then
elif [[ "${step}" = "atmensanlfv3inc" ]]; then

export NTHREADS_ATMENSANLFV3INC=${NTHREADSmax}
export APRUN_ATMENSANLFV3INC="${APRUN}"
export APRUN_ATMENSANLFV3INC="${APRUN}"

elif [[ "${step}" = "aeroanlrun" ]]; then

Expand All @@ -87,14 +87,14 @@ elif [[ "${step}" = "snowanl" ]]; then
export NTHREADS_SNOWANL=${NTHREADSmax}
export APRUN_SNOWANL="${APRUN}"

export APRUN_APPLY_INCR="${launcher} -n ${npe_apply_incr}"
export APRUN_APPLY_INCR="${launcher} -n 6

Check notice

Code scanning / shellcheck

The mentioned syntax error was in this simple command. Note

The mentioned syntax error was in this simple command.

Check warning

Code scanning / shellcheck

Did you forget to close this double quoted string? Warning

Did you forget to close this double quoted string?
elif [[ "${step}" = "esnowrecen" ]]; then

Check notice

Code scanning / shellcheck

This is actually an end quote, but due to next char it looks suspect. Note

This is actually an end quote, but due to next char it looks suspect.

Check warning

Code scanning / shellcheck

Did you forget to close this double quoted string? Warning

Did you forget to close this double quoted string?
export NTHREADS_ESNOWRECEN=${NTHREADSmax}
export APRUN_ESNOWRECEN="${APRUN} --cpus-per-task=${NTHREADS_ESNOWRECEN}"

Check notice

Code scanning / shellcheck

This is actually an end quote, but due to next char it looks suspect. Note

This is actually an end quote, but due to next char it looks suspect.
export APRUN_APPLY_INCR="${launcher} -n ${npe_apply_incr}"
export APRUN_APPLY_INCR="${launcher} -n 6"
elif [[ "${step}" = "atmanlfv3inc" ]]; then
Expand Down
4 changes: 2 additions & 2 deletions env/WCOSS2.env
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ elif [[ "${step}" = "snowanl" ]]; then
export NTHREADS_SNOWANL=${NTHREADSmax}
export APRUN_SNOWANL="${APRUN}"

export APRUN_APPLY_INCR="${launcher} -n ${npe_apply_incr}"
export APRUN_APPLY_INCR="${launcher} -n 6"

elif [[ "${step}" = "esnowrecen" ]]; then

export NTHREADS_ESNOWRECEN=${NTHREADSmax}
export APRUN_ESNOWRECEN="${APRUN} --cpus-per-task=${NTHREADS_ESNOWRECEN}"

export APRUN_APPLY_INCR="${launcher} -n ${npe_apply_incr}"
export APRUN_APPLY_INCR="${launcher} -n 6"

elif [[ "${step}" = "atmanlfv3inc" ]]; then

Expand Down

0 comments on commit df156fb

Please sign in to comment.