Initializes the RCI CG solver with MHRS.
The Fortran interface is specified in the mkl_rci.fi include file and the C interface is specified in the mkl_rci.h include file.
The routine dcgmrhs_init initializes the solver. After initialization all subsequent invocations of the Intel MKL RCI CG with multiple right hand sides (MRHS) routines use the values of all parameters that are returned by dcgmrhs_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.
INTEGER. Sets the size of the problem.
DOUBLE PRECISION matrix of size n*nrhs. Contains the initial approximation to the solution vectors. Normally it is equal to 0 or to b.
INTEGER. Sets the number of right-hand sides.
DOUBLE PRECISION matrix of size nrhs*n. Contains the right-hand side vectors.
INTEGER. Specifies the method of solution:
A value of 1 indicates CG with multiple right hand sides (default value)
INTEGER. Gives information about the result of the routine.
INTEGER array of size (128+2*nrhs). Refer to the CG Common Parameters.
DOUBLE PRECISION array of size (128+2*nrhs). Refer to the CG Common Parameters.
DOUBLE PRECISION array of size (n, 3+nrhs). Refer to the CG Common Parameters.
Copyright © 1994 - 2011, Intel Corporation. All rights reserved.