-
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
[develop]: Updates for building and running SRW on MacOS platform #1171
Open
natalie-perlin
wants to merge
7
commits into
ufs-community:develop
Choose a base branch
from
natalie-perlin:dev_macos
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2a38f28
Changes for running SRW on MacOS/Darwin
a760922
changes for MacOS system
31bffa7
modulefile update build_macos_gnu.lua for MacOS builds,
7b3de5f
Updating devbuild.sh for MacOS
343580f
updating macos.yaml
73cf0d6
Updating a modulefile and a machine file for MacOS
f12a609
updated build_macos_gnu.lua to have LDFLAGS loaded inside the modulefile
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
metadata: | ||
description: | ||
Sample community config | ||
user: | ||
RUN_ENVIR: community | ||
MACHINE: macos | ||
ACCOUNT: an_account | ||
workflow: | ||
USE_CRON_TO_RELAUNCH: false | ||
EXPT_SUBDIR: test_macos | ||
CCPP_PHYS_SUITE: FV3_GFS_v16 | ||
PREDEF_GRID_NAME: RRFS_CONUS_25km | ||
DATE_FIRST_CYCL: '2019061518' | ||
DATE_LAST_CYCL: '2019061518' | ||
FCST_LEN_HRS: 12 | ||
PREEXISTING_DIR_METHOD: rename | ||
VERBOSE: true | ||
COMPILER: intel | ||
task_get_extrn_ics: | ||
EXTRN_MDL_NAME_ICS: FV3GFS | ||
FV3GFS_FILE_FMT_ICS: grib2 | ||
USE_USER_STAGED_EXTRN_FILES: true | ||
EXTRN_MDL_SOURCE_BASEDIR_ICS: "/Users/username/DATA/UFS/input_model_data/FV3GFS/grib2/2019061518" | ||
task_get_extrn_lbcs: | ||
EXTRN_MDL_NAME_LBCS: FV3GFS | ||
LBC_SPEC_INTVL_HRS: 6 | ||
FV3GFS_FILE_FMT_LBCS: grib2 | ||
USE_USER_STAGED_EXTRN_FILES: true | ||
EXTRN_MDL_SOURCE_BASEDIR_LBCS: "/Users/username/DATA/UFS/input_model_data/FV3GFS/grib2/2019061518" | ||
task_run_fcst: | ||
QUILTING: true | ||
LAYOUT_X: 3 | ||
LAYOUT_Y: 2 | ||
WRTCMP_write_tasks_per_group: 2 | ||
task_plot_allvars: | ||
COMOUT_REF: "" | ||
global: | ||
DO_ENSEMBLE: false | ||
NUM_ENS_MEMBERS: 2 | ||
rocoto: | ||
tasks: | ||
taskgroups: '{{ ["parm/wflow/prep.yaml", "parm/wflow/coldstart.yaml", "parm/wflow/post.yaml", "parm/wflow/plot.yaml"]|include }}' | ||
metatask_run_ensemble: | ||
task_run_fcst_mem#mem#: | ||
walltime: 02:00:00 | ||
task_plot_allvars: | ||
PLOT_FCST_START: 0 | ||
PLOT_FCST_INC: 6 | ||
PLOT_FCST_END: 6 |
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@natalie-perlin @RatkoVasic-NOAA are these library version changes specific for the macos stack built to enable the srw community test? are these lib updates consistent with the stack used by all other machines in srw_common?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This wouldn't work on develop branch (other machines) since SRW/WM are still using spack-stack@1.6.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think srw common should not be changed then and explicit lib loads need to go into the mac os modulefile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The versions of packages built in spack-stack could be tailored to whatever is needed for the repository.
This work on MacOS started when there were plans to continue with spack-stack-1.8.0 for the UFS-WM and updated package versions. Going back to use lower versions of the packages is always an option.