Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 10/31/2024
Public

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

Document Table of Contents

Data Fitting Function Task Status and Error Reporting

The Data Fitting routines report a task status through integer values. Negative status values indicate errors, while positive values indicate warnings. An error can be caused by invalid parameter values or a memory allocation failure.

The status codes have symbolic names predefined in the header file as integer constants via the PARAMETER operators.

If no error occurred, the function returns the DF_STATUS_OK code defined as zero:

INTEGER, PARAMETER::DF_STATUS_OK = 0

In case of an error, the function returns a non-zero error code that specifies the origin of the failure. Header files define the following status codes:

Status Codes in the Data Fitting Component

Status Code

Description

Common Status Codes

DF_STATUS_OK

Operation completed successfully.

DF_ERROR_NULL_TASK

Data Fitting task is a NULL pointer.

DF_ERROR_MEM_FAILURE

Memory allocation failure.

DF_ERROR_METHOD_NOT_SUPPORTED

Requested method is not supported.

NOTE:

The routine that estimates piecewise polynomial cubic spline coefficients can return internal error codes related to the specifics of the implementation. Such error codes indicate invalid input data or other issues unrelated to Data Fitting routines.