Amesos Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
amesos_cholmod_config.h
Go to the documentation of this file.
1 /* ========================================================================== */
2 /* === Include/cholmod_config.h ============================================= */
3 /* ========================================================================== */
4 
5 /* -----------------------------------------------------------------------------
6  * CHOLMOD/Include/cholmod_config.h.
7  * Copyright (C) 2005-2006, Univ. of Florida. Author: Timothy A. Davis
8  * CHOLMOD/Include/cholmod_config.h is licensed under Version 2.1 of the GNU
9  * Lesser General Public License. See lesser.txt for a text of the license.
10  * CHOLMOD is also available under other licenses; contact authors for details.
11  * http://www.cise.ufl.edu/research/sparse
12  * -------------------------------------------------------------------------- */
13 
14 /* CHOLMOD configuration file, for inclusion in user programs.
15  *
16  * You do not have to edit any CHOLMOD files to compile and install CHOLMOD.
17  * However, if you do not use all of CHOLMOD's modules, you need to compile
18  * with the appropriate flag, or edit this file to add the appropriate #define.
19  *
20  * Compiler flags for CHOLMOD:
21  *
22  * -DNCHECK do not include the Check module. License: GNU LGPL
23  * -DNCHOLESKY do not include the Cholesky module. License: GNU LGPL
24  * -DNPARTITION do not include the Partition module. License: GNU LGPL
25  *
26  * -DNPRINT do not print anything
27  *
28  * -D'LONGBLAS=long' or -DLONGBLAS='long long' defines the integers used by
29  * LAPACK and the BLAS. Use LONGBLAS=long on Solaris to use
30  * the 64-bit Sun Performance BLAS in cholmod_l_* routines.
31  * You may need to use -D'LONGBLAS=long long' on the SGI
32  * (this is not tested).
33  *
34  * -DNSUNPERF for Solaris only. If defined, do not use the Sun
35  * Performance Library. The default is to use SunPerf.
36  * You must compile CHOLMOD with -xlic_lib=sunperf.
37  *
38  * The Core Module (License GNU LGPL) is always included in the CHOLMOD library.
39  */
40 
41 #ifndef AMESOS_CHOLMOD_CONFIG_H
42 #define AMESOS_CHOLMOD_CONFIG_H
43 
44 /* Use the compiler flag, or uncomment the definition(s), if you want to use
45  * one or more non-default installation options: */
46 
47 /*
48 #define NCHECK
49 #define NCHOLESKY
50 #define NPARTITION
51 
52 #define NPRINT
53 
54 #define LONGBLAS long
55 #define LONGBLAS long long
56 #define NSUNPERF
57 */
58 
59 /* Turning off all code that uses the GPL'ed modules */
60 #define NMATRIXOPS
61 #define NMODIFY
62 #define NSUPERNODAL
63 
64 #endif