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

EAMxx: Give option for for tracers to be advected only by dynamics #6789

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

tcclevenger
Copy link
Contributor

Processes can choose for a tracer to be advected only by dynamics (not by SHOC) by passing turbulence_advected=false to add_tracer(). Guards set up to ensure all tracers requests are consistent among processes.

Moved over from E3SM-Project/scream#3085. Currently working on issue of tracer ordering between PG2 and GLL grids.

tcclevenger and others added 6 commits November 18, 2024 13:41
Increases the number of entries in the AtmosphereProcess set m_*_field_requests, but not the number of allocations. Allows us to output all instances of field requests of the same name.
@tcclevenger tcclevenger added non-BFB PR makes roundoff changes to answers. EAMxx PRs focused on capabilities for EAMxx labels Dec 2, 2024
@tcclevenger tcclevenger self-assigned this Dec 2, 2024
@bartgol
Copy link
Contributor

bartgol commented Dec 2, 2024

@tcclevenger Just to clarify: you said you're still working on ordering of tracers for PG2 and DYN grids, so is this PR not yet ready?

@tcclevenger
Copy link
Contributor Author

@tcclevenger Just to clarify: you said you're still working on ordering of tracers for PG2 and DYN grids, so is this PR not yet ready?

Yes. Do we have a WIP equiv over here so I don't let the AT run while I work on getting a fix in?

@bartgol
Copy link
Contributor

bartgol commented Dec 2, 2024

@tcclevenger Just to clarify: you said you're still working on ordering of tracers for PG2 and DYN grids, so is this PR not yet ready?

Yes. Do we have a WIP equiv over here so I don't let the AT run while I work on getting a fix in?

No we don't. But as soon as you push commits, you can click on the checks tab, and cancel all the jobs (one workflow at a time, unfortunately), if you know you're not done anyways...

Edit: But we could modify our workflows jobs so that, for pull_request events, they only run if the PR is not in draft mode...

@rljacob
Copy link
Member

rljacob commented Dec 2, 2024

What if you change it to draft PR ?

@bartgol
Copy link
Contributor

bartgol commented Dec 2, 2024

What if you change it to draft PR ?

I saw your reply just as I was editing my answer... Unfortunately, gh actions pull_request event still triggers, even if the PR is in draft mode (a debatable design choice, imho). The only way to skip them is to do something like

jobs:
  my-job:
    if: ${{ github.event_name != "pull_request" || github.event.pull_request.draft == "false" }}
    ...

@bartgol
Copy link
Contributor

bartgol commented Dec 2, 2024

@tcclevenger i removed the reviewer request. When you're ready, add them back, so gh pings me. If you'd rather us review right now, even before you fix the PG2-DYN issue, feel free to re-add me/us (I know balwinder is out for a month though).

@rljacob
Copy link
Member

rljacob commented Dec 19, 2024

@tcclevenger what is the status?

@tcclevenger
Copy link
Contributor Author

Still working on a fix for mismatch tracer indices between PG2 and GLL grid

@rljacob
Copy link
Member

rljacob commented Jan 9, 2025

@tcclevenger any progress on fix?

@tcclevenger
Copy link
Contributor Author

@tcclevenger any progress on fix?

Yes, this is what I'm currently working on. Will update as I go.

@rljacob
Copy link
Member

rljacob commented Jan 28, 2025

@tcclevenger please try to make this old PR a priority.

@rljacob rljacob requested a review from ambrad January 28, 2025 19:08
@ambrad
Copy link
Member

ambrad commented Jan 28, 2025

@rljacob is it OK if we switch this to draft?

@rljacob
Copy link
Member

rljacob commented Jan 28, 2025

Sure thats fine.

@rljacob rljacob marked this pull request as draft January 28, 2025 19:26
@ambrad
Copy link
Member

ambrad commented Jan 28, 2025

@tcclevenger would you switch this to Draft if it's not ready? We'll try out that workflow.

@tcclevenger
Copy link
Contributor Author

@tcclevenger please try to make this old PR a priority.

This is what I am currently working on, but the work is in a different branch (it contains a fundamental change to allocating groups of fields that doesn't make sense to throw onto this branch). Yes, I agree draft makes more sense for this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EAMxx PRs focused on capabilities for EAMxx non-BFB PR makes roundoff changes to answers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants