-
Notifications
You must be signed in to change notification settings - Fork 87
Add MACOS and Generic Linux options for regional_workflow #402
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
Merged
mkavulich
merged 50 commits into
ufs-community:release/public-v1
from
mkavulich:add_macos_generic_linux_workflow
Feb 1, 2021
Merged
Changes from 35 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
9340c97
Adapt new bash syntax to be more back-compatible with older and more …
mkavulich ee7e914
Add if-blocks where necessary to call "greadlink -f" on Darwin/MacOS …
mkavulich 95e2cfc
Add new bash_utils file "define_macos_utilities.sh" which defines var…
mkavulich df16952
Finally get rid of the spurious and misleading error messages at the …
mkavulich 39294b4
Check for special MacOS equivalent utilities, abort if not found
mkavulich 6fcda9c
Add more helpful error messages for missing `greadlink` command on Da…
mkavulich 2935fa3
Simplify greadlink/readlink if blocks to variable $READLINK where pos…
mkavulich 5350613
Re-work logic of hard-coded IC and LBC directories. Now for any platf…
mkavulich 1760c89
Since data may also exist on HPSS, only fail in set_extrn_mdl_params.…
mkavulich 03f8c9a
Better error messages if there is no way to get input data
mkavulich c0ea426
Add WORKFLOW_MANAGER as a variable (currently set to "rocoto" for all…
mkavulich ad541e9
date utility needs a macos-specific gdate as well
mkavulich 81b20f8
ln also needs to use macos-specific gln (BSD version does not accept …
mkavulich 927675f
Another macos bash fix: the "-v" test is only available for bash 4.2 …
mkavulich 121df9a
Bad practice to grep piped output from grep (causes errors on MacOS b…
mkavulich 857c986
In get_extrn_mdl_file_dir_info.sh, don't fail on check for pre-staged…
mkavulich 0f4f453
ulimit -s unlimited doesn't work without admin privileges on macos. R…
mkavulich 14f51b2
Need to create the logdir as well, otherwise later touch commands may…
mkavulich 4700266
Forgot to add LN_UTIL for non-MACOS platforms
mkavulich 6ed0afc
Need to initialize "sysdir" to a blank value so workflow generation d…
mkavulich a812ce3
Add stanzas for generic linux ("LINUX") for generation script
mkavulich 32eb0f9
Add LINUX stanzas for make_grid and make_orog tasks, remove unnecessa…
mkavulich c6ff070
Fix mistake for bash portability at run_fcst step
mkavulich 8bec4dd
Add check for ncdump in environment for more controlled failures
mkavulich 01792f6
Add mpirun commands for LINUX (will make configurable later), add cas…
mkavulich 47e8750
FINALLY got the generic linux working.
mkavulich 6e4be94
Allow run commands to be set in config.sh for LINUX and MACOS
mkavulich bce8f4c
A couple fixes to my cross-platform fixes
mkavulich f248b4d
More fixes to my fixes
mkavulich bf3ad0e
Another fix
mkavulich 713699f
Better way of setting default run_fcst command: use the calculated nu…
mkavulich 9071ba3
Replace backticks with more modern and less troublesome parenthetical…
mkavulich 194f565
Fix copy-paste errors that removed "local" designation from some vari…
mkavulich 6ace3c9
Merge branch 'release/public-v1' into add_macos_generic_linux_workflow
mkavulich 5430c63
Fix more accidental variable globalizations, tidy up some whitespace …
mkavulich df3026b
Simplify Darwin-specific bash utility errors
mkavulich 0bc56d4
Fix call to $DATE_UTIL
mkavulich d17b2e3
Forgot to modify DATE_UTIL calls in exregional_run_post
mkavulich 4838b4b
Some suggestions/fixes from Gerard
mkavulich 2da62fd
Remove files suggested as unneeded and outdated by Gerard
mkavulich 9487bbb
Create functions to convert strings to all lowercase or uppercase to …
mkavulich 6959f45
Fix a few more accidental non-local variables
mkavulich 6b3c5f4
With new "echo_lowercase" function these temp variables are no longer…
mkavulich 1761db2
Replace all remaining sed commands with $SED for consistency's sake
mkavulich f81781c
Forgot $SED is not defined here yet
mkavulich 46654e7
One more fix from Gerard
mkavulich 7a22549
Fix dumb mistake in launch script
mkavulich cc45725
Add requested clarifying comment
mkavulich 18b01ed
Merge branch 'release/public-v1' into add_macos_generic_linux_workflow
mkavulich 856076e
Forgot some final "DATE_UTIL" instances, these seem harmless but shou…
mkavulich 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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.