Skip to content

Commit

Permalink
Fix memory unsetting on Gaea (#3325)
Browse files Browse the repository at this point in the history
Memory requests are not valid on Gaea, so the variable must be unset
when running the setup scripts there. This fixes memory unsetting when
variables like `memory_gdas` are set in config.resources.

Resolves #3322
  • Loading branch information
DavidHuber-NOAA authored Feb 13, 2025
1 parent 989948c commit d060a1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions parm/config/gfs/config.resources.GAEAC5
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,4 @@
export FI_VERBS_PREFER_XRC=0

unset memory
# shellcheck disable=SC2312
for mem_var in $(env | grep '^memory_' | cut -d= -f1); do
unset "${mem_var}"
done
unset "memory_${RUN}"
5 changes: 1 addition & 4 deletions parm/config/gfs/config.resources.GAEAC6
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@
# GaeaC6-specific job resources

unset memory
# shellcheck disable=SC2312
for mem_var in $(env | grep '^memory_' | cut -d= -f1); do
unset "${mem_var}"
done
unset "memory_${RUN}"

0 comments on commit d060a1a

Please sign in to comment.