Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
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

pardiso_handle_store

Store internal structures from pardiso to a file.

Syntax

void pardiso_handle_store (_MKL_DSS_HANDLE_t pt, const char *dirname, MKL_INT *error);

Include Files

  • mkl.h

Description

This function stores Intel® oneAPI Math Kernel Library (oneMKL) PARDISO structures to a file, allowing you to store Intel® oneAPI Math Kernel Library (oneMKL) PARDISO internal structures between the stages of thepardiso routine. The pardiso_handle_restoreroutine can restore the Intel® oneAPI Math Kernel Library (oneMKL) PARDISO internal structures from the file.

Input Parameters

pt

Array with a size of 64. Handle to internal data structure.

dirname

String containing the name of the directory to which to write the files with the content of the internal structures. Use an empty string ("") to specify the current directory. The routine creates a file named handle.pds in the directory.

Output Parameters

pt

Handle to internal data structure.

error

The error indicator.

error
Information
0

No error.

-2

Not enough memory.

-10

Cannot open file for writing.

-11

Error while writing to file.

-13

Wrong file format.