Developer Reference

Contents

dcgmrhs_check

Checks consistency and correctness of the user defined data.

Syntax

void
dcgmrhs_check
(
const
MKL_INT
*n
,
const
double
*x
,
const
MKL_INT
*nrhs
,
const
double
*b
,
MKL_INT
*RCI_request
,
MKL_INT
*ipar
,
double
*dpar
,
double
*tmp
);
Include Files
  • mkl.h
Description
The routine
dcgmrhs_check
checks the consistency and correctness of the parameters to be passed to the solver routine
dcgmrhs
. While this operation reduces the chance of making a mistake in the parameters, it does not guarantee that the solver returns the correct result.
If you are sure that the correct data is
specified
in the solver parameters, you can skip this operation.
The lengths of all vectors must be defined in a previous call to the
dcgmrhs_init
routine.
Input Parameters
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
This parameter sets the number of right-hand sides.
b
Array of size
n
*
nrhs
. Contains the right-hand side vectors.
Output Parameters
RCI_request
Returns information about the results 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 .
Return Values
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.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804