Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

dcgmrhs_get

Retrieves the number of the current iteration.

Syntax

dcgmrhs_get(n, x, nrhs, b, RCI_request, ipar, dpar, tmp, itercount)

Include Files

  • Fortran: mkl_rci.fi, mkl_rci.f90

Description

The routine dcgmrhs_get retrieves the current iteration number of the solving process.

Input Parameters

n

INTEGER. Sets the size of the problem.

x

DOUBLE PRECISION. Array of size n*nrhs. Contains the initial approximation to the solution vectors.

nrhs

INTEGER. Sets the number of right-hand sides.

b

DOUBLE PRECISION. Array of size n*nrhs. Contains the right-hand side .

RCI_request

INTEGER. This parameter is not used.

ipar

INTEGER. Array of size (128+2*nrhs). Refer to the CG Common Parameters.

dpar

DOUBLE PRECISION. Array of size (128+2*nrhs). Refer to the CG Common Parameters.

tmp

DOUBLE PRECISION. Array of size (n, (3+nrhs)). Refer to the CG Common Parameters.

Output Parameters

itercount

INTEGER. Array of size nrhs. Returns the current iteration number for each right-hand side.

Return Values

The routine dcgmrhs_get has no return values.