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