[cmake] Use a better FindMKL.cmake which includes also linker flags.
Also added CMake option OGS_EIGEN_USE_MKL
, see https://eigen.tuxfamily.org/dox/TopicUsingIntelMKL.html.
Some questions:
- Do we need 64-bit indices? See https://www.smcm.iqfr.csic.es/docs/intel/mkl/mkl_userguide/MKL_UG_linking_your_application/Support_for_ILP64_Programming.htm -> Can be enabled with
MKL_USE_interface=ilp64
but seems to be not supported by Eigen - Do we have a benchmark which uses MKL (for testing)? ->
ogs-Mechanics/Linear/cube_1e0_mkl
Fixes #3259 (closed).
-
Feature description was added to the changelog -
Tests covering your feature were added? -
Any new feature or behavior change was documented?
Edited by Dmitry Yu. Naumov