Changes between Version 35 and Version 36 of ASAPSourceInstall


Ignore:
Timestamp:
03/18/09 12:11:15 (16 years ago)
Author:
Malte Marquarding
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ASAPSourceInstall

    v35 v36  
    66 * You will also need '''ipython, matplotlib, numpy''' to run ASAP
    77
    8  * '''rpfits'''
    9   Download [ftp://ftp.atnf.csiro.au/pub/software/rpfits/rpfits.tar.gz rpfits]
     8=== Install scons-1.2 ===
     9
    1010{{{
    11    tar zxvf rpfits.tar.gz; cd rpfits/linux
    12    make install
     11wget http://prdownloads.sourceforge.net/scons/scons-1.2.0-1.noarch.rpm
     12su
     13rpm -i scons-1.2.0-1.noarch.rpm
     14exit
    1315}}}
    1416
    15  * '''wcslib'''
    16   Download [ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib.tar.gz wcslib]
     17
     18=== Install rpfits ===
    1719{{{
    18    tar zxvf wcslib.tar.gz; cd wcslib
    19    make install
     20wget ftp://ftp.atnf.csiro.au/pub/software/rpfits/rpfits.tar.gz
     21tar zxf rpfits.tar.gz
     22cd rpfits/linux
     23# edit GNUMakefile to use gfortran
     24perl -pi.bak -e 's/^FC.*$//; s/^FFLAGS.*$//; s/# (FC.*)$/\1/;s/# (FFLAGS.*)$/\1/;s/(LDFLAGS\s+:=).*$/\1 -lgfortran/' GNUmakefile
     25su
     26make install
     27exit
     28cd -
    2029}}}
    2130
    22  * '''casacore''' (aips++)
    23   Download [http://casacore.googlecode.com/files/casacore-0.4.1.tar.bz2 casacore-0.4.1])
     31=== Install wcslib ===
    2432{{{
    25    tar jxvf casacore-0.4.1.tar.bz2; cd casacore-0.4.1
    26    ./batchbuild.py prefix=/usr/local install
    27 }}}
    28   Patience...
    29 
    30  * ASAP
    31   (You need to have subversion installed)
    32 {{{
    33    svn co http://svn.atnf.csiro.au/asap/tags/asap2.3.0
    34    cd asap2.3.0
     33wget ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib.tar.gz
     34tar zxf wcslib.tar.gz
     35cd wcslib-4.3.2
     36./configure
     37make
     38su
     39make install
     40# want to link statically, so remove shred library
     41rm -f /usr/local/lib/libwcs.so*
     42exit
     43cd -
    3544}}}
    3645
    37   You need to have the scons package installed (see o/s specific notes)
     46
     47=== Install casacore ===
     48
    3849{{{
    39    scons casacoreroot=/usr/local
     50wget http://casacore.googlecode.com/files/casacore-0.4.1.tar.bz2
     51tar jxf casacore-0.4.1.tar.bz2
     52cd casacore-0.4.1
     53./batchbuild.py blaslibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio
     54su
     55./batchbuild.py install prefix=/usr/local
     56exit
     57cd -
    4058}}}
     59
     60=== Install asap ===
     61
     62{{{
     63wget ftp://ftp.atnf.csiro.au/pub/software/asap/current/asap2.3.0-src.tar.bz2
     64tar zxf asap2.3.0-src.tar.bz2
     65cd asap2.3.0
     66scons lapacklibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio
     67su
     68scons lapacklibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio install
     69exit
     70}}}
     71
     72To help out other users please also create a binary package and replace the version fc9 in the following with your version:
     73{{{
     74scons makedist=fc9 lapacklibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio
     75}}}
     76Then send a notification to mailto:malte.marquarding@csiro.au so I can add it to the ftp area.
     77
    4178
    4279  Now it's probably best to get the asap data repository.
     
    5087{{{
    5188   su
    52    scons mode=release casacoreroot=/usr/local install
     89   scons install
    5390}}}
    5491
     
    75112<identifier> with something identifying your platform, e.g. '''fc5''' for fedora core 5, or '''fc5_x86_64''' for the 64bit version of fc5 and run the following
    76113{{{
    77 scons  casacoreroot=/usr/local makedist=<identifier>
     114scons  makedist=<identifier>
    78115}}}
    79116Then email the resulting tarball in the dist subdirectory to mailto:Malte.Marquarding@csiro.au