1 /* ========================================================================== */
2 /* === Include/cholmod_config.h ============================================= */
3 /* ========================================================================== */
4 
5 /* -----------------------------------------------------------------------------
6  * CHOLMOD/Include/cholmod_config.h.
7  * Copyright (C) 2005-2013, Univ. of Florida.  Author: Timothy A. Davis
8  * -------------------------------------------------------------------------- */
9 
10 /* CHOLMOD configuration file, for inclusion in user programs.
11  *
12  * You do not have to edit any CHOLMOD files to compile and install CHOLMOD.
13  * However, if you do not use all of CHOLMOD's modules, you need to compile
14  * with the appropriate flag, or edit this file to add the appropriate #define.
15  *
16  * Compiler flags for CHOLMOD:
17  *
18  * -DNCHECK	    do not include the Check module.
19  * -DNCHOLESKY	    do not include the Cholesky module.
20  * -DNPARTITION	    do not include the Partition module.
21  * -DNCAMD          do not include the interfaces to CAMD,
22  *                  CCOLAMD, CSYMAND in Partition module.
23  * -DNMATRIXOPS	    do not include the MatrixOps module.
24  * -DNMODIFY	    do not include the Modify module.
25  * -DNSUPERNODAL    do not include the Supernodal module.
26  *
27  * -DNPRINT	    do not print anything
28  *
29  * -D'LONGBLAS=long' or -DLONGBLAS='long long' defines the integers used by
30  *		    LAPACK and the BLAS.  Use LONGBLAS=long on Solaris to use
31  *		    the 64-bit Sun Performance BLAS in cholmod_l_* routines.
32  *		    You may need to use -D'LONGBLAS=long long' on the SGI
33  *		    (this is not tested).
34  *
35  * -DNSUNPERF	    for Solaris only.  If defined, do not use the Sun
36  *		    Performance Library.  The default is to use SunPerf.
37  *		    You must compile CHOLMOD with -xlic_lib=sunperf.
38  *
39  * The Core Module is always included in the CHOLMOD library.
40  */
41 
42 #ifndef CHOLMOD_CONFIG_H
43 #define CHOLMOD_CONFIG_H
44 
45 /* Use the compiler flag, or uncomment the definition(s), if you want to use
46  * one or more non-default installation options: */
47 
48 /*
49 #define NCHECK
50 #define NCHOLESKY
51 #define NCAMD
52 #define NPARTITION
53 
54 #define NMATRIXOPS
55 #define NMODIFY
56 #define NSUPERNODAL
57 
58 #define NPRINT
59 
60 #define LONGBLAS long
61 #define LONGBLAS long long
62 #define NSUNPERF
63 */
64 
65 /* The option disables the MatrixOps, Modify, and Supernodal modules.  The
66     existence of this #define here, and its use in these 3 modules, does not
67     affect the license itself; see CHOLMOD/Doc/License.txt for your actual
68     license.
69  */
70 #ifdef NGPL
71 #define NMATRIXOPS
72 #define NMODIFY
73 #define NSUPERNODAL
74 #endif
75 
76 #endif
77