-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make supernodal a configurable CMake option
- Loading branch information
Jeremiah J Wilke
authored and
jjwilke
committed
Mar 12, 2020
1 parent
0e3da51
commit 18ea3e7
Showing
12 changed files
with
49 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
IF (NOT METIS_ROOT) | ||
SET(METIS_ROOT $ENV{METIS_ROOT}) | ||
ENDIF() | ||
#we need to find one of the valid versions from the list below | ||
KOKKOSKERNELS_FIND_IMPORTED(METIS | ||
LIBRARY metis | ||
LIBRARY_PATHS ${METIS_LIBRARY_DIRS} | ||
HEADERS metis.h | ||
HEADER_PATHS ${METIS_INCLUDE_DIRS}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
function(kokkoskernels_feature_depends_on_tpls FEATURE) | ||
IF (KOKKOSKERNELS_ENABLE_${FEATURE}) | ||
FOREACH(TPL ${ARGN}) | ||
IF (NOT KOKKOSKERNELS_ENABLE_TPL_${TPL}) | ||
MESSAGE(SEND_ERROR "Feature ${FEATURE} requires TPL support for ${TPL}. Must build with -DKokkosKernels_ENABLE_TPL_${TPL}:BOOL=ON and potentially -D${TPL}_ROOT=<INSTALL> to the desired package location") | ||
ENDIF() | ||
ENDFOREACH() | ||
ENDIF() | ||
endfunction() | ||
|
||
KOKKOSKERNELS_ADD_OPTION( | ||
ENABLE_SUPERNODAL_SPTRSV | ||
OFF | ||
BOOL | ||
"Whether to build supernodal SPTRSV support") | ||
KOKKOSKERNELS_FEATURE_DEPENDS_ON_TPLS( | ||
SUPERNODAL_SPTRSV | ||
CHOLMOD | ||
SUPERLU | ||
LAPACKE | ||
CBLAS | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters