Skip to content

Commit

Permalink
Added kahip paritioner to engine.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquinffernandez committed Aug 29, 2024
1 parent 1877177 commit 9c93bdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/engine/common/data.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ typedef enum {
SD_DBG_Dt = 1 << 8
} SD_Debug;

typedef enum { SD_Metis, SD_HMetis, SD_Scotch, SD_Patoh, SD_Manual } SD_PartitionMethod;
typedef enum { SD_Metis, SD_HMetis, SD_Scotch, SD_Patoh, SD_Manual, SD_KaHIP } SD_PartitionMethod;

typedef enum { SD_DT_Fixed, SD_DT_Adaptive, SD_DT_AdaptiveDiscrete } SD_DtSynch;

Expand Down
4 changes: 3 additions & 1 deletion src/engine/common/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ SD_PartitionMethod _getPartitionMethod(const char *sol)
return SD_Patoh;
} else if (!strcmp(sol, "Manual")) {
return SD_Manual;
} else if (!strcmp(sol, "KaHIP")) {
return SD_KaHIP;
}
return SD_Metis;
return SD_Scotch;
}

SD_DtSynch _getDtSynch(const char *sol)
Expand Down

0 comments on commit 9c93bdb

Please sign in to comment.