Changes between Version 35 and Version 36 of ASAPSourceInstall
- Timestamp:
- 03/18/09 12:11:15 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ASAPSourceInstall
v35 v36 6 6 * You will also need '''ipython, matplotlib, numpy''' to run ASAP 7 7 8 * '''rpfits''' 9 Download [ftp://ftp.atnf.csiro.au/pub/software/rpfits/rpfits.tar.gz rpfits] 8 === Install scons-1.2 === 9 10 10 {{{ 11 tar zxvf rpfits.tar.gz; cd rpfits/linux 12 make install 11 wget http://prdownloads.sourceforge.net/scons/scons-1.2.0-1.noarch.rpm 12 su 13 rpm -i scons-1.2.0-1.noarch.rpm 14 exit 13 15 }}} 14 16 15 * '''wcslib''' 16 Download [ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib.tar.gz wcslib] 17 18 === Install rpfits === 17 19 {{{ 18 tar zxvf wcslib.tar.gz; cd wcslib 19 make install 20 wget ftp://ftp.atnf.csiro.au/pub/software/rpfits/rpfits.tar.gz 21 tar zxf rpfits.tar.gz 22 cd rpfits/linux 23 # edit GNUMakefile to use gfortran 24 perl -pi.bak -e 's/^FC.*$//; s/^FFLAGS.*$//; s/# (FC.*)$/\1/;s/# (FFLAGS.*)$/\1/;s/(LDFLAGS\s+:=).*$/\1 -lgfortran/' GNUmakefile 25 su 26 make install 27 exit 28 cd - 20 29 }}} 21 30 22 * '''casacore''' (aips++) 23 Download [http://casacore.googlecode.com/files/casacore-0.4.1.tar.bz2 casacore-0.4.1]) 31 === Install wcslib === 24 32 {{{ 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 33 wget ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib.tar.gz 34 tar zxf wcslib.tar.gz 35 cd wcslib-4.3.2 36 ./configure 37 make 38 su 39 make install 40 # want to link statically, so remove shred library 41 rm -f /usr/local/lib/libwcs.so* 42 exit 43 cd - 35 44 }}} 36 45 37 You need to have the scons package installed (see o/s specific notes) 46 47 === Install casacore === 48 38 49 {{{ 39 scons casacoreroot=/usr/local 50 wget http://casacore.googlecode.com/files/casacore-0.4.1.tar.bz2 51 tar jxf casacore-0.4.1.tar.bz2 52 cd casacore-0.4.1 53 ./batchbuild.py blaslibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio 54 su 55 ./batchbuild.py install prefix=/usr/local 56 exit 57 cd - 40 58 }}} 59 60 === Install asap === 61 62 {{{ 63 wget ftp://ftp.atnf.csiro.au/pub/software/asap/current/asap2.3.0-src.tar.bz2 64 tar zxf asap2.3.0-src.tar.bz2 65 cd asap2.3.0 66 scons lapacklibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio 67 su 68 scons lapacklibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio install 69 exit 70 }}} 71 72 To help out other users please also create a binary package and replace the version fc9 in the following with your version: 73 {{{ 74 scons makedist=fc9 lapacklibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio 75 }}} 76 Then send a notification to mailto:malte.marquarding@csiro.au so I can add it to the ftp area. 77 41 78 42 79 Now it's probably best to get the asap data repository. … … 50 87 {{{ 51 88 su 52 scons mode=release casacoreroot=/usr/localinstall89 scons install 53 90 }}} 54 91 … … 75 112 <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 76 113 {{{ 77 scons casacoreroot=/usr/localmakedist=<identifier>114 scons makedist=<identifier> 78 115 }}} 79 116 Then email the resulting tarball in the dist subdirectory to mailto:Malte.Marquarding@csiro.au