2.2.7. Configuring Memory for the CFX-Solver

There may be instances when the CFX-Solver fails due to insufficient memory. You can determine that the CFX-Solver failed in this way as well as which of the interpolator, partitioner, or flow solver steps failed by reviewing the CFX-Solver Output file. In this case you will be required to adjust the memory configuration of the appropriate CFX-Solver step. The options available for adjusting memory are:

  • Maximal (only for partitioner memory and solver memory)

    This option allocates a fraction of the system memory, subject to the following constraints:

    • System Memory Fraction: A number between 0 and 1 to specify the fraction of the system memory eligible to be allocated. If not specified, the default is 0.8.

    • Maximum Estimate Multiple: A multiple to limit the amount of memory allocated. For example, a value of 10.0 limits the amount of memory allocated to 10 times the model based estimate. If not specified, the default is 10.

    • Not less than the model based estimate.

    The Maximal option is recommended for cases for which the model based estimate is insufficient and where compute resource usage is exclusive. Significantly more (for example, an order of magnitude) memory may be allocated than the default Model Based option (described below).

  • Model Based (default)

    Memory allocation is determined according to heuristics that consider details of the case being solved.

    Set Memory Allocation Factor to modify the memory allocation for all types of memory (real, integer, and so on). For example, a value of 1.05 for Memory Allocation Factor increases memory allocation by 5% and a value of 1.1 increases memory allocation by 10%.

    Memory overrides are available to adjust the allocation of specific types of memory as required. You can specify overrides using the number of words of memory or a memory multiplier. Use a unit of M for mega-words, K for kilo-words, or X for a memory multiplier. For example, 2 X doubles the memory allocation and 15 M means 15 million words of memory. If a value is not specified for a particular type of memory, a value calculated by the solver is used.

Catalogue Size Override: If the solver fails with a CFX-Solver Output file containing the error message *** INSUFFICIENT CATALOGUE SIZE ***, increase the Catalogue Size setting to a value above 1 until the solver runs. This parameter has the same syntax as the memory overrides mentioned above. For example, you can scale the default size by using a scale factor greater than 1, such as 1.05 X. For details, see Starting the CFX-Solver from the Command Line.