Developer Reference

  • 0.10
  • 10/21/2020
  • Public Content
Contents

dfgmres_init

Initializes the solver.

Syntax

void
dfgmres_init
(
const
MKL_INT
*n
,
const
double
*x
,
const
double
*b
,
MKL_INT
*RCI_request
,
MKL_INT
*ipar
,
double
*dpar
,
double
*tmp
);
Include Files
  • mkl.h
Description
The routine
dfgmres_init
initializes the solver. After initialization all subsequent invocations of
Intel® oneAPI Math Kernel Library
RCI FGMRES routines use the values of all parameters that are returned by
dfgmres_init
. Advanced users can skip this step and set the values in the
ipar
and
dpar
arrays directly.
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
dfgmres_check
routine, but it does not guarantee that the method will work correctly.
Input Parameters
n
Sets the size of the problem.
x
Array of size
n
. Contains the initial approximation to the solution vector. Normally it is equal to 0 or to
b
.
b
Array of size
n
. Contains the right-hand side vector.
Output Parameters
RCI_request
Gives information about the result of the routine.
ipar
Array of size
128
. Refer to the FGMRES Common Parameters.
dpar
Array of size
128
. Refer to the FGMRES Common Parameters.
tmp
Array of size
((2*
ipar
[14] + 1)*
n
+
ipar
[14]*(
ipar
[14] + 9)/2 + 1)
. Refer to the FGMRES Common Parameters.
Return Values
RCI_request
= 0
Indicates that the task completed normally.
RCI_request
= -10000
Indicates failure to complete the task.

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