Skip to content

Commit

Permalink
fix for 8proc and above
Browse files Browse the repository at this point in the history
  • Loading branch information
wortiz committed Apr 4, 2024
1 parent 43c0f20 commit 43b3da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metis_decomp.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ goma_error goma_metis_decomposition(char **filenames, int n_files) {
int *partitions = malloc(sizeof(int) * monolith->num_elems);
idx_t n_parts = Num_Proc;

if (Decompose_Type == 1 || (Decompose_Type == 0 && n_parts < 8)) {
if (Decompose_Type == 1 || Decompose_Type == 0) {
DPRINTF(stdout, "\nInternal METIS decomposition using Recursive Bisection.\n\n");
METIS_PartGraphRecursive(&monolith->num_elems, &n_con, elem_adj_pntr, elem_adj_list, vwgt, NULL,
NULL, &n_parts, NULL, NULL, options, &edgecut, partitions);
Expand Down

0 comments on commit 43b3da3

Please sign in to comment.