summaryrefslogtreecommitdiffstats
path: root/Modules/FindLAPACK.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindBLAS: Replace set(A val) with string(APPEND)Igor S. Gerasimov2021-10-071-1/+1
|
* FindLAPACK: Replace set(A val) with string(APPEND)Igor S. Gerasimov2021-10-071-5/+5
|
* FindLAPACK: Stop processing if LAPACK library does not have 64-bit integer APIIgor S. Gerasimov2021-10-051-33/+51
|
* FindLAPACK: Search 32/64-bit integer API via BLA_SIZEOF_INTEGER if possibleIgor S. Gerasimov2021-10-051-4/+82
|
* FindLAPACK: Update Generic LAPACKIgor S. Gerasimov2021-09-221-1/+4
|
* FindLAPACK: Update FlexiBLASIgor S. Gerasimov2021-09-221-1/+5
|
* FindLAPACK: Update OpenBLASIgor S. Gerasimov2021-09-221-1/+5
|
* FindLAPACK: Update NVHPCIgor S. Gerasimov2021-09-221-1/+6
|
* FindLAPACK: EML: LAPACK is in BLASIgor S. Gerasimov2021-09-221-18/+2
|
* FindLAPACK: IBMESSL: LAPACK is in BLASIgor S. Gerasimov2021-09-221-18/+2
|
* FindLAPACK: Fujitsu_SSL2: LAPACK is in BLASIgor S. Gerasimov2021-09-221-26/+3
|
* Merge topic 'SCS_mp'Brad King2021-07-291-0/+24
|\ | | | | | | | | | | | | | | 069a5c3188 FindLAPACK: SCSL also has LAPACK routines dbcc5eaa05 FindBLAS: Update SCSL library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6402
| * FindLAPACK: SCSL also has LAPACK routinesIgor S. Gerasimov2021-07-281-0/+24
| |
* | FindLAPACK: IBM ESSL 6.1 also has LAPACK routinesIgor S. Gerasimov2021-07-281-0/+24
|/
* Find{BLAS,LAPACK}: clean variablesSeth R Johnson2021-07-141-9/+12
|
* Find{BLAS,LAPACK}: improve found message on CraySeth R Johnson2021-07-141-1/+6
| | | | | | | | | | | | | | | | | | With Cray compiler wrappers (implicitly tested on OLCF Spock) the BLAS and LAPACK libraries are automatically linked as necessary through the wrapper script and programming environment. With this change, the configure output is: ``` -- Found BLAS: implicitly linked <snip> -- Found LAPACK: implicitly linked ``` rather than ``` -- Found BLAS: 1 <snip> -- Found LAPACK: LAPACK_LIBRARIES-PLACEHOLDER-FOR-EMPTY-LIBRARIES ```
* Find{BLAS,LAPACK}: Avoid clobbering results when no vendor is requestedBrad King2021-07-121-2/+2
| | | | | | | | | | | | Logic added by commit 4c74c86f40 (FindBLAS/LAPACK: Add support for the Fujitsu SSL2 library, 2021-01-27, v3.21.0-rc1~402^2~1) accidentally expressed a boolean condition without proper grouping. The pattern was then copied by commit 2c9e623e31 (Find{BLAS,LAPACK}: Add support for the NVHPC LAPACK library, 2021-05-05, v3.21.0-rc1~192^2). The resulting logic incorrectly tries Fujitsu and NVHPC vendors even after results are found from another vendor, and then erases those. Fix the grouping. Fixes: #22403
* Merge topic 'FindBLAS-LAPACK-docs'Brad King2021-06-141-66/+25
|\ | | | | | | | | | | | | | | | | | | | | | | 5bf1651452 Find{BLAS,LAPACK}: Revise and extend Intel MKL usage documentation 8585a12bd9 Find{BLAS,LAPACK}: Move enabled language requirement to top of documentation 6a7c055f96 Find{BLAS,LAPACK}: Revise formatting of intro docs 43b581367d Find{BLAS,LAPACK}: Move implementation note from docs to comments 3beac78a13 Find{BLAS,LAPACK}: Revise imported targets documentation layout 6f305cd5fd Find{BLAS,LAPACK}: Factor out vendor documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6218
| * Find{BLAS,LAPACK}: Revise and extend Intel MKL usage documentationBrad King2021-06-111-6/+13
| | | | | | | | Fixes: #22295
| * Find{BLAS,LAPACK}: Move enabled language requirement to top of documentationBrad King2021-06-111-1/+2
| |
| * Find{BLAS,LAPACK}: Revise formatting of intro docsBrad King2021-06-111-1/+3
| |
| * Find{BLAS,LAPACK}: Move implementation note from docs to commentsBrad King2021-06-111-4/+3
| |
| * Find{BLAS,LAPACK}: Revise imported targets documentation layoutBrad King2021-06-111-3/+3
| |
| * Find{BLAS,LAPACK}: Factor out vendor documentationBrad King2021-06-111-52/+2
| | | | | | | | | | Move the list of vendors to a dedicated section shared by both modules. Format it as a definition list.
* | Find{BLAS,LAPACK}: Update for Intel oneAPI structure under MKLROOTPeter Knowles2021-06-111-1/+3
|/ | | | | Add search paths for the Intel oneAPI MKL directory structure so that we do not rely on paths in `LD_LIBRARY_PATH`.
* Find{BLAS,LAPACK}: Add support for the NVHPC LAPACK libraryRobert Maynard2021-05-051-0/+20
|
* FindLAPACK: Fix finding generic LAPACK with BLA_STATICBrad King2021-04-211-1/+9
| | | | Fixes: #21071
* Find{BLAS,LAPACK}: Simplify search for static librariesBrad King2021-04-211-25/+13
| | | | | | | | Now that `CHECK_{BLAS,LAPACK}_LIBRARIES` are functions, we can set `CMAKE_FIND_LIBRARY_SUFFIXES` locally without affecting the global state. This avoids the need for local state switching that was added in commit 9ef82d95d8 (FindBLAS: Fix detection of OpenMP as dependency of BLA_STATIC, 2021-04-07, v3.20.1~3^2), so remove that.
* Find{BLAS,LAPACK}: Simplify check_function_exists state maintenanceBrad King2021-04-211-5/+1
| | | | | Now that `CHECK_{BLAS,LAPACK}_LIBRARIES` are functions, we can set `CMAKE_REQUIRED_QUIET` locally without affecting the global state.
* Find{BLAS,LAPACK}: Make library variable names more robustBrad King2021-04-141-5/+6
|
* Find{BLAS,LAPACK}: Generalize recognition of dependencies as link flagsBrad King2021-04-141-2/+2
|
* Find{BLAS,LAPACK}: Convert internal CHECK_*_LIBRARIES to functionsBrad King2021-04-141-26/+16
|
* Find{BLAS,LAPACK}: Clarify name of internal argument for dependenciesBrad King2021-04-141-5/+5
|
* Find{BLAS,LAPACK}: Simplify appending to list of librariesBrad King2021-04-141-3/+3
|
* Find{BLAS,LAPACK}: Revert bad refactoring of internal CHECK_*_LIBRARIESBrad King2021-04-141-7/+9
| | | | | | | | | | | | | | | | | | | Refactoring in commit 4c74c86f40 (FindBLAS/LAPACK: Add support for the Fujitsu SSL2 library, 2021-01-27) was done in order to support calling `find_library` on the dependencies as well as the candidate libraries. However, it broke a few things: * Intel MKL's BLAS/LAPACK are no longer found. We specify their dependencies using `-l...` flags, so we should not try to use `find_library` for them. * The dependencies are repeated because we accumulate them in the `find_library` search loop and then append them at the end too. Revert the incorrect part of the refactoring. Retain the flags part needed for the Fujitsu vendor. Fixes: #22056
* FindBLAS/LAPACK: Add support for the Fujitsu SSL2 libraryChuck Atkins2021-03-311-16/+67
| | | | | | | | This also does some additional work to fix issues with libraries provided only via compiler options and no explicit library names. Co-Author: Yuichiro Utsumi <utsumi.yuichiro@jp.fujitsu.com>
* FindLAPACK: Add pkgconfig supportFlorent Pruvost2021-01-141-16/+42
| | | | | | - mimic FindBLAS Fixes: #21700
* Find{BLAS,LAPACK}: Add support for Elbrus Math LibraryIgor S. Gerasimov2020-12-091-0/+29
| | | | http://mossigplan.acm.org/EML_introduction_engl.pdf
* Help: Add `.. versionadded` directives to module docsNikita Nemkin2020-12-021-0/+21
| | | | Issue: #19715
* Find{BLAS,LAPACK}: Add support for FlexiBLASMattias Ellert2020-09-141-0/+17
| | | | http://www.mpi-magdeburg.mpg.de/mpcsc/software/FlexiBLAS/
* FindLAPACK: Use find_package_handle_standard_argsSeth R Johnson2020-08-071-296/+276
| | | | LAPACK previously used custom and verbose output messages.
* Merge topic 'find-blas-lapack-mklroot-win'Brad King2020-07-081-1/+1
|\ | | | | | | | | | | | | | | 196f042b58 FindLAPACK: Handle Windows Intel MKLROOT with backslash 96c19ecd55 FindBLAS: Handle Windows Intel MKLROOT with backslash Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4982
| * FindLAPACK: Handle Windows Intel MKLROOT with backslashMichael Hirsch2020-07-071-1/+1
| |
* | FindLAPACK use NAMES_PER_DIRSibi Siddharthan2020-07-011-0/+1
| | | | | | | | Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
* | Find{BLAS,LAPACK}: Add missing thread library for Intel MKL on Win32evatux2020-06-231-1/+1
| | | | | | | | | | | | | | | | | | The patch also updates the documentation to explicitly state that Intel10_32 stands for threaded case (linked with Intel OpenMP). Later, one may need to add Intel10_32_seq to support linking with the sequential version of Intel MKL. Fixes: #20857
* | FindLAPACK: Extend search directories for MKLevatux2020-06-161-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | Even though Intel MKL typically puts the libraries under `$MKLROOT/lib/$arch_$os` some installations may still use `$MKLROOT/lib/$arch/` path. Ideally, `$arch` should be a symlink to `$arch_$os`, but sometimes the opposite happens (for instance, see Intel MKL distribution in Arch Linux [1]), and sometimes only `$arch` directory alone is present. This patch extends the search list with `$MKLROOT/lib/$arch` with lower priority than `$MKLROOT/lib/$arch_$os`, as the latter is the official path to Intel MKL libraries. It is also worth mentioning that Intel MKL Link Line Adviser [2] recommends using `$MKLROOT/lib/$arch` directory in a link line: ``` -L${MKLROOT}/lib/intel64 -Wl,--no-as-needed -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl ``` [1] https://www.archlinux.org/packages/community/x86_64/intel-mkl/files/ [2] https://software.intel.com/content/www/us/en/develop/articles/intel-mkl-link-line-advisor.html
* FindLAPACK: Provide the LAPACK::LAPACK import targetRobert Maynard2020-04-271-0/+25
|
* Find{BLAS,LAPACK}: Add support for ArmPL targetsOlly Perks2020-04-091-0/+34
| | | | | | | Add support for the Arm Performance Libraries (ArmPL) which provide an implementation of BLAS, LAPACK and FFTW for use on Arm Linux systems: https://developer.arm.com/tools-and-software/server-and-hpc/compile/arm-compiler-for-linux/arm-performance-libraries
* Find{BLAS,LAPACK}: Include parent of points directory in searchMario Emmenlauer2020-01-311-0/+6
| | | | | | | This is required if MKLROOT points to the subdirectory .../mkl/ instead of the root of an Intel MKL library installation. Only in this case the MKL will be searched starting from the parent directory, to detect relevant dependencies in parallel subdirectories, like 'compiler' and 'tbb'.
* Find{BLAS,LAPACK}: Fixed an incorrect use of a macro argumentMario Emmenlauer2020-01-311-5/+6
|