source: trunk/README @ 1435

Last change on this file since 1435 was 1424, checked in by Peter, 15 years ago

it is a bad habit to set environment variables before calling configure - instead set it at commandline so configure has a chance to see the value and propagate into Makefiles or when calling autoreconf -m

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
  • Property svn:mime-type set to text/x-trac-wiki
File size: 4.0 KB
[2]1$Id: README 1424 2008-08-20 19:12:21Z peter $
[1262]4= Compiling =
[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`'.
[953]20If you keep your working copy up to date with the repository you must
21issue 'autoreconf' in the yat root directory when '' is
25= Requirements =
[1262]27Except for the obviously needed C++ compiler there are a few packages
28and programs required for compiling yat and generate supporting
29material. The configure script will look for required programs and
30report failure to meet the requirements. Here we list some of the
31requirements, but omit required standard utilities such as libtool and
32sed since these are normally available.
[1262]34== Required packages ==
[1262]36=== GSL ===
[1262]38GNU Scientific Library, [ GSL] version
[1287]391.8 or later.
[1262]41=== BLAS ===
[1262]43A C implementation of Basic Linear Algebra Subprograms
44([ BLAS]) is required. GSL comes with a
45reference implementation, but you should consider getting a hardware
46optimized implementation. ATLAS provides optimized BLAS (see below).
[1325]48=== Boost ===
50[ Boost] version 1.33 or later.
[1262]52=== quiet nan ===
[1262]54Quiet NaN's must be supported.
[1353]56=== infinity ===
58infinity for type double must be supported.
[1262]60== Optional packages ==
[1262]62=== ATLAS ===
[1059]64GSL supplies a reference implementation of BLAS. You may want to
[1262]65consider using hardware optimized BLAS. The
66[ ATLAS] software provides an
67automatic hardware optimized BLAS library.
69The detection of ATLAS is supported by the yat configuration script
70but in many cases the ATLAS libraries are installed in
[1262]71non-conventional directory locations. As an example, on Fedora 8,
72ATLAS libraries are
[1059]73located in /usr/lib/atlas or /usr/lib64/atlas depending on your
74hardware architecture. If you have ATLAS installed and the configure
75script fails to locate it, try to add the location to the atlas
[1078]76libraries when running configure:
[1424]78  #> ./configure LDFLAGS="-L/usr/lib64/atlas"
[1262]80=== Doxygen ===
[1272]82[ Doxygen] is required for generation of the
[1397]83API documentation. Doxygen uses a number of applications, epstopdf,
84latex, makeindex, and pdflatex. If any of these applications are
85missing, generation of API documentation is disabled.
[1272]87= Documentation =
[1272]89The API documentation for the latest release is availabe in PDF and
90HTML and can be found through If you wish
91to build a local copy, issue `make doc` and you will find the
92documents in directory `doc/`.
[1368]94= Developers =
[1371]96See file README.developer for developer specific information.
100Copyright (C) 2003 Jari Häkkinen, Peter Johansson
101Copyright (C) 2004 Jari Häkkinen
[1275]102Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
104This file is part of yat library,
106The yat library is free software; you can redistribute it and/or
107modify it under the terms of the GNU General Public License as
108published by the Free Software Foundation; either version 2 of the
109License, or (at your option) any later version.
111The yat library is distributed in the hope that it will be useful, but
112WITHOUT ANY WARRANTY; without even the implied warranty of
114General Public License for more details.
116You should have received a copy of the GNU General Public License
117along with this program; if not, write to the Free Software
118Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
Note: See TracBrowser for help on using the repository browser.