Skip to content

Commit

Permalink
Add orion stanzas to various build system scripts. (ufs-community#38)
Browse files Browse the repository at this point in the history
## DESCRIPTION OF CHANGES: 
* Add Orion stanzas to build scripts (and removed an old theia stanza).
* Changed "tag" to "branch" in Externals.cfg (which I think was a bug).

## TESTS CONDUCTED: 
Built on Orion successfully.
  • Loading branch information
gsketefian authored Oct 20, 2020
1 parent 583ea3b commit e0eb29c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Externals.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ required = True
[ufs_utils]
protocol = git
repo_url = https://github.com/NOAA-EMC/UFS_UTILS
tag = develop
branch = develop
local_path = src/UFS_UTILS
required = True

Expand Down
2 changes: 2 additions & 0 deletions src/build_post.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ if [ "$target" = "jet" ] ; then
./compile jet
elif [ "$target" = "hera" ] ; then
./compile hera
elif [ "$target" = "orion" ] ; then
./compile orion
elif [ "$target" = "wcoss_cray" ] ; then
./compile cray-intel
elif [ "$target" = "wcoss_dell_p3" ] ; then
Expand Down
6 changes: 3 additions & 3 deletions src/machine-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ if [ "$platform" = "no_platform_specified" ]; then
elif [[ -d /scratch2/BMC/det ]] ; then
# We are on NOAA Hera
platform=hera
elif [[ -d /scratch3/BMC/det ]] ; then
# We are on NOAA Theia
platform=theia
elif [[ -d /work/noaa ]] ; then
# We are on MSU/NOAA Orion
platform=orion
elif [[ -d /gpfs/hps && -e /etc/SuSE-release ]] ; then
# We are on NOAA Luna or Surge
platform=wcoss_cray
Expand Down

0 comments on commit e0eb29c

Please sign in to comment.