# HG changeset patch # User John W. Eaton # Date 1386188058 18000 # Node ID d8d0e9e189f5beea513f6b8dcfab4c25f749b08e # Parent ac74b0c4c564ebd786fb61ed6587cc331595c446 * install.txi: Update 64-bit build info for suitesparse, glpk, and qhull. diff -r ac74b0c4c564 -r d8d0e9e189f5 doc/interpreter/install.txi --- 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