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

remove closures in driver #699

Merged
merged 1 commit into from
Mar 19, 2024
Merged

remove closures in driver #699

merged 1 commit into from
Mar 19, 2024

Conversation

juliasloan25
Copy link
Member

@juliasloan25 juliasloan25 commented Mar 18, 2024

Purpose

Remove closures over global variables in coupler_driver.jl to improve performance.

This includes changes for:

  • comms_ctx
  • mono_surface
  • turbulent_fluxes
  • thermo_params

Copy link
Collaborator

@LenkaNovak LenkaNovak left a comment

Choose a reason for hiding this comment

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

Thanks for doing this, @juliasloan25. So far, only a couple of minor comments and happy to approve once CI passes.

config/model_configs/interactive_debug.yml Outdated Show resolved Hide resolved
experiments/AMIP/coupler_driver.jl Show resolved Hide resolved
@juliasloan25 juliasloan25 enabled auto-merge March 19, 2024 15:27
@juliasloan25 juliasloan25 merged commit a554cd0 into main Mar 19, 2024
7 checks passed
@juliasloan25 juliasloan25 deleted the js/driver-closures branch March 19, 2024 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants