-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated hpc-stack modules and compiler flags for building SRW release/public-v2 on MacOS #263
Updated hpc-stack modules and compiler flags for building SRW release/public-v2 on MacOS #263
Conversation
… SRW release/public-v2
@natalie-perlin, can you change the title of this PR to reflect that these changes are only for MacOS? Thanks! |
@willmayfield, does this look good to you? |
The slash in branch names such as release/.* and feature/.* is interpreted as a directory separator. This change replaces the "/" character with a "_".
Modulefiles load software libraries and activate python virtual environment
@natalie-perlin This looks good to me. Sorry that the only way to get LDFLAGS working in set shell [module-info shelltype]
if {$shell == "sh"} {
puts stderr {Please execute this command:
> export LDFLAGS=-L$MPI_ROOT/lib}
} else {
puts stderr {Please execute this command:
> setenv LDFLAGS -L$MPI_ROOT/lib}
} |
A full integration of uwtools for the UPP task and inline-post.
DESCRIPTION OF CHANGES:
Changed a build template for the MacOS system to use the hpc-stack modules built for the release/public-v2 SRW version, a file
./modulefiles/build_macos_gnu
.Recipe for building the hpc-stack for this release on a MacOS using the GNU compiler suite, for either M1/arm64 or Intel/x86_64 chips could be found in HPC-stack repo:
https://github.com/NOAA-EPIC/hpc-stack.git, release/public-v2 branch; it will be later merged with the hpc-stack NOAA-EMC repository. Currently it could be cloned as following:
git clone -b release/public-v2 https://github.com/NOAA-EPIC/hpc-stack.git hpc-stack.git
TESTS CONDUCTED:
The SRW was build and tested (single test 2019051600) based on the hpc-stack for release/public-v2. Tho MacOS systems tested: M1/arm64 with Darwin 20/Big Sure, Intel/x86_64 with Darwin 19/Catalina, build has been also tested on M1/arm64 with Darwin 21/Monterey.
DEPENDENCIES:
HPC-stack recipe built for this release:
DOCUMENTATION:
The documentation is under a separate PR
ISSUE (optional):
See discussion under the PR #238
Contributors:
@danielabdi-noaa