Last change
on this file since 3037 was 1770, checked in by Kana Sugimoto, 14 years ago |
New Development: Yes
JIRA Issue: No (to merge the alma branch to trunk)
Ready for Test: No
Interface Changes: No
What Interface Changed:
Test Programs:
Put in Release Notes: No
Module(s): single dish package
Description: merged changes in trunk after ASAP3.0.0 release (r1752-1768)
|
File size:
1.5 KB
|
Rev | Line | |
---|
[1194] | 1 | Requirements
|
---|
| 2 | ============
|
---|
| 3 |
|
---|
[1757] | 4 | * scons >= 1.1
|
---|
| 5 | * rpfits >= 2.19
|
---|
| 6 | * cfitso >= 2
|
---|
| 7 | * python >= 2.4
|
---|
| 8 | * boost >= 1.37
|
---|
| 9 | * casacore >= 1.0
|
---|
[1194] | 10 |
|
---|
| 11 | Installation
|
---|
| 12 | ============
|
---|
| 13 |
|
---|
| 14 | scons has several targets. It is recommended to execute them sequentially.
|
---|
[1757] | 15 | The normal install procedure is as follows
|
---|
| 16 | .. code::
|
---|
| 17 |
|
---|
[1194] | 18 | scons
|
---|
[1757] | 19 | # Do this if you haven't got a measures data directory already
|
---|
[1194] | 20 | export ASAPDATA=.
|
---|
| 21 | ./bin/asap_update_data
|
---|
| 22 | #
|
---|
| 23 | scons install
|
---|
| 24 |
|
---|
| 25 | Obtaining the data directory
|
---|
| 26 | ============================
|
---|
[1757] | 27 |
|
---|
| 28 | The data repository can be obtained separately after installing ASAP.
|
---|
| 29 | Before you run asap for the first time simply run::
|
---|
| 30 |
|
---|
[1194] | 31 | asap_update_data
|
---|
[1757] | 32 |
|
---|
[1194] | 33 | This will install the data repository into the correct location.
|
---|
| 34 |
|
---|
| 35 | There are several ways to do this.
|
---|
[1757] | 36 | a) If you already have the 'data' directory, copy it to the root directory and run the normal install procedure::
|
---|
| 37 |
|
---|
[1194] | 38 | scons
|
---|
| 39 | scons install
|
---|
| 40 |
|
---|
| 41 | b) You can obtain the data repository from the ftp site.
|
---|
[1757] | 42 | Simply run::
|
---|
| 43 |
|
---|
[1194] | 44 | export ASAPDATA=.
|
---|
| 45 | ./bin/asap_update_data
|
---|
[1757] | 46 |
|
---|
[1194] | 47 | This will retrieve and unpack the data directory.
|
---|
[1757] | 48 | After this run::
|
---|
| 49 |
|
---|
[1194] | 50 | scons install
|
---|
| 51 |
|
---|
| 52 | Creating a binary distribution
|
---|
| 53 | ==============================
|
---|
| 54 |
|
---|
[1757] | 55 | after building using 'scons', you can create a compressed tarball of the binaries. This is done via the target 'makedist='. The argument should be an obvious identifier for the system you want to support, e.g. 'sarge' or 'fc5-x86_64'::
|
---|
[1194] | 56 |
|
---|
| 57 | scons makedist=sarge
|
---|
| 58 |
|
---|
| 59 | This will create an archive in the subdirectory 'dist' named 'asap-X.Y.Z-sarge.tar.bz2', where X,Y,Z are the version numbers e.g 2.1.0.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.