Developer Reference for Intel® oneAPI Math Kernel Library for Fortran
sparse_matrix_checker_init
Initializes handle for sparse matrix checker.
Syntax
call sparse_matrix_checker_init ( handle )
Include Files
mkl_sparse_handle.fi , mkl_sparse_handle.f90
Description
The sparse_matrix_checker_init routine initializes the handle for the sparse_matrix_checker routine. The handle variable contains this data:
Field |
Type |
Possible Values |
Meaning |
|---|---|---|---|
n |
INTEGER |
number of rows of the matrix stored in sparse array. |
|
csr_ia |
INTEGER (C_INTPTR_T) |
Pointer to ia array for matrix_format = MKL_CSR |
|
csr_ja |
INTEGER (C_INTPTR_T) |
Pointer to ja array for matrix_format = MKL_CSR |
|
check_result(3) |
INTEGER (KIND=4) |
See Sparse Matrix Checker Error Values for a description of the values returned in check_result. |
Indicates location of problem in array when message_level = MKL_NO_PRINT. |
indexing |
INTEGER (KIND=4) |
|
Indexing style used in array. |
matrix_structure |
INTEGER (KIND=4) |
|
Type of sparse matrix stored in array. |
matrix_format |
INTEGER (KIND=4) |
MKL_CSR |
Format of array used for sparse matrix storage. |
message_level |
INTEGER (KIND=4) |
|
Determines whether or not feedback is provided on the screen. |
print_style |
INTEGER (KIND=4) |
|
Determines style of messages when message_level = MKL_PRINT . |
Input Parameters
handle
TYPE (SPARSE_STRUCT), INTENT(INOUT)
Pointer to the data structure describing the sparse array to check.
Output Parameters
- handle
-
Pointer to the initialized data structure.