]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Also link with LAPACK libraries 7853/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Thu, 21 Mar 2019 19:35:02 +0000 (20:35 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Thu, 21 Mar 2019 19:35:02 +0000 (20:35 +0100)
cmake/configure/configure_scalapack.cmake

index a91457f379c255e470d197aa5cfe876d7adbcb64..08820ceecbbd7f92646fb83a56118078d52a9270 100644 (file)
@@ -28,7 +28,7 @@ MACRO(FEATURE_SCALAPACK_FIND_EXTERNAL var)
     CHECK_MPI_INTERFACE(SCALAPACK ${var})
 
     IF (${var})
-      SET(CMAKE_REQUIRED_LIBRARIES ${SCALAPACK_LIBRARIES})
+      SET(CMAKE_REQUIRED_LIBRARIES ${SCALAPACK_LIBRARIES} ${LAPACK_LIBRARIES})
       CHECK_C_SOURCE_COMPILES("
         void pdsyevr_();
         void pssyevr_();

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.