Mercurial > octave
comparison doc/interpreter/install.txi @ 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 | 24759ac2b8cb |
children | 8671f39d1728 |
comparison
equal
deleted
inserted
replaced
18077:ac74b0c4c564 | 18079:d8d0e9e189f5 |
---|---|
679 @end itemize | 679 @end itemize |
680 | 680 |
681 @item | 681 @item |
682 SuiteSparse (@url{http://www.cise.ufl.edu/research/sparse/SuiteSparse}) | 682 SuiteSparse (@url{http://www.cise.ufl.edu/research/sparse/SuiteSparse}) |
683 | 683 |
684 @itemize @minus | 684 Pass the following options to @command{make} to enable 64-bit integers |
685 @item | 685 for @sc{blas} library calls. On 64-bit Windows systems, use |
686 In @file{UFconfig/UFconfig.mk} use the following options for | 686 @code{-DLONGBLAS="long long"} instead. |
687 @env{CFLAGS} and @env{F77FLAGS}: | |
688 | 687 |
689 @example | 688 @example |
690 @group | 689 @group |
691 CC = gcc | 690 CFLAGS='-DLONGBLAS=long' |
692 CFLAGS = -fPIC -O -DLP64 -DLONGBLAS='long int' -DLONG='long int' | 691 CXXFLAGS='-DLONGBLAS=long' |
693 F77 = gfortran | |
694 F77FLAGS = -fPIC -O -fdefault-integer-8 | |
695 BLAS = -L$BLAS/lib -lblas -lgfortran" | |
696 LAPACK = -L$LAPACK/lib -llapack" | |
697 @end group | 692 @end group |
698 @end example | 693 @end example |
699 | 694 |
700 @item | 695 The SuiteSparse makefiles don't generate shared libraries. On some |
701 Disable the GPL-incompatible @code{METIS} library: | 696 systems, you can generate them by doing something as simple as |
702 | |
703 @example | |
704 @group | |
705 CHOLMOD_CONFIG = -DNPARTITION | |
706 SPQR_CONFIG = -DNPARTITION | |
707 METIS_PATH = | |
708 METIS = | |
709 @end group | |
710 @end example | |
711 | |
712 @item | |
713 Disable the @code{DI} versions of the @code{CHOLMOD} library files by | |
714 setting | |
715 | |
716 @example | |
717 OBJ = $(DL) | |
718 @end example | |
719 | |
720 @noindent | |
721 in @file{CHOLMOD/Lib/Makefile}. | |
722 | |
723 @item | |
724 Disable the @code{DI} versions of the @code{CHOLMOD} tests by commenting | |
725 out or deleting the following lines in @file{CHOLMOD/Demo/Makefile}: | |
726 | |
727 @example | |
728 @group | |
729 ./cholmod_demo < Matrix/bcsstk01.tri | |
730 ./cholmod_demo < Matrix/lp_afiro.tri | |
731 ./cholmod_demo < Matrix/can___24.mtx | |
732 ./cholmod_demo < Matrix/c.tri | |
733 ./cholmod_simple < Matrix/c.tri | |
734 ./cholmod_simple < Matrix/can___24.mtx | |
735 ./cholmod_simple < Matrix/bcsstk01.tri | |
736 @end group | |
737 @end example | |
738 | |
739 @item | |
740 Run @command{make} to build the libraries. | |
741 | |
742 @item | |
743 The SuiteSparse @file{Makefile} does not have an install target so | |
744 you must install the files by hand: | |
745 | |
746 @example | |
747 @group | |
748 mkdir $prefix64/include/suitesparse | |
749 cp UFconfig/UFconfig.h $prefix64/include/suitesparse | |
750 for d in AMD BTF CAMD CCOLAMD \ | |
751 CHOLMOD COLAMD CXSparse UMFPACK; do | |
752 cp $d/Lib/lib*a $prefix64/lib | |
753 cp $d/Include/*h $prefix64/include/suitesparse | |
754 done | |
755 @end group | |
756 @end example | |
757 | |
758 @item | |
759 You can generate shared versions of these libraries by doing the | |
760 following in the @file{$prefix64/lib} directory: | |
761 | 697 |
762 @example | 698 @example |
763 @group | 699 @group |
764 top=$(pwd) | 700 top=$(pwd) |
765 for f in *.a; do | 701 for f in *.a; do |
771 rm -rf tmp | 707 rm -rf tmp |
772 done | 708 done |
773 @end group | 709 @end group |
774 @end example | 710 @end example |
775 | 711 |
776 @end itemize | 712 @noindent |
713 Other systems may require a different solution. | |
777 | 714 |
778 @item ATLAS instead of reference @sc{blas} and @sc{lapack} | 715 @item ATLAS instead of reference @sc{blas} and @sc{lapack} |
779 | 716 |
780 Suggestions on how to compile ATLAS would be most welcome. | 717 Suggestions on how to compile ATLAS would be most welcome. |
781 | 718 |
782 @item @sc{glpk} | 719 @item @sc{glpk} |
783 | |
784 Suggestions on how to compile @sc{glpk} would be most welcome. | |
785 | |
786 @item Qhull (@url{http://www.qhull.org}) | 720 @item Qhull (@url{http://www.qhull.org}) |
787 | 721 |
788 Suggestions on how to compile Qhull would be most welcome. | 722 Both @sc{glpk} and Qhull use @code{int} internally so maximum problem |
723 sizes may be limited. | |
789 | 724 |
790 @item Octave | 725 @item Octave |
791 | 726 |
792 Octave's 64-bit index support is activated with the configure option | 727 Octave's 64-bit index support is activated with the configure option |
793 @option{--enable-64}. | 728 @option{--enable-64}. |