-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathINSTALL.txt
More file actions
75 lines (50 loc) · 2.59 KB
/
INSTALL.txt
File metadata and controls
75 lines (50 loc) · 2.59 KB
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
1/20/2012
David Brown
==================================================================
CorAL -- The Correlation Algorithm Library
==================================================================
blurb
doc/coral.pdf
-------------------- how to build CorAL --------------------
You need to have the GSL, the Gnu Scientific Library
(http://www.gnu.org/software/gsl/) installed otherwise you can't build CorAL.
You also need to tell CorAL where GSL is, since it may be in an unexpected
place. Set the following environment variables:
* CORAL_GSLPATH -- i.e. $CORAL_GSLPATH/lib/libgsl.a
* CORAL_X11PATH -- optional $CORAL_X11PATH/lib/libX11.a
* CORAL_HOME -- optional, usu. sets to top level of project
* CORAL_CCFLAGS -- optional compilation flags
CorAL uses the scons build system to handle cross-platform builds. Scons is
available at http://www.scons.org and it is included in CorAL in the scons
subdirectory. It is a pure Python package so requires no building or special
installation.
To build CorAL, from the top-level directory do:
> scons/scons.py
the files will be built in the build/ directory. Executables will be copied to
the bin/ directory and the main libraries in the lib/ directory. The header
files will all be copied to include/.
For debugging versions and to make the tests do:
> scons/scons.py debug=True tests=True
Also, if you want to rebuild the CorAL Code Reference (see
doc/api-docs/index.html), you will need to install Doxygen
(http://www.stack.nl/~dimitri/doxygen/). See the Doxyfile for setting this up.
To actually (re)build the documentation, do:
> scons/scons.py docs=True
The final documentation will be copied to the doc/ directory.
-------------------- how to use CorAL --------------------
The main part of the project are the static libraries in the lib/ directory.
However, using them is not currently well documented, so we provide examples and
executables that use the libraries. In the bin/ directory, there are several
executables:
* bfplot - simple plots of basis functions
* chum - make OSCAR formatted events from simple core-halo model
* converts2c - fold a source w/ kernal to make a correlation
* crab - reimagining of S. Pratt's CoRrelation AfterBurner
* diver - source imaging code
* scplot - simple plots of sources & correlations
* shark - precompute kernels, in harmonic bases
All have inline help (invoke using e.g. "crab -h").
-------------------- developing with CorAL --------------------
lib/
include/
doc/api-docs/index.html