/usr/include/suitesparse/cholmod_config.h is in libsuitesparse-dev 1:3.4.0-2ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | /* ========================================================================== */
/* === Include/cholmod_config.h ============================================= */
/* ========================================================================== */
/* -----------------------------------------------------------------------------
* CHOLMOD/Include/cholmod_config.h.
* Copyright (C) 2005-2006, Univ. of Florida. Author: Timothy A. Davis
* CHOLMOD/Include/cholmod_config.h is licensed under Version 2.1 of the GNU
* Lesser General Public License. See lesser.txt for a text of the license.
* CHOLMOD is also available under other licenses; contact authors for details.
* http://www.cise.ufl.edu/research/sparse
* -------------------------------------------------------------------------- */
/* CHOLMOD configuration file, for inclusion in user programs.
*
* You do not have to edit any CHOLMOD files to compile and install CHOLMOD.
* However, if you do not use all of CHOLMOD's modules, you need to compile
* with the appropriate flag, or edit this file to add the appropriate #define.
*
* If you wish to use CHOLMOD under the GNU LGPL license only, then you must
* compile CHOLMOD with -DNMATRIXOPS -DNSUPERNODAL and -DNMODIFY. This can
* be done using just -DNGPL.
*
* Compiler flags for CHOLMOD:
*
* -DNCHECK do not include the Check module. License: GNU LGPL
* -DNCHOLESKY do not include the Cholesky module. License: GNU LGPL
* -DNPARTITION do not include the Partition module. License: GNU LGPL
*
* -DNGPL do not include any GNU GPL Modules in the CHOLMOD library.
* -DNMATRIXOPS do not include the MatrixOps module. License: GNU GPL
* -DNMODIFY do not include the Modify module. License: GNU GPL
* -DNSUPERNODAL do not include the Supernodal module. License: GNU GPL
*
* -DNPRINT do not print anything
*
* -D'LONGBLAS=long' or -DLONGBLAS='long long' defines the integers used by
* LAPACK and the BLAS. Use LONGBLAS=long on Solaris to use
* the 64-bit Sun Performance BLAS in cholmod_l_* routines.
* You may need to use -D'LONGBLAS=long long' on the SGI
* (this is not tested).
*
* -DNSUNPERF for Solaris only. If defined, do not use the Sun
* Performance Library. The default is to use SunPerf.
* You must compile CHOLMOD with -xlic_lib=sunperf.
*
* The Core Module (License GNU LGPL) is always included in the CHOLMOD library.
*/
#ifndef CHOLMOD_CONFIG_H
#define CHOLMOD_CONFIG_H
/* Use the compiler flag, or uncomment the definition(s), if you want to use
* one or more non-default installation options: */
/*
#define NCHECK
#define NCHOLESKY
#define NPARTITION
#define NGPL
#define NMATRIXOPS
#define NMODIFY
#define NSUPERNODAL
#define NPRINT
#define LONGBLAS long
#define LONGBLAS long long
#define NSUNPERF
*/
/* -------------------------------------------------------------------------- */
/* if NGPL is defined, disable all GNU GPL Modules */
/* -------------------------------------------------------------------------- */
#ifdef NGPL
#define NMATRIXOPS
#define NMODIFY
#define NSUPERNODAL
#endif
#endif
|