File: install-dist.html

package info (click to toggle)
linbox 1.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,940 kB
  • sloc: cpp: 108,392; lisp: 5,469; makefile: 1,345; sh: 1,244; csh: 131; python: 74; perl: 2
file content (203 lines) | stat: -rw-r--r-- 8,194 bytes parent folder | download | duplicates (8)
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<!--  Copyright (C) 2005 LinBox team, part of LinBox, GNU LGPL, see COPYING
-->
<!--
/*
 * Coypright (c) LinBox
 * ========LICENCE========
 * This file is part of the library LinBox.
 *
 * LinBox is free software: you can redistribute it and/or modify
 * it under the terms of the  GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 * ========LICENCE========
 *
 */
 -->
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="GENERATOR" content="Mozilla/4.76 [en] (X11; U; SunOS 5.8 sun4u) [Netscape]">
   <link href="doxygen.css" rel="stylesheet" type="text/css">
   <title>linbox: Installation</title>
</head>
  <body text="#000000" bgcolor="#FFFFFF" link="#0000EE" vlink="#551A8B" alink="#FF0000">
    &nbsp;
    <center>
      <p><b><font size=+2>How to install LinBox (from a distribution)</font></b></center>

    <p><br>
    <blockquote>
      See also <a href="INSTALL">INSTALL</a>.&nbsp; Once the LinBox
      distribution has been downloaded from the <a href="http://www.linalg.org/download.html"> LinBox download section</a>,
    </blockquote>

    <blockquote>
      <p><b>1.</b>
	  <b>Unpack</b> the distribution using <tt>tar</tt> command:
      <blockquote>
	<tt>
	  tar -xvzf linbox-X.X.X.tar.gz
	</tt>
      </blockquote>
    </blockquote>

    <blockquote>
      <b>2.</b> Go to the newly-created linbox directory and
      run the script
	  <b>configure</b>.

	  <blockquote><tt>&gt; cd linbox</tt></blockquote>
	  There are many options for configuring LinBox.
	  If you are not sure, just run
	  <blockquote><tt>&gt;&nbsp;./configure --help </tt></blockquote>
	  You will find a very comprehensible list of all possible features you may enable/disable.

	  <br><br><b>Required packages are the following:</b>
	  <br>
	  <br>
	  <table  border="3" style="text-align: left; margin-left: 30pt;" cellpadding="5" cellspacing="5">
	    <tr>
	      <td> <a href="https://forge.imag.fr/projects/givaro">Givaro</a></td>
	      <td> <tt> --with-givaro= &lt;givaro_directory&gt;</tt></td>
	      <td> used for finite fields, integer, rational and polynomial arithmetic.</td>
	    </tr>
	    <tr>
	      <td> <a href="http://linalg.org/projects/fflas-ffpack">Fflas-Ffpack</a></td>
	      <td> <tt> --with-fflas-ffpack= &lt;fflasffpack_directory&gt;</tt></td>
	      <td> used for small field dense linear algebra.</td>
	    </tr>
	  </table>


	  Basically, minimal LinBox only requires a working <a
		  href="https://forge.imag.fr/projects/givaro/">Givaro</a> and <a
		  href="http://linalg.org/projects/fflas-ffpack">Fflas-Ffpack</a>
	  installation.  If they are not under the standard <tt>/usr</tt> or
	  <tt>/usr/local</tt> paths, you may enable them with
	  <tt>--with-givaro=&lt;path/to/givaro&gt;</tt> and
	  <tt>--with-fflas-ffpack=&lt;path/to/fflas-ffpack&gt;</tt> options.
	  <p>
	  <b> NOTE </b> : other requirements
	<br><a href="https://forge.imag.fr/projects/givaro/">Givaro</a> requires GMP for big integer operations, see <a href="https://forge.imag.fr/projects/givaro/">Givaro page</a> for more information.
	<br><a href="http://linalg.org/projects/fflas-ffpack">Fflas-Ffpack</a> requires some BLAS for floating point dense matrix multiplication, see <a href="http://linalg.org/projects/fflas-ffpack">Fflas-Ffpack page</a> for more information.
	  </p>
	  <table  border="3" style="text-align: left; margin-left: 30pt;" cellpadding="5" cellspacing="5">
	    <tr>
	      <td> For Givaro install</td>
	      <td> <a href="http://gmplib.org">GMP</a></td>
	    </tr>
	    <tr>
	      <td> For Fflas-Ffpack install</td>
	      <td> <a href="http://cms.tacc.utexas.edu/tacc-projects/gotoblas2">Goto BLAS 2</a></td>
	      <td> <a href="http://math-atlas.sourceforge.net">ATLAS</a></td>
	      <td> or ... </td>
	    </tr>
	  </table>


	  <p>
	  <b> NOTE </b> :
	  There is a script in alpha version that tries to automate the installation of required packages:
	   <blockquote><tt>&gt;&nbsp;sh auto-install.sh </tt></blockquote>
	   this will download the appropriate dependencies, compile and install them.
	   Use <tt>--help</tt> for help on how to use this script.
	  </p>

      <p> <b>3.</b> Optional configurations

	  <br><b>Available packages are the following:</b>
	  <br>
	  <br>
	  <table  border="3" style="text-align: left; margin-left: 30pt;" cellpadding="5" cellspacing="5">
	    <tr>
	      <td> <a href="http://shoup.net/ntl/">NTL</a></td>
	      <td> <tt> --with-ntl= &lt;ntl_directory&gt;</tt></td>
	      <td> used for finite field, polynomial arithmetic.</td>
	    </tr>
	    <tr>
	      <td> <a href="http://www.informatik.tu-darmstadt.de/TI/LiDIA/"> Lidia </a></td>
	      <td> <tt> --with-lidia= &lt;lidia_directory&gt;</tt> </td>
	      <td> used for finite field arithmetic.</td>
	    </tr>
	    <tr>
	      <td> <a href="ftp://ftp.risc.uni-linz.ac.at/pub/saclib/"> Saclib </a></td>
	      <td> <tt> --with-saclib= &lt;saclib_directory&gt;</td>
	      <td> not yet used </td>
	    </tr>
	    <tr>
	      <td> <a href="http://www.maplesoft.com/"> Maple (> v9) </a></td>
	      <td> <tt> --enable-shared --with-maple= &lt;maple-directory&gt;&nbsp; </tt></td>
	      <td> used to create an interface with Maple.</td>
	    </tr>
	    <tr>
	      <td> <a href="http://www.doxygen.org/"> Doxygen </a></td>
	      <td> <tt> --enable-doc </tt></td>
	      <td>used to create the html reference manual (nothing will be created otherwise).</td>
	    </tr>
		<tr>
	      <td> <a href="http://www.cs.uwaterloo.ca/~astorjoh/iml.html"> IML </a></td>
	      <td> <tt> --with-iml= &lt;IML-path&gt;&nbsp; </tt></td>
	      <td>used for fast integer/rational linear algebra.</td>
	    </tr>
		<tr>
		<td> <a href="http://www.gnuplot.info/">gnuplot</a></td>
	      <td> <tt> -enable-benchmark </tt></td>
	      <td>used for creating plots in benchmarks.</td>
	    </tr>

	  </table>

	  <br>
	  Note:
	  <blockquote>
	    <p> the use of <tt> --with-default= &lt;default_directory&gt;</tt> can add a special directory to the default location of library
	    <p> the use of <tt> --with-all</tt> specifies that all packages will be used
	  </blockquote>

	<!-- <p><b> 3.4.</b> Here is a full example: -->
	<!-- <blockquote> -->
	<!-- <tt>./configure --prefix=/usr/local/soft/linbox-1.1 --with-givaro=/usr/local/soft/givaro-3.2.6 --with-ntl=/usr/local/soft/ntl-5.4 --with-gmp=/usr/local/soft/gmp-4.2.1 --with-blas="-L/usr/local/soft/GotoBLAS -lgoto -lpthread" --with-maple=/usr/local/soft/maple --enable-optimization --enable-shared --disable-static</tt> -->
	  <!-- </blockquote> -->
	<!-- </blockquote> -->


	<b>4.&nbsp; </b><b>Install</b> the library:
      <blockquote><tt>&gt;&nbsp; make </tt></blockquote>
      <blockquote><tt>&gt;&nbsp; make install</tt></blockquote>

	  <b>5.&nbsp; </b>Optional make targets:

	  <blockquote><tt>&gt;&nbsp; make examples</tt></blockquote>
	  will compile the examples.

      <blockquote><tt>&gt;&nbsp; make check</tt></blockquote>
	  will check LinBox is up and running.

	  <blockquote><tt>&gt;&nbsp; make fullcheck</tt></blockquote>
	  will perform additionnal checks to ensure LinBox is completely sane.

	  <blockquote><tt>&gt;&nbsp; make benchmarks</tt></blockquote>
	  will benchmarks some LinBox functionnalities.
	  <br>
	  <br>


	  <b>6.&nbsp; Enjoy !</b> <small>(and report bugs, supply patches, ask for more functionnalities,... on the linbox mailing lists)</small>

	</blockquote>
    <hr WIDTH="100%">
    <div align=right><font size=-1>Copyright 1999-2011 The Linbox Group.</font></div>

  </body>
</html>