Developer Reference for Intel® oneAPI Math Kernel Library for Fortran
cluster_sparse_solver_set_ptr
Internally saves a provided pointer to the data corresponding to the specified name.
Syntax
call cluster_sparse_solver_set_ptr ( pt , name , ptr , comm , error )
Include Files
mkl_cluster_sparse_solver.f90
Description
This routine internally saves the input pointer, ptr , of the data which correspond to the provided name . The saved pointer can then be used for exporting corresponding data by means of cluster_sparse_solver_export .
Only call this routine after the factorization phase ( phase=22 ) of the cluster_sparse_solver has been called. Neither pt , nor iparm should be changed after the preceding call to cluster_sparse_solver .
Input Parameters
- pt
-
INTEGER*8 for 64-bit architectures Array with size of 64. Handle to internal data structure used in the prior calls to cluster_sparse_solver .
- name
-
INTEGER Specifies the data for which the pointer is computed. Specifies the data for which the pointer is provided.
- vals
-
Array containing elements of the vector representation for the data which corresponds to the name . Its length should be at least local_nrows , where local_nrows is the local number of rows in a corresponding matrix (obtained from cluster_sparse_solver_get_csr_size , for example). For permutations P and Q , vals is interpreted as MKL_INT* , while for the scaling it is interpreted as float* / double* ( MKL_Complex8* / MKL_Complex16* ) depending on mtype (type of the matrix A ) and iparm[27] (precision) specified in the preceding call to cluster_sparse_solver . For permutations P and Q , it is interpreted as INTEGER . For scaling D , it is interpreted as one of the following depending on mtype (type of the matrix A ) and iparm(28) (precision) specified in the preceding call to cluster_sparse_solver .
- comm
-
INTEGER*4 MPI communicator. The solver uses the Fortran MPI communicator internally. Convert the MPI communicator to Fortran using the MPI_Comm_c2f() function. See the examples in the <install_dir>/examples directory. MPI communicator. The solver uses the Fortran MPI communicator internally.
Output Parameters
- error
-
INTEGER The error indicator: