Skip to content

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

Open
ThibaultGH wants to merge 3 commits intoKarypisLab:masterfrom
ThibaultGH:master
Open

Return an error when initial partitionning fails because trying to partition a graph into too many parts#94
ThibaultGH wants to merge 3 commits intoKarypisLab:masterfrom
ThibaultGH:master

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