forked from vallis/lisatools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
65 lines (52 loc) · 2.87 KB
/
README.txt
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
Welcome to lisatools! If you've successfully checked out this archive
from the googlecode SVN, you’re almost ready to run the master installer
script in lisatools. Before you do that, you will need to decide where
the compiled lisatools libraries should be installed (for instance,
/usr/local, or /home/yourname, or /Users/yourname on OS X), and set some
environment variables. For instance,
export LISATOOLS=/home/yourname
export PYTHONPATH=$LISATOOLS/lib/python2.X/site-packages:$PYTHONPATH
export PATH=$LISATOOLS/bin:$PATH
on bash, or
setenv LISATOOLS /home/yourname
setenv PYTHONPATH $LISATOOLS/lib/python2.X/site-packages:$PYTHONPATH
setenv PATH $LISATOOLS/bin:$PATH
on tcsh. In these commands, replace "python2.X" with the version of
Python on your system (just run "python" to see what you have; exit with
CTRL-D). These paths will need to be set whenever you begin a lisatools
session, so you can work the commands above into your .profile or
.tcshrc.
Great! We’re all set. Cd into lisatools, and run
python master-install.py --prefix=$LISATOOLS
This will install:
* numpy 1.0 (a Python array library)
* pyRXP 1.11 (a Python XML library)
* SWIG 1.3.31 (a C/Python interface generator)
* Michele’s lisaxml (a lisaXML parsing library)
* Stas’s BBH and EMRI signal generation packages (C++ codes with
Python interfaces)
* Neil’s Fast Galaxy code (C codes and precompiled executables)
* Michele’s Synthetic LISA
* Neil’s LISA Simulator (two separate versions, compiled for
one-year and two-year datasets, will be installed in
$LISATOOLS/lisasimulator-1year and $LISATOOLS/lisasimulator-2year
respectively)
In fact, the master-install.py script will check if all these packages
are already available in the system, and install them only if they are
not. There are some exceptions, however:
- SWIG will be installed if an older version is detected
- the script will look for GSL (the GNU Scientific Library) under
$LISATOOLS. If it does not find it, it will ask you to specify its
location with a command line argument --gsl=GSLDIR (for instance,
--gsl=/usr/local, if the GSL libraries are in /usr/local/lib). If you
don't have it or wish to reinstall it under $LISATOOLS, the script
will install v1.8 if you give it the --installgsl option.
- the script will look for FFTW3 (the fastest Fourier transform in the
west) under $LISATOOLS. If it does not find it, it will ask you to specify its
location with a command line argument --fftw=FFTWDIR (for instance,
--fftw=/usr/local, if the FFTW libraries are in /usr/local/lib). If you
don't have it or wish to reinstall it under $LISATOOLS, the script
will download and install v3.1.2 if you give it the --installfftw option.
You should be all set! If something went wrong, the script will complain
in a way that suggests a solution. If not, you should complain to
vallis@vallis.org.