-
Notifications
You must be signed in to change notification settings - Fork 3
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
Update to ClimaAtmos v0.11.0 and ClimaLSM v0.2.3 #293
Conversation
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.
We'll need to add something like
- echo "--- Instantiate amip modular env"
- "julia --project=experiments/AMIP/modular/ -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
- "julia --project=experiments/AMIP/modular/ -e 'using Pkg; Pkg.precompile()'"
- "julia --project=experiments/AMIP/modular/ -e 'using Pkg; Pkg.status()'"
to the buildkite yaml for CI to work. I'm actually not sure how that environment is activated at the moment
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.
Looks good overall. I have one concern though - are you planning to merge this into main as is? It might be better to resolve the failing tests/CI before merging.
Hi Julia, thank you. No, absolutely. The idea is not to merge this as is. Of course I want/need to fix CI. I am just also working on other things so I haven't back to this yet. Hopefully this afternoon. |
c44fd0e
to
0579af8
Compare
It looks like in CI we're instantiating the other environment |
@charleskawczynski do you know what is going on with the Ubuntu-latest action? |
It looks like a ClimaLSM error: home/runner/work/ClimaCoupler.jl/ClimaCoupler.jl/test/conservation_checker_tests.jl:120
Got exception outside of a @test
MethodError: no method matching (ClimaLSM.Parameters.LSMParameters{Float64, Float64, Float64})(::Float64, ::Float64, ::Float64, ::Float64, ::Float64, ::Float64, ::Float64, ::Float64, ::Float64, ::Float64, ::Float64, ::Float64, ::Float64, ::Float64, ::Float64)
Stacktrace:
[1] macro expansion
@ ~/work/ClimaCoupler.jl/ClimaCoupler.jl/test/conservation_checker_tests.jl:130 [inlined]
... |
Probably the simplest thing to do, in this particular situation, would be to use their utility:
|
I fixed it. It was a matter of updating the |
cdb780d
to
20e24a8
Compare
This PR is ready for review! |
Hi Valeria, thank you for this! To help with the crashing Buildkites, we’ll need to update the |
Yes, thank you. I realized that after I wrote my comment. I'll get to it on Monday. I think we're close! |
The issue was identified to be in the logic ClimaAtmos tries to prioritize parsed args and populate the toml file (see this line ). Once this is fixed in ClimaAtmos, I'll propagate the change here in the Coupler. |
8a505be
to
e735835
Compare
24a8aa2
to
9b69b7b
Compare
eb1c268
to
878c8a4
Compare
YAY! CI finally passed. @juliasloan25 , @charleskawczynski if you would like to give a final review, then if approved, I'll go ahead with squashing/reducing commits. Thanks everybody! |
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.
looks good! Just a few small comments
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.
looks good! Just a few small comments
655979e
to
78bfaeb
Compare
bors r+ |
293: Update to ClimaAtmos v0.11.0 and ClimaLSM v0.2.3 r=valeriabarra a=valeriabarra ## Purpose The Purpose of this PR is to update the `experiments/AMIP/modular` environment to use the latest ClimaAtmos release, `v0.10.0`. In order for CI integration tests to work, I also had to update the `experiments/AMIP/moist_mpi_earth` environment. Closes #292 , #297 and #298 ## Content - Modified `compat` entries in the top-level env, the `experiments/AMIP/modular` env, and the `experiments/AMIP/moist_mpi_earth` environments to be able to update using the Package manager - Updated to the latest `ClimaLSM` v0.2.3 release - Updated to the latest `ClimaAtmos` v0.11.0 release - Updated the `ClimaAtmos`-related CLI options - Updated to the most recent `ClimaCore`, `ClimaLSM`, and `ClimaAtmos` API Review checklist I have: - followed the codebase contribution guide: https://clima.github.io/ClimateMachine.jl/latest/Contributing/ - followed the style guide: https://clima.github.io/ClimateMachine.jl/latest/DevDocs/CodeStyle/ - followed the documentation policy: https://github.com/CliMA/policies/wiki/Documentation-Policy - checked that this PR does not duplicate an open PR. In the Content, I have included - relevant unit tests, and integration tests, - appropriate docstrings on all functions, structs, and modules, and included relevant documentation. - [x] I have read and checked the items on the review checklist. Co-authored-by: Valeria Barra <valeriabarra21@gmail.com> Co-authored-by: LenkaNovak <lenka@caltech.edu>
Build failed: |
Bors r+ |
Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
Purpose
The Purpose of this PR is to update the
experiments/AMIP/modular
environment to use the latest ClimaAtmos release,v0.10.0
.In order for CI integration tests to work, I also had to update the
experiments/AMIP/moist_mpi_earth
environment.Closes #292 , #297 and #298
Content
compat
entries in the top-level env, theexperiments/AMIP/modular
env, and theexperiments/AMIP/moist_mpi_earth
environments to be able to update using the Package managerClimaLSM
v0.2.3 releaseClimaAtmos
v0.11.0 releaseClimaAtmos
-related CLI optionsClimaCore
,ClimaLSM
, andClimaAtmos
APIReview checklist
I have:
In the Content, I have included
relevant unit tests, and integration tests,
appropriate docstrings on all functions, structs, and modules, and included relevant documentation.
I have read and checked the items on the review checklist.