-
Notifications
You must be signed in to change notification settings - Fork 213
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
Use of optional .exclude files for selective exclusion during build #4180
Use of optional .exclude files for selective exclusion during build #4180
Conversation
(1) Might need some refinement at some later time Signed-off-by: Thibaud Fritz <[email protected]>
Signed-off-by: Thibaud Fritz <[email protected]>
Signed-off-by: Lizzie Lundgren <[email protected]>
@jedwards4b, I followed the documentation for running tests at https://github.com/ESMCI/cime/wiki/Testing. Heads up that the page is out-of-date and I had to search for the new location of |
I am getting errors like this when I run the test suite. Is this expected?
|
Nightly test results are here: Looks like we currently have one failing test. |
This update should be used with CIME updates submitted in: ESMCI/cime#4180 ESMCI/cime#4302 Signed-off-by: Lizzie Lundgren <[email protected]>
…uild_capability Expand capability to exclude files from build using .exclude Updates in this PR expand the capability of using an optional .exclude file to list files in the sub-tree to skip during compilation. That feature was originally submitted and merged as #4180 for use with GEOS-Chem in CESM. A limitation of the feature was recently discovered when a second .exclude file was added for use with HEMCO. The content of only one of the files was excluded during build. This PR features the following improvements in using .exclude: Using more than one .exclude file in CESM is now possible. Skipping one file when more than one file of the same name exists is now possible. It is important to note that .exclude must now contain the relative path of the file to exclude. Previously only the filename was present regardless of where it existed in the sub-tree. Test suite: none yet Test baseline: Test namelist changes: Test status: [bit for bit, roundoff, climate changing] Fixes [CIME Github issue #] No associated issue User interface changes?: N Update gh-pages html (Y/N)?: N
Previously file only contained filenames. This update should be used with CIME updates submitted in: ESMCI/cime#4180 ESMCI/cime#4302 Signed-off-by: Lizzie Lundgren <[email protected]>
As part of the coupling between CESM and GEOS-Chem, Thibaud Fritz
(@fritzt) added functionality of optional
.exclude
files to list files in thesub-tree that do not need to be compiled. This is useful for coupling the
GEOS-Chem chemistry within CESM since some files contained in the
GEOS-Chem repository, such as the advection modules, are not used in
CESM. Using
.exclude
enables the GEOS-Chem source folder to beunmodified from its Github repository.
The
.exclude
files are read frommkSrcfiles
during creation ofSrcfiles
. Any directory inFilepath
could have a local.exclude
file containing filenames to exclude across its subdirectories.
An example of using
.exclude
for coupling GEOS-Chem within CESMis here at CAM PR #484.
This PR supersedes PR #3974. It is currently draft until I I get
to running the tests and updating docs as needed. Feedback welcome!
I looked at CIME documentation in doc/source/ but did not see any docs that need updating for this feature.
Test suite: in progress
Test baseline:
Test namelist changes:
Test status: [bit for bit, roundoff, climate changing]
Fixes #3366
User interface changes?: No
Update gh-pages html (Y/N)?: No