Visible to Intel only — GUID: GUID-BDE6DF91-4B2D-43B6-B29A-081D570B4223
Visible to Intel only — GUID: GUID-BDE6DF91-4B2D-43B6-B29A-081D570B4223
dcgmrhs_init
Initializes the RCI CG solver with MHRS.
void dcgmrhs_init (const MKL_INT *n , const double *x , const MKL_INT *nrhs , const double *b , const MKL_INT *method , MKL_INT *RCI_request , MKL_INT *ipar , double *dpar , double *tmp );
- mkl.h
The routine dcgmrhs_initinitializes the solver. After initialization all subsequent invocations of the Intel® oneAPI Math Kernel Library RCI CG with multiple right-hand sides (MRHS) routines use the values of all parameters that are returned bydcgmrhs_init. Advanced users may skip this step and set the values to these parameters directly in the appropriate routines.
You can modify the contents of these arrays after they are passed to the solver routine only if you are sure that the values are correct and consistent. You can perform a basic check for correctness and consistency by calling the dcgmrhs_check routine, but it does not guarantee that the method will work correctly.
- n
-
Sets the size of the problem.
- x
-
Array of size n*nrhs. Contains the initial approximation to the solution vectors. Normally it is equal to 0 or to b.
- nrhs
-
Sets the number of right-hand sides.
- b
-
Array of size n*nrhs. Contains the right-hand side vectors.
- method
-
Specifies the method of solution:
A value of 1 indicates CG with multiple right-hand sides (default value)
- RCI_request
-
Gives information about the result of the routine.
- ipar
-
Array of size (128+2*nrhs). Refer to the CG Common Parameters.
- dpar
-
Array of size (128+2*nrhs). Refer to the CG Common Parameters.
- tmp
-
Array of size (n*(3+nrhs)). Refer to the CG Common Parameters.
- RCI_request= 0
-
Indicates that the task completed normally.
- RCI_request= -10000
-
Indicates failure to complete the task.