Skip to content

Commit

Permalink
Adds new updates for detect_machine.sh and updates module names (#115)
Browse files Browse the repository at this point in the history
* Updated detect_machine.sh.

* Updates for module names.

* Added compiler name to module identifier.

* Removed Gaea machines reaching EOL.

---------

Co-authored-by: henrywinterbottom-wxdev <[email protected]>
Co-authored-by: Ed Safford <[email protected]>
  • Loading branch information
3 people committed Jan 30, 2024
1 parent 6ffa6e3 commit 97be8b0
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion ush/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ echo "MACHINE_ID = $MACHINE_ID"
source $DIR_ROOT/ush/module-setup.sh

module use $DIR_ROOT/modulefiles
module load $MACHINE_ID
module load $MACHINE_ID.$COMPILER
module list

# Collect BUILD Options
Expand Down
6 changes: 2 additions & 4 deletions ush/detect_machine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ case $(hostname -f) in
dlogin0[1-9].dogwood.wcoss2.ncep.noaa.gov) MACHINE_ID=wcoss2 ;; ### dogwood01-9
dlogin10.dogwood.wcoss2.ncep.noaa.gov) MACHINE_ID=wcoss2 ;; ### dogwood10

gaea9) MACHINE_ID=gaea ;; ### gaea9
gaea1[0-6]) MACHINE_ID=gaea ;; ### gaea10-16
gaea9.ncrc.gov) MACHINE_ID=gaea ;; ### gaea9
gaea1[0-6].ncrc.gov) MACHINE_ID=gaea ;; ### gaea10-16
gaea5[1-8]) MACHINE_ID=gaea ;; ### gaea51-58
gaea5[1-8].ncrc.gov) MACHINE_ID=gaea ;; ### gaea51-58

hfe0[1-9]) MACHINE_ID=hera ;; ### hera01-09
hfe1[0-2]) MACHINE_ID=hera ;; ### hera10-12
Expand Down

0 comments on commit 97be8b0

Please sign in to comment.