1. 18 Nov, 2018 7 commits
    • Jakub Benda's avatar
      FindLAPACK: Unify internal variables related to MKL · 8b63265e
      Jakub Benda authored
      Auxiliary internal variables related to MKL are now consistently
      prefixed with LAPACK_mkl_ and unset at the end of the MKL section.
      8b63265e
    • Jakub Benda's avatar
      FindLAPACK: Remove MKL components already provided by MKL BLAS · ede1715c
      Jakub Benda authored
      A surplus library libmkl_gf_... has been removed from the LAPACK
      libraries serach path (when relevant, it is already provided by BLAS).
      Similarly, the thread libraries do not need to be explicitly added to
      the implicit LAPACK libraries, as they are already included in the
      list (via BLAS libraries provided by FindBLAS).
      ede1715c
    • Jakub Benda's avatar
      FindLAPACK: Prioritize Intel MKL · 03879b11
      Jakub Benda authored
      As in FindBLAS, the Intel Math Kernel Library is now the preferred
      LAPACK vendor. (The corresponding section of the code has been moved
      upwards.)
      03879b11
    • Jakub Benda's avatar
      FindBLAS: Support 32bit Intel MKL 10.3+ · b4edf7b5
      Jakub Benda authored
      The module FindBLAS now correctly finds Intel MKL distributions that do
      not have the (long deprecated) library "libguide", but use "libiomp5"
      instead.
      b4edf7b5
    • Jakub Benda's avatar
      FindBLAS: Support combination of gfortran and Intel MKL · fc149a72
      Jakub Benda authored
      The module FindBLAS now correctly chooses MKL BLAS libraries to search,
      based on the compiler ID. The MKL libraries needed for BLAS functionality
      are the following:
      
        libmkl_{gf|intel}_{lp64|ilp64}.{a|so}
        libmkl_{gnu|intel}_thread.{a|so}       (or libmkl_sequential.{a|so})
        libmkl_core.{a|so}
        libm
        libdl
        lib{gomp|iomp5}.{a|so}                 (only with libmkl_*_thread.*)
      
      To achieve the goal, the following internal variables are defined and used:
      
        BLAS_mkl_INTFACE   = "gf" or "intel"   (based on compiler ID)
        BLAS_mkl_THREADING = "gnu" or "intel"  (based on compiler ID)
        BLAS_mkl_OMP       = "gomp" or "iomp5" (based on compiler ID)
        BLAS_mkl_LM        = "-lm"             (not set on Windows)
        BLAS_mkl_DL        = "-ldl"            (not set on Windows)
      
      The default values for the first three of them are "intel" and "iomp5",
      unless a Fortran compiler is loaded with CMAKE_Fortran_COMPILER_ID
      equal to "GNU"; in such case the "gf", "gnu" and "gomp" values are used.
      
      In non-Windows systems, the thread library as well as libm and libdl are
      now added to the linker line to allow static linking of libgomp.
      fc149a72
    • Jakub Benda's avatar
      FindBLAS: Consolidate duplicated code related to MKL on Windows · f0d52f55
      Jakub Benda authored
      The code that decides which library suffix to use for MKL libraries
      in Windows was in two places. This commit consolidates it in one place.
      f0d52f55
    • Kitware Robot's avatar
      CMake Nightly Date Stamp · 6f5cdc0c
      Kitware Robot authored
      6f5cdc0c
  2. 17 Nov, 2018 1 commit
  3. 16 Nov, 2018 1 commit
  4. 15 Nov, 2018 10 commits
  5. 14 Nov, 2018 18 commits
  6. 13 Nov, 2018 3 commits