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

Return an error when initial partitionning fails because trying to partition a graph into too many parts #94

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ThibaultGH
Copy link

So following issue 91, I suggest those modifications.

Rather simple, I added a new variable define at compile time called METIS_ERROR_INVALID_BISECTION (set to -999999) that will be returned by function MlevelRecursiveBisection that will raise an error via the metis_rcode function.

So, from my side, the only problem might be this one :

  • if ever MlevelrecursiveBisection can, in normal functioning conditions, return the value -999999, then an error will be raised while it should not.

I tried to follow how things are done in Metis' code and hope Pr. Karypis will accept those changes, eventually after corrections.

…ionning so that it returns an error and quit instead of returning METIS_OK with an incomplete/false partitionning
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

Successfully merging this pull request may close these issues.

1 participant