Updated hpc-stack modules and compiler flags for building SRW release/public-v2 on MacOS#263
Merged
natalie-perlin merged 7 commits intoMay 26, 2022
Conversation
… SRW release/public-v2
Collaborator
|
@natalie-perlin, can you change the title of this PR to reflect that these changes are only for MacOS? Thanks! |
Collaborator
|
@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
Collaborator
|
@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}
} |
danielabdi-noaa
approved these changes
May 26, 2022
This was referenced May 27, 2022
Closed
elcarpenterNOAA
pushed a commit
to elcarpenterNOAA/srw-app
that referenced
this pull request
Aug 26, 2024
A full integration of uwtools for the UPP task and inline-post.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.gitTESTS 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