changeset 18079:d8d0e9e189f5 stable

* install.txi: Update 64-bit build info for suitesparse, glpk, and qhull.
author John W. Eaton <jwe@octave.org>
date Wed, 04 Dec 2013 15:14:18 -0500
parents ac74b0c4c564
children 42df174ec2ff d734216aa2b1
files doc/interpreter/install.txi
diffstat 1 files changed, 11 insertions(+), 76 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/install.txi	Tue Dec 03 21:39:39 2013 -0500
+++ b/doc/interpreter/install.txi	Wed Dec 04 15:14:18 2013 -0500
@@ -681,83 +681,19 @@
 @item
 SuiteSparse (@url{http://www.cise.ufl.edu/research/sparse/SuiteSparse})
 
-@itemize @minus
-@item
-In @file{UFconfig/UFconfig.mk} use the following options for
-@env{CFLAGS} and @env{F77FLAGS}:
+Pass the following options to @command{make} to enable 64-bit integers
+for @sc{blas} library calls.  On 64-bit Windows systems, use
+@code{-DLONGBLAS="long long"} instead.
 
 @example
 @group
-CC = gcc
-CFLAGS = -fPIC -O -DLP64 -DLONGBLAS='long int' -DLONG='long int'
-F77 = gfortran
-F77FLAGS = -fPIC -O -fdefault-integer-8
-BLAS = -L$BLAS/lib -lblas -lgfortran"
-LAPACK = -L$LAPACK/lib -llapack"
-@end group
-@end example
-
-@item
-Disable the GPL-incompatible @code{METIS} library:
-
-@example
-@group
-CHOLMOD_CONFIG = -DNPARTITION
-SPQR_CONFIG = -DNPARTITION
-METIS_PATH =
-METIS =
+CFLAGS='-DLONGBLAS=long'
+CXXFLAGS='-DLONGBLAS=long'
 @end group
 @end example
 
-@item
-Disable the @code{DI} versions of the @code{CHOLMOD} library files by
-setting
-
-@example
-OBJ = $(DL)
-@end example
-
-@noindent
-in @file{CHOLMOD/Lib/Makefile}.
-
-@item
-Disable the @code{DI} versions of the @code{CHOLMOD} tests by commenting
-out or deleting the following lines in @file{CHOLMOD/Demo/Makefile}:
-
-@example
-@group
-./cholmod_demo < Matrix/bcsstk01.tri
-./cholmod_demo < Matrix/lp_afiro.tri
-./cholmod_demo < Matrix/can___24.mtx
-./cholmod_demo < Matrix/c.tri
-./cholmod_simple < Matrix/c.tri
-./cholmod_simple < Matrix/can___24.mtx
-./cholmod_simple < Matrix/bcsstk01.tri
-@end group
-@end example
-
-@item
-Run @command{make} to build the libraries.
-
-@item
-The SuiteSparse @file{Makefile} does not have an install target so
-you must install the files by hand:
-
-@example
-@group
-mkdir $prefix64/include/suitesparse
-cp UFconfig/UFconfig.h $prefix64/include/suitesparse
-for d in AMD BTF CAMD CCOLAMD \
-         CHOLMOD COLAMD CXSparse UMFPACK; do
-  cp $d/Lib/lib*a $prefix64/lib
-  cp $d/Include/*h $prefix64/include/suitesparse
-done
-@end group
-@end example
-
-@item
-You can generate shared versions of these libraries by doing the
-following in the @file{$prefix64/lib} directory: 
+The SuiteSparse makefiles don't generate shared libraries.  On some
+systems, you can generate them by doing something as simple as
 
 @example
 @group
@@ -773,19 +709,18 @@
 @end group
 @end example
 
-@end itemize
+@noindent
+Other systems may require a different solution.
 
 @item ATLAS instead of reference @sc{blas} and @sc{lapack}
 
 Suggestions on how to compile ATLAS would be most welcome.
 
 @item @sc{glpk}
-
-Suggestions on how to compile @sc{glpk} would be most welcome.
-
 @item Qhull (@url{http://www.qhull.org})
 
-Suggestions on how to compile Qhull would be most welcome.
+Both @sc{glpk} and Qhull use @code{int} internally so maximum problem
+sizes may be limited.
 
 @item Octave