Skip to content
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

changes required for ESM16 #474

Conversation

JhanSrbinovsky
Copy link
Collaborator

@JhanSrbinovsky JhanSrbinovsky commented Nov 13, 2024

CABLE

Thank you for submitting a pull request to the CABLE Project.

Description

With these minor changes CABLE:main can be cloned directly into the ESM1.6 / UM7.3 code under umbase_hg3. NB:A lot of the changes are replicated from PRs that are waiting to be reviewed.

Fixes #473, #468

Type of change

For ESM1.6. A library can be built directly from this code

benchcab regression tessts successful:
benchmark_cable_qsub.sh.o128621374.txt


📚 Documentation preview 📚: https://cable--474.org.readthedocs.build/en/474/

@JhanSrbinovsky JhanSrbinovsky added the priority:high High priority issues that should be included in the next release. label Nov 13, 2024
@JhanSrbinovsky JhanSrbinovsky added this to the ESM1.6 FastTrack milestone Nov 13, 2024
@JhanSrbinovsky
Copy link
Collaborator Author

this is basically sub-suming branch 436 , PR#446 now

@bschroeter bschroeter mentioned this pull request Nov 14, 2024
5 tasks
Copy link
Contributor

@bschroeter bschroeter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is generally good, just a few comments around formatting and a general vent about code structure.

As per discussions with @ccarouge, we should leave the ESM1.5 directories alone and instead make these changes as new files in a comparable ESM1.6 that you will need to create:

coupled/ESM1.6
- CABLEfilesFromESM1.6

I'm not happy with the naming convention for these files, but I will save my opinions on this for another issue.

Also as discussed, we'd like to start seeing test results included in the PRs. Eventually, these are likely to be automated via benchcab, but in the interim some evidence of results from a successful would be nice to see.

@ccarouge, do you have any further comments?

src/coupled/ESM1.5/cable_surface_types.F90 Outdated Show resolved Hide resolved
src/offline/cable_surface_types.F90 Show resolved Hide resolved
src/offline/cbl_model_driver_offline.F90 Outdated Show resolved Hide resolved
@JhanSrbinovsky
Copy link
Collaborator Author

@bschroeter - see benchcab results. linked in PR description at top

@ccarouge ccarouge force-pushed the 473-adaptions-to-main-to-facilitate-esm16-buildrun-directly-from-cablemain branch from 81633ca to d4e70df Compare November 25, 2024 05:52
@ccarouge ccarouge force-pushed the 473-adaptions-to-main-to-facilitate-esm16-buildrun-directly-from-cablemain branch from d4e70df to 241a037 Compare November 25, 2024 06:01
@ccarouge
Copy link
Member

To help solve the conflicts for this PR, I've done a rebase. This messes up with the review history but that's cleaner. I'll re-do a benchcab test to check the rebase is correct.

@JhanSrbinovsky
Copy link
Collaborator Author

you must not have pushed your rebase yet?

@ccarouge
Copy link
Member

After the rebase, the benchcab run is successful with bitwise comparison:

2024-11-26 11:00:25,972 - INFO - benchcab.benchcab.py:391 - 0 failed, 168 passed

@JhanSrbinovsky the force push and the fact that all the commits are dated from 18 hours ago indicate the rebase.

Copy link
Member

@ccarouge ccarouge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to go to me. @JhanSrbinovsky can you check the changes look like what you expect, just in case I made a mistake in the rebase/conflict resolution. If you are ok with it, it's good to merge in.

@JhanSrbinovsky
Copy link
Collaborator Author

@JhanSrbinovsky the force push and the fact that all the commits are dated from 18 hours ago indicate the rebase.

I wonder why I can't git pull then? error tells me to rebase. I dont think I have any local changes

@JhanSrbinovsky
Copy link
Collaborator Author

JhanSrbinovsky commented Nov 26, 2024

@ccarouge, I reviewed here anyway. creating a coupled/ESM1.6 from these and reverting to the original ESM1.5 - is that still happening?

@JhanSrbinovsky JhanSrbinovsky dismissed bschroeter’s stale review November 26, 2024 03:22

@bschroeter - we'll address naming in issue just created #487

@JhanSrbinovsky JhanSrbinovsky merged commit 838f4c5 into main Nov 26, 2024
7 checks passed
@JhanSrbinovsky JhanSrbinovsky deleted the 473-adaptions-to-main-to-facilitate-esm16-buildrun-directly-from-cablemain branch November 26, 2024 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:high High priority issues that should be included in the next release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adaptions to main to facilitate ESM16 build/run directly from CABLE:main
4 participants