|
kusano |
7d535a |
|
|
kusano |
7d535a |
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
|
|
kusano |
7d535a |
<title>SuperLU: EXAMPLE/sp_ienv.c File Reference</title>
|
|
kusano |
7d535a |
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
kusano |
7d535a |
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Main Page
|
|
kusano |
7d535a |
Data Structures
|
|
kusano |
7d535a |
Files
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
EXAMPLE/sp_ienv.c File Reference#include "slu_Cnames.h"
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Functions
|
|
kusano |
7d535a |
int sp_ienv (int ispec)
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Function Documentation
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
int sp_ienv
|
|
kusano |
7d535a |
(
|
|
kusano |
7d535a |
int
|
|
kusano |
7d535a |
ispec
|
|
kusano |
7d535a |
)
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Purpose
|
|
kusano |
7d535a |
=======
|
|
kusano |
7d535a |
sp_ienv() is inquired to choose machine-dependent parameters for the
|
|
kusano |
7d535a |
local environment. See ISPEC for a description of the parameters.
|
|
kusano |
7d535a |
This version provides a set of parameters which should give good,
|
|
kusano |
7d535a |
but not optimal, performance on many of the currently available
|
|
kusano |
7d535a |
computers. Users are encouraged to modify this subroutine to set
|
|
kusano |
7d535a |
the tuning parameters for their particular machine using the option
|
|
kusano |
7d535a |
and problem size information in the arguments.
|
|
kusano |
7d535a |
Arguments
|
|
kusano |
7d535a |
=========
|
|
kusano |
7d535a |
ISPEC (input) int
|
|
kusano |
7d535a |
Specifies the parameter to be returned as the value of SP_IENV.
|
|
kusano |
7d535a |
= 1: the panel size w; a panel consists of w consecutive
|
|
kusano |
7d535a |
columns of matrix A in the process of Gaussian elimination.
|
|
kusano |
7d535a |
The best value depends on machine's cache characters.
|
|
kusano |
7d535a |
= 2: the relaxation parameter relax; if the number of
|
|
kusano |
7d535a |
nodes (columns) in a subtree of the elimination tree is less
|
|
kusano |
7d535a |
than relax, this subtree is considered as one supernode,
|
|
kusano |
7d535a |
regardless of their row structures.
|
|
kusano |
7d535a |
= 3: the maximum size for a supernode in complete LU;
|
|
kusano |
7d535a |
= 4: the minimum row dimension for 2-D blocking to be used;
|
|
kusano |
7d535a |
= 5: the minimum column dimension for 2-D blocking to be used;
|
|
kusano |
7d535a |
= 6: the estimated fills factor for L and U, compared with A;
|
|
kusano |
7d535a |
= 7: the maximum size for a supernode in ILU.
|
|
kusano |
7d535a |
(SP_IENV) (output) int
|
|
kusano |
7d535a |
>= 0: the value of the parameter specified by ISPEC
|
|
kusano |
7d535a |
< 0: if SP_IENV = -k, the k-th argument had an illegal value.
|
|
kusano |
7d535a |
=====================================================================
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
<address style="text-align: right;"><small>Generated on Mon Nov 22 10:23:48 2010 for SuperLU by </small></address>
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
1.5.5
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|