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

Add DistributedTopology2D #373

Merged
merged 3 commits into from
Jan 29, 2022
Merged

Add DistributedTopology2D #373

merged 3 commits into from
Jan 29, 2022

Conversation

kpamnany
Copy link
Contributor

@kpamnany kpamnany commented Dec 21, 2021

Closes #323.

  • Integrates ClimaComms.jl
  • Adds DistributedTopology2D and unit tests
  • Updates SpectralElementSpace2D to support a distributed topology
  • Adds a dss_2d! for a distributed topology and unit tests

Some comments:

  • Move/rename Spaces.setup_comms to something sensible
  • Multiple comments are tagged with XXX for reviewer consideration
  • DSS performance can be improved by changing ghost_faces and ghost_vertices to store useful indices (such as the neighbor index)
  • Names (of files, types and functions) need to be reconsidered (internal_vertices or interior_vertices? local_elems or real_elems? etc.)

This is squashed and tests pass locally so it's ready to merge once ClimaComms is registered.

Cc: @sriharshakandala

examples/Manifest.toml Outdated Show resolved Hide resolved
@sriharshakandala sriharshakandala force-pushed the kp/dtopo branch 2 times, most recently from b1e5f69 to bbfe6fc Compare January 25, 2022 23:15
Project.toml Outdated Show resolved Hide resolved
@simonbyrne simonbyrne closed this Jan 26, 2022
@simonbyrne simonbyrne reopened this Jan 26, 2022
bors bot added a commit that referenced this pull request Jan 26, 2022
473: drop 1.6 support, add nightly tests r=simonbyrne a=simonbyrne

Since ClimaComms is 1.7 only, we can't merge #373. Given performance issues on 1.6, it isn't worth supporting.

Co-authored-by: Simon Byrne <[email protected]>
Add `DistributedTopology2D`

Add distributed dss functionality and tests for scalar and vector fields.
revereted examples
Applied formatter.

Co-authored-by: sriharshakandala <[email protected]>
@sriharshakandala sriharshakandala force-pushed the kp/dtopo branch 2 times, most recently from 010046f to b68b9e3 Compare January 28, 2022 23:29
@sriharshakandala
Copy link
Member

bors r+

bors bot added a commit that referenced this pull request Jan 28, 2022
373: Add `DistributedTopology2D` r=sriharshakandala a=kpamnany

Closes #323.

- [X] Integrates `ClimaComms.jl`
- [X] Adds `DistributedTopology2D` and unit tests
- [X] Updates `SpectralElementSpace2D` to support a distributed topology
- [X] Adds a `dss_2d!` for a distributed topology and unit tests

Some comments:
- Move/rename `Spaces.setup_comms` to something sensible
- Multiple comments are tagged with `XXX` for reviewer consideration
- DSS performance can be improved by changing `ghost_faces` and `ghost_vertices`  to store useful indices (such as the neighbor index)
- Names (of files, types and functions) need to be reconsidered (`internal_vertices` or `interior_vertices`? `local_elems` or `real_elems`? etc.)

This is squashed and tests pass locally so it's ready to merge once `ClimaComms` is [registered](JuliaRegistries/General#52941).

Cc: `@sriharshakandala` 

Co-authored-by: K Pamnany <[email protected]>
Co-authored-by: Sriharsha Kandala <[email protected]>
@bors
Copy link
Contributor

bors bot commented Jan 29, 2022

Build failed:

@simonbyrne
Copy link
Member

bors r+

@bors
Copy link
Contributor

bors bot commented Jan 29, 2022

@bors bors bot merged commit 406fb69 into main Jan 29, 2022
@bors bors bot deleted the kp/dtopo branch January 29, 2022 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Distributed topology objects
4 participants