Skip to content

Commit

Permalink
Merge pull request #316 from GEOS-ESM/develop
Browse files Browse the repository at this point in the history
GitFlow: Merge develop into main
  • Loading branch information
mathomp4 authored May 18, 2023
2 parents cb919ea + a61963c commit 1e1e31e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 19 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

### Fixed

### Removed

### Added

## [3.29.0] - 2023-05-18

### Changed

- Remove `BUILT_ON_ROME` detection at NAS as all nodes are now TOSS4

## [3.28.0] - 2023-03-23

### Changed
Expand Down
18 changes: 1 addition & 17 deletions external_libraries/DetermineSite.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,8 @@ set(DETECTED_SITE "UNKNOWN")

if (${BUILD_SITE} MATCHES "discover*" OR ${BUILD_SITE} MATCHES "borg*" OR ${BUILD_SITE} MATCHES "warp*")
set (DETECTED_SITE "NCCS")
# At NAS, if you want to run on Rome, you have to build on Rome due to
# OS differences. So we make a variable that can let us make the setup
# scripts aware of this.
elseif (${BUILD_SITE} MATCHES "pfe" OR ${BUILD_SITE} MATCHES "r[0-9]*i[0-9]*n[0-9]*")
elseif (${BUILD_SITE} MATCHES "pfe" OR ${BUILD_SITE} MATCHES "r[0-9]*i[0-9]*n[0-9]*" OR ${BUILD_SITE} MATCHES "r[0-9]*c[0-9]*t[0-9]*n[0-9]*")
set (DETECTED_SITE "NAS")
set (BUILT_ON_ROME FALSE)
elseif (${BUILD_SITE} MATCHES "r[0-9]*c[0-9]*t[0-9]*n[0-9]*")
set (DETECTED_SITE "NAS")
set (BUILT_ON_ROME TRUE)
elseif (EXISTS /ford1/share/gmao_SIteam AND EXISTS /ford1/local AND ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set (DETECTED_SITE "GMAO.desktop")
endif ()
Expand Down Expand Up @@ -71,12 +64,3 @@ endif ()
set(GEOS_SITE ${DETECTED_SITE} CACHE STRING "Detected site for use with GEOS setup scripts")
message(STATUS "Setting GEOS_SITE to ${GEOS_SITE}")

# Add message to say where we built at NAS
if (DETECTED_SITE STREQUAL "NAS")
if (BUILT_ON_ROME)
message(STATUS "Building on AMD Rome nodes at NAS")
else()
message(STATUS "Building on Intel nodes at NAS")
endif()
endif()

0 comments on commit 1e1e31e

Please sign in to comment.