Rust wrapper for MKL and Panua Pardiso
This crate dynamically loads the PARDISO sparse solver library and provides a safe Rust interface. It supports either MKL or Panua Pardiso backends through feature flags:
mkl
: Intel MKL implementation (x86_64 only)panua
: Panua implementation
Both options are supported via the common [PardisoInterface
] trait.
To enable dynamic linking to MKL Pardiso
,
the MKL Pardiso libary (e.g. libmkl_rt.so
) must be on the system library path
(e.g. on LD_LIBRARY_PATH
on Linux). Alternatively, set the MKLROOT
environment
variable to the root of the MKL installation or MKL_PARDISO_PATH
to the location
of the library.
To enable dynamic linking to Panua Pardiso
,
the Panua Pardiso library (e.g. libpardiso.so
) must be on the system library path
(e.g. on LD_LIBRARY_PATH
on Linux). Alternatively, set the PARDISO_PATH
environment
variable to the location of the library.
Panua Pardiso is a commercial solver and requires a separate license.