diff options
author | Shashank | 2017-05-29 12:40:26 +0530 |
---|---|---|
committer | Shashank | 2017-05-29 12:40:26 +0530 |
commit | 0345245e860375a32c9a437c4a9d9cae807134e9 (patch) | |
tree | ad51ecbfa7bcd3cc5f09834f1bb8c08feaa526a4 /usr/include/cholmod_config.h | |
download | scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.gz scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.bz2 scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.zip |
CMSCOPE changed
Diffstat (limited to 'usr/include/cholmod_config.h')
-rwxr-xr-x | usr/include/cholmod_config.h | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/usr/include/cholmod_config.h b/usr/include/cholmod_config.h new file mode 100755 index 000000000..5ada40267 --- /dev/null +++ b/usr/include/cholmod_config.h @@ -0,0 +1,85 @@ +/* ========================================================================== */ +/* === Include/cholmod_config.h ============================================= */ +/* ========================================================================== */ + +/* ----------------------------------------------------------------------------- + * CHOLMOD/Include/cholmod_config.h. + * Copyright (C) 2005-2013, 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. + * -------------------------------------------------------------------------- */ + +/* 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 + * -DNCAMD do not include the interfaces to CAMD, + * CCOLAMD, CSYMAND in 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 NCAMD +#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 |