Visible to Intel only — GUID: GUID-C1B76FB5-E87B-4717-B3A2-A611F8D93D1D
Visible to Intel only — GUID: GUID-C1B76FB5-E87B-4717-B3A2-A611F8D93D1D
dcg_check
Checks consistency and correctness of the user defined data.
dcg_check(n, x, b, RCI_request, ipar, dpar, tmp)
- Fortran: mkl_rci.fi, mkl_rci.f90
The routine dcg_check checks consistency and correctness of the parameters to be passed to the solver routine dcg. However this operation does not guarantee that the solver returns the correct result. It only reduces the chance of making a mistake in the parameters of the method. Skip this operation only if you are sure that the correct data is specified in the solver parameters.
The lengths of all vectors must be defined in a previous call to the dcg_init routine.
If none of the stopping criteria (ipar(8)-ipar(10)) has been enabled, both ipar(8) and ipar(9) will be set to 1.
- ipar
-
Array of size 128. Refer to the FGMRES Common Parameters.
- n
-
INTEGER. Sets the size of the problem.
- x
-
DOUBLE PRECISION. Array of size n. Contains the initial approximation to the solution vector. Normally it is equal to 0 or to b.
- b
-
DOUBLE PRECISION. Array of size n. Contains the right-hand side vector.
- RCI_request
-
INTEGER. Gives information about result of the routine.
- ipar
-
INTEGER. Array of size 128. Refer to the CG Common Parameters. Only ipar(8)-ipar(9) might be changed
- dpar
-
DOUBLE PRECISION. Array of size 128. Refer to the CG Common Parameters.
- tmp
-
DOUBLE PRECISION. Array of size (n,4). Refer to the CG Common Parameters.
- RCI_request= 0
-
Indicates that the task completed normally.
- RCI_request= -1100
-
Indicates that the task is interrupted and the errors occur.
- RCI_request= -1001
-
Indicates that there are some warning messages.
- RCI_request= -1010
-
Indicates that the routine changed some parameters to make them consistent or correct.
- RCI_request= -1011
-
Indicates that there are some warning messages and that the routine changed some parameters.