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

Update make_ww3_*_file workers and their place in the automation workflow #213

Merged
merged 4 commits into from
Nov 17, 2023

Conversation

douglatornell
Copy link
Member

@douglatornell douglatornell commented Nov 6, 2023

  • Add mpi hosts file to wave forecasts configuration

    Enables wwatch3 to be run on different VMs to those where NEMO is run. This is a step towards running wwatch3
    nowcast/forecast runs concurrently with nowcast-green.

  • Add chunks and drop_variables parameters into xarray.open_mfdataset() calls

    The hope is that these changes will resolve (or at least reduce the frequency of) the issue of one or both of the
    make_ww3* workers stalling during the ds.to_netcdf() step in which dask is computing the task graph.

  • Move make_ww3_*_file worker launches to after NEMO forecast run so that wwatch3 nowcast and forecast runs are concurrent with NEMO nowcast-green run

Enables wwatch3 to be run on different VMs to those where NEMO is run.
This is a step towards running wwatch3 nowcast/forecast runs concurrently with
nowcast-green.
@douglatornell douglatornell added documentation Improvements or additions to documentation Workers Workflow config Automation configuration labels Nov 6, 2023
@douglatornell douglatornell added this to the v23.2 milestone Nov 6, 2023
Add `chunks` and `drop_variables` parameters into `xarray.open_mfdataset()`
in both workers and tests to optimize data loading and memory usage. This update
improves efficiency and performance by limiting loading of unnecessary variables
and enables parallel processing for large datasets. The hope is that these
changes will resolve (or at least reduce the frequency of) the issue of one or
both of the `make_ww3*` workers stalling during the `ds.to_netcdf()` step in
which dask is computing the task graph.
@douglatornell douglatornell changed the title Add mpi hosts file to wave forecasts configuration Update make_ww3_*_file workers and their place in the automation workflow Nov 9, 2023
Always launch make_ww3_*_file workers after NEMO forecast finishes instead of
using a config flag to control whether they launch then or after nowcast-green
runs. Concurrency is possible because we have changed to running wwatch3 on
different VMs to NEMO.
@douglatornell
Copy link
Member Author

Launch of make_ww3_*_file workers after NEMO forecast run was successful in production on 15 & 16 Nov.

@douglatornell
Copy link
Member Author

Stalling of one or both of the make_ww3* workers during the ds.to_netcdf() step in which dask is computing the task graph remains unresolved. I'm out of ideas for how to fix that via changes to the workers. So, it's time to merge this.

@douglatornell douglatornell merged commit f19fe00 into main Nov 17, 2023
3 of 4 checks passed
@douglatornell douglatornell deleted the update_ww3-runs branch November 17, 2023 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config Automation configuration documentation Improvements or additions to documentation Workers Workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant