diff --git a/examples/partitioning.jl b/examples/partitioning.jl index 687913b..47a0e8b 100644 --- a/examples/partitioning.jl +++ b/examples/partitioning.jl @@ -1,14 +1,16 @@ using NamedGraphs -using KaHyPar using Metis g = named_grid((4, 4)) npartitions = 4 -pg_kahypar = PartitionedGraph(g; npartitions, backend="KaHyPar") pg_metis = PartitionedGraph(g; npartitions, backend="Metis") -@show nv(partitioned_graph(pg_kahypar)) == nv(partitioned_graph(pg_metis)) == npartitions - -@show pg_kahypar isa PartitionedGraph @show pg_metis isa PartitionedGraph + +if !Sys.iswindows() + using KaHyPar + pg_kahypar = PartitionedGraph(g; npartitions, backend="KaHyPar") + @show nv(partitioned_graph(pg_kahypar)) == nv(partitioned_graph(pg_metis)) == npartitions + @show pg_kahypar isa PartitionedGraph +end