Skip to content

Commit

Permalink
scalapack 2.2.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Oct 24, 2023
1 parent 80ca310 commit 2999c57
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmake/libraries.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
},
"scalapack": {
"git": "https://github.com/scivision/scalapack.git",
"tag": "v2.2.1.5"
"tag": "v2.2.1.6"
},
"metis": {
"git": "https://github.com/scivision/METIS.git",
"tag": "v5.1.0.3"
},
"scotch": {
"git": "https://gitlab.inria.fr/scotch/scotch.git",
"tag": "v7.0.3"
"tag": "v7.0.4"
},

"mumps_src": {
Expand Down
5 changes: 5 additions & 0 deletions cmake/scalapack.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
include(ExternalProject)
include(GNUInstallDirs)

if(find)

if(NOT DEFINED SCALAPACK_VENDOR AND DEFINED ENV{MKLROOT})
set(SCALAPACK_VENDOR MKL)
endif()
Expand All @@ -17,6 +19,8 @@ endif()

find_package(SCALAPACK COMPONENTS ${SCALAPACK_VENDOR})

endif()

if(SCALAPACK_FOUND)
return()
endif()
Expand Down Expand Up @@ -60,6 +64,7 @@ GIT_REPOSITORY ${scalapack_url}
GIT_TAG ${scalapack_tag}
GIT_SHALLOW true
CMAKE_ARGS ${scalapack_cmake_args}
TEST_COMMAND ""
INACTIVITY_TIMEOUT 60
BUILD_BYPRODUCTS ${SCALAPACK_LIBRARIES}
CONFIGURE_HANDLED_BY_BUILD true
Expand Down
6 changes: 4 additions & 2 deletions options.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
include(GNUInstallDirs)

option(find_static "Find static libraries for Lapack and Scalapack (default shared then static search)")

if(local)
Expand Down Expand Up @@ -35,6 +33,8 @@ if((matlab OR octave) AND parallel)
message(FATAL_ERROR "Matlab / Octave requires parallel=off")
endif()

option(find "find [SCA]LAPACK" on)

option(BUILD_SHARED_LIBS "Build shared libraries")

set(CMAKE_POSITION_INDEPENDENT_CODE ON)
Expand All @@ -49,6 +49,8 @@ option(BUILD_COMPLEX16 "Build double precision complex")

option(CMAKE_TLS_VERIFY "Verify TLS certificates" ON)

set_property(DIRECTORY PROPERTY EP_UPDATE_DISCONNECTED true)

set(FETCHCONTENT_UPDATES_DISCONNECTED true)

if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
Expand Down

0 comments on commit 2999c57

Please sign in to comment.