File: INSTALL

package info (click to toggle)
siscone 3.0.5-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,748 kB
  • sloc: cpp: 5,012; sh: 4,163; makefile: 94
file content (62 lines) | stat: -rw-r--r-- 2,650 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
Installation procedure:
=======================

You have two options to install the SISCone jet finder:
1. use the standard configure/make/make install technique (recommended)
2. use the 'old-fashionned' Makefile


1. Installation through configure/make/make install
---------------------------------------------------

This is the recommended method for installing the SISCone library, headers
and programs. For a 'standard' installation process, you just need to do
$ ./configure
$ make
$ make install

In short, 'configure' checks if your system has the required tools to
build SISCone, 'make' actually does the build and 'make install'
installs everything in the correct directories.

Notes:

- If you're using an svn version of SISCone, you first need to issue
  ./autogen.sh
  (to which you can pass configure's options, see below for details)
  in order to generate the configure script from svn files. 

- The SISCone library is installed in ${prefix}/lib, the SISCone
  development headers in ${prefix}/include/siscone and the useful
  programs in ${prefix}/bin. The default prefix is /usr/local but
  this can be changed by passing the --prefix=<your_preferred_prefix> 
  to the 'configure' script. Note that if you do not have sufficiently
  write access you may need to issue 'make install' as root.
  Also, if you install SISCone in a non standard location (e.g.
  /usr/local/SISCone), do not forget to append ${prefix}/lib to your 
  LD_LIBARY_PATH.

- By default, both shared (libsiscone.so) and static (libsiscone.a)
  libraries are built and installed. You can disable one of them by
  passing --disable-shared or --disable-static to 'configure'.


2. Installation using the Makefiles
-----------------------------------

If you do not feel comfortable with the suggested installation
procedure, it is still possible to install it using the old-fashionned
'make' method. For that, you just need to tell 'make' to use
makefile.static as a main Makefile. This is done typing
$ make -f makefile.static

This will build the siscone library as src/libsiscone.a and the
various example programs in examples/ :
- 'siscone'  an application with options to tune it from the command line
             (see main.cpp and options.h/cpp) 
- 'sample'   another example (used in the html documentation (see doc/html))
- 'test'     a testing program (see src/test.cpp)
- 'times'    computes execution times and various statistics for 1 <= N <= 1000
- mem_check  a shell script for checking memory usage as a function of the
             number of particles (requires google perftools).
You also have access to the SISCone headers in the src folder.