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

Partitioning in 2 when nparts is only 2 #68

Open
dj-park opened this issue Jun 9, 2023 · 0 comments
Open

Partitioning in 2 when nparts is only 2 #68

dj-park opened this issue Jun 9, 2023 · 0 comments

Comments

@dj-park
Copy link

dj-park commented Jun 9, 2023

2 1 011
1 2 1 
2 1 1 

Graph file looks like above.
There are only two nodes, one with weight of 1 and another with weight of 2.
If I do
gpmetis -ptype=rb test_graphfile 2
the result is

1
1

I thought it's intuitive to return 0,1 when there are only two nodes and I am trying to partition them into two.
Is this expected?

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

No branches or pull requests

1 participant