Repository navigation
2D decompision - #265
Open
weiyuan-jiang wants to merge 4 commits into
Open
2D decompision#265weiyuan-jiang wants to merge 4 commits into
weiyuan-jiang wants to merge 4 commits into
Conversation
- preprocess_ldas_routines.F90: new optimize_latlon_2d() that cuts the
domain into NX i stripes and NY j stripes (each >= 2 grid cells) and
minimizes the max no. of tiles per process:
* exact min-max (painter's partition) of one direction given the other,
generalized to per-process (block) loads and min stripe width
* cube-sphere: same IMS on all faces (MAPL), no process across faces,
optimal no. of j stripes per face, NY must be a multiple of 6
* local search on i/j stripe boundaries and reproducible random restarts
* writes IMS.rc/JMS.rc (EASE) or GEOSldas.IMS and JMS.rc (cube-sphere)
- preprocess_ldas.F90: new option "optimize_2d"
- ldas.py, setup_utils.py: optional batinp inputs NX and NY
(ntasks_model = NX*NY); 1d layouts still use "optimize"
- lenkf_j_template.py: re-optimize the decomposition when NX/NY in LDAS.rc
differ from the stored layout, and update LDAS.rc, IMS.rc, JMS.rc
- ldas_setup: set the stack limit to the hard limit (unlimited at NCCS/NAS)
instead of RLIM_INFINITY; if python cannot change the stack limit (macOS),
print a warning to stderr and keep the current limit
- mock_regression.py:
* patch the legacy setrlimit call in ref installs the same way
* normalize temporary file names under $TMPDIR (macOS), not only /tmp
* compare 'ldas_setup sample' stdout only (stderr has python warnings
with install-specific paths)
* set PERTURBATIONS=1 for offline ensemble cases (required for
NUM_LDAS_ENSEMBLE>1 since 27d63bc)
Feature/wjiang/refactor ldas setup
|
This PR is being prevented from merging because you have not added one of our required labels: 0 diff, 0 diff trivial, Non 0-diff, 0 diff structural, 0-diff trivial, Not 0-diff, 0-diff, automatic, 0-diff uncoupled, github_actions. Please add one so that the PR can be merged. |
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.
Added 2d layout feature (NX by NY). It is also a bug fix. (ObsFcstAna output and EnKF observation oder depended on the processor layout for cubed-sphere grid )