Intel® Math Kernel Library 2019 Developer Reference - C
Retrieves additional values from or sets additional values in the Intel MKL PARDISO handle.
MKL_INT pardiso_getenv (const _MKL_DSS_HANDLE_t handle, const enum PARDISO_ENV_PARAM *param, char *value);
MKL_INT pardiso_setenv (_MKL_DSS_HANDLE_t handle , const enum PARDISO_ENV_PARAM *param, const char *value);
These functions operate with the Intel MKL PARDISO handle. The pardiso_getenv routine retrieves additional values from the Intel MKL PARDISO handle, and pardiso_setenv sets specified values in the Intel MKL PARDISO handle.
These functions enable retrieving and setting the name of the Intel MKL PARDISO OOC file.
To retrieve the Intel MKL PARDISO OOC file name, you can apply this function to any properly-created handle.
To set the Intel MKL PARDISO OOC file name in the handle you must call the function before the reordering stage. This is because the OOC file name is stored in the handle after the reordering stage and it is not changed during further computations.
A 1024-byte internal buffer is used inside Intel MKL PARDISO for storing the OOC file name. Allocate a 1024-byte buffer for passing to the pardiso_getenv function as the value parameter.
Intel MKL PARDISO handle for which to set and from which to retrieve information. (See DSS Interface Description for structure description)
Specifies the required parameter. The only value is PARDISO_OCC_FILE_NAME, defined in the corresponding include file.
Input parameter for pardiso_setenv. Contains the name of the OOC file that must be used in the handle.
Output parameter for pardiso_setenv. Data object of the MKL_DSS_HANDLE type (see DSS Interface Description).
Output parameter for pardiso_getenv. Contains the name of the OOC file which must be used in the handle.