Skip to content

Commit

Permalink
Flattened topo as partition input (#126)
Browse files Browse the repository at this point in the history
* Flattened topo as partition input

* Bump adios2 version on CI
  • Loading branch information
jorgensd authored Jun 3, 2024
1 parent 2c7ceda commit 39f112c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_package_openmpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

strategy:
matrix:
adios2: ["default", "v2.9.2", "v2.10.0"]
adios2: ["default", "v2.9.2", "v2.10.1"]
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

strategy:
matrix:
adios2: ["v2.10.0"]
adios2: ["v2.10.1"]
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion src/adios4dolfinx/checkpointing.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ def read_mesh_data(
)

def partitioner(comm: MPI.Intracomm, n, m, topo):
assert len(partition_graph.offsets) - 1 == topo.num_nodes
assert len(topo[0]) % (len(partition_graph.offsets) - 1) == 0
return partition_graph
else:
partitioner = dolfinx.cpp.mesh.create_cell_partitioner(ghost_mode)
Expand Down

0 comments on commit 39f112c

Please sign in to comment.