pardisoinit
pardisoinit
Initialize PARDISO with default parameters in accordance with the matrix type.
Intel® oneAPI Math Kernel Library
Syntax
void
pardisoinit
(
_MKL_DSS_HANDLE_t
pt
,
const
MKL_INT
*mtype
,
MKL_INT
*iparm
);
Include Files
- mkl.h
Description
This function initializes the solver handle PARDISO with zero values (as needed for the very first
call of ) and sets default
pt
for Intel® oneAPI Math Kernel Library
pardiso
iparm
values in accordance with the matrix type mtype
. The recommended way is to avoid using
pardisoinit
and to initialize pt
and set the values of the iparm
array manually as the default parameters might not be the best for a particular use case.An alternative method to set default
iparm
values is to call pardiso
in the analysis phase with iparm(1)=0
. In this case, the solver handle pt
must be initialized with zero values.The PARDISO. Switching to the out-of-core version of PARDISO as well as changing default
pardisoinit
routine initializes only the in-core version of Intel® oneAPI Math Kernel Library
Intel® oneAPI Math Kernel Library
iparm
values can be done after the call to pardisoinit
but before the first call to pardiso
.The
pardisoinit
routine cannot be used together with the pardiso_64
routine.Input Parameters
- mtype
- Matrix type. Based on this valuepardisoinitchooses default values for theiparmarray. Refer to the section oneMKL PARDISO Parameters in Tabular Formfor more details about the default values ofPARDISO.Intel® oneAPI Math Kernel Library
Output Parameters
- pt
- Array of size 64. Handle to internal data structure. Thepardisoinitroutine nullifies the arraypt.It is very important thatptis initialized with zero before the first call ofPARDISO. After that first call you must never modify the array, because it could cause a serious memory leak or a crash.Intel® oneAPI Math Kernel Library
- iparm
- Array of size 64. This array is used to set various options forPARDISO and to return some useful information after execution of the solver. TheIntel® oneAPI Math Kernel Librarypardisoinitroutine fills in theiparmarray with the default values. Refer to the section oneMKL PARDISO Parameters in Tabular Form for more details about the default values ofPARDISO.Intel® oneAPI Math Kernel Library