[2] | 1 | $Id: README 1287 2008-04-24 21:24:12Z peter $ |
---|
| 2 | |
---|
[573] | 3 | |
---|
[1262] | 4 | = Compiling = |
---|
[573] | 5 | |
---|
[1262] | 6 | 1. If you checked out this project from the subversion repository you |
---|
| 7 | must run '`bootstrap`' to initialize the build system. |
---|
| 8 | 2. Issue '`./configure`' to create the Makefiles. Optionally run |
---|
| 9 | configure with '`--enable-debug`', which will turn on debug |
---|
| 10 | options. |
---|
| 11 | 3. Compile with '`make`'. |
---|
| 12 | 1. Optionally do '`make check`' to run test programs. |
---|
| 13 | 1. '`make doc`' will generate documentation. |
---|
| 14 | 1. Issue '`make install`' to install the package on your |
---|
| 15 | system. Default installation location is `/usr/local`, this can be |
---|
| 16 | changed with '`./configure --prefix=/dir/to/install/to`'. |
---|
[573] | 17 | |
---|
[953] | 18 | If you keep your working copy up to date with the repository you must |
---|
| 19 | issue 'autoreconf' in the yat root directory when 'configure.ac' is |
---|
| 20 | updated. |
---|
[848] | 21 | |
---|
[1059] | 22 | |
---|
| 23 | = Requirements = |
---|
| 24 | |
---|
[1262] | 25 | Except for the obviously needed C++ compiler there are a few packages |
---|
| 26 | and programs required for compiling yat and generate supporting |
---|
| 27 | material. The configure script will look for required programs and |
---|
| 28 | report failure to meet the requirements. Here we list some of the |
---|
| 29 | requirements, but omit required standard utilities such as libtool and |
---|
| 30 | sed since these are normally available. |
---|
[1059] | 31 | |
---|
[1262] | 32 | == Required packages == |
---|
[1059] | 33 | |
---|
[1262] | 34 | === GSL === |
---|
[1059] | 35 | |
---|
[1262] | 36 | GNU Scientific Library, [http://www.gnu.org/software/gsl/ GSL] version |
---|
[1287] | 37 | 1.8 or later. |
---|
[1059] | 38 | |
---|
[1262] | 39 | === BLAS === |
---|
[1059] | 40 | |
---|
[1262] | 41 | A C implementation of Basic Linear Algebra Subprograms |
---|
| 42 | ([http://www.netlib.org/blas BLAS]) is required. GSL comes with a |
---|
| 43 | reference implementation, but you should consider getting a hardware |
---|
| 44 | optimized implementation. ATLAS provides optimized BLAS (see below). |
---|
[1059] | 45 | |
---|
[1262] | 46 | === quiet nan === |
---|
[1059] | 47 | |
---|
[1262] | 48 | Quiet NaN's must be supported. |
---|
[1059] | 49 | |
---|
[1262] | 50 | == Optional packages == |
---|
[1059] | 51 | |
---|
[1262] | 52 | === ATLAS === |
---|
| 53 | |
---|
[1059] | 54 | GSL supplies a reference implementation of BLAS. You may want to |
---|
[1262] | 55 | consider using hardware optimized BLAS. The |
---|
| 56 | [http://math-atlas.sourceforge.net/ ATLAS] software provides an |
---|
| 57 | automatic hardware optimized BLAS library. |
---|
[1059] | 58 | |
---|
| 59 | The detection of ATLAS is supported by the yat configuration script |
---|
| 60 | but in many cases the ATLAS libraries are installed in |
---|
[1262] | 61 | non-conventional directory locations. As an example, on Fedora 8, |
---|
| 62 | ATLAS libraries are |
---|
[1059] | 63 | located in /usr/lib/atlas or /usr/lib64/atlas depending on your |
---|
| 64 | hardware architecture. If you have ATLAS installed and the configure |
---|
| 65 | script fails to locate it, try to add the location to the atlas |
---|
[1078] | 66 | libraries when running configure: |
---|
[1059] | 67 | |
---|
[1180] | 68 | #> LDFLAGS="-L/usr/lib64/atlas" ./configure |
---|
[1059] | 69 | |
---|
[1262] | 70 | === Doxygen === |
---|
[1059] | 71 | |
---|
[1272] | 72 | [http://www.doxygen.org/ Doxygen] is required for generation of the |
---|
[1262] | 73 | API documentation |
---|
| 74 | |
---|
[1272] | 75 | = Documentation = |
---|
[1262] | 76 | |
---|
[1272] | 77 | The API documentation for the latest release is availabe in PDF and |
---|
| 78 | HTML and can be found through http://trac.thep.lu.se/yat. If you wish |
---|
| 79 | to build a local copy, issue `make doc` and you will find the |
---|
| 80 | documents in directory `doc/`. |
---|
[1262] | 81 | |
---|
| 82 | ---------------------------------------------------------------------- |
---|
| 83 | {{{ |
---|
| 84 | Copyright (C) 2003 Jari Häkkinen, Peter Johansson |
---|
| 85 | Copyright (C) 2004 Jari Häkkinen |
---|
[1275] | 86 | Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson |
---|
[1262] | 87 | |
---|
| 88 | This file is part of yat library, http://trac.thep.lu.se/yat |
---|
| 89 | |
---|
| 90 | The yat library is free software; you can redistribute it and/or |
---|
| 91 | modify it under the terms of the GNU General Public License as |
---|
| 92 | published by the Free Software Foundation; either version 2 of the |
---|
| 93 | License, or (at your option) any later version. |
---|
| 94 | |
---|
| 95 | The yat library is distributed in the hope that it will be useful, but |
---|
| 96 | WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 97 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
| 98 | General Public License for more details. |
---|
| 99 | |
---|
| 100 | You should have received a copy of the GNU General Public License |
---|
| 101 | along with this program; if not, write to the Free Software |
---|
| 102 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
---|
| 103 | USA. |
---|
| 104 | }}} |
---|