You are here: Symbol Reference > Sparse Namespace > Structs, Records, Enums > Sparse.TOutofCoreMode Enumeration
MtxVec VCL
ContentsIndex
PreviousUpNext
Sparse.TOutofCoreMode Enumeration

Out-of core sparse matrix solver.

Pascal
TOutofCoreMode = ( pooNone, pooAutomatic, pooAlways );
Members 
Description 
pooNone 
Out of core solver is not used. 
pooAutomatic 
Out of core solver is used, if more than the amount of prespecified memory is required. The in-core PARDISO is used if the total memory (in MBytes) needed for storing the matrix factors is less than the value of the environment variable MKL_PARDISO_OOC_MAX_CORE_SIZE (it's default value is 2000), and OOC PARDISO is used otherwise. 
pooAlways 
Out of core is used always. 

The OOC PARDISO can solve very large problems by holding the matrix factors in files on the disk. Because of that the amount of main memory required by OOC PARDISO is significantly reduced. By default, the OOC PARDISO uses the current directory for storing data. All temporary data files can be deleted or stored when the calculations are completed in accordance with the value of the environmental variable MKL_PARDISO_OOC_KEEP_FILE. If it is set to 1 (default value) - all files are deleted, if it is set to 0 - all files are stored. 

OOC parameters can be set in the configuration file. You can set the path to this file and its name via environmental variable MKL_PARDISO_OOC_CFG_PATH and MKL_PARDISO_OOC_CFG_FILE_NAME

By default, the OOC PARDISO uses the current directory for storing data, and all work arrays associated with the matrix factors are stored in files named ooc_temp with different extensions. These default values can be changed by using the environmental variable MKL_PARDISO_OOC_PATH. To set the environmental variables: 

 

  • MKL_PARDISO_OOC_MAX_CORE_SIZE,
  • MKL_PARDISO_OOC_KEEP_FILE, and
  • MKL_PARDISO_OOC_PATH,

 

the configuration file should be created with the following lines: 

 

  • MKL_PARDISO_OOC_PATH = pathooc_file
  • MKL_PARDISO_OOC_MAX_CORE_SIZE = N
  • MKL_PARDISO_OOC_KEEP_FILE = 0 (or 1),

 

where 

 

  • "path" - is the directory for storing data,
  • ooc_file - file name without extension,
  • N - memory size in MBytes,

 

It is not recommended to set this value greater than the size of the available RAM (default value - 2000 MBytes). Alternatively the environment variables can be set via command line: 

 

  • set MKL_PARDISO_OOC_PATH = pathooc_file
  • set MKL_PARDISO_OOC_MAX_CORE_SIZE = N
  • set MKL_PARDISO_OOC_KEEP_FILE = 0 (or 1)
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!