next up previous
Next: Demonstration Up: First steps to interoperate Previous: First steps to interoperate

Subsections


Installation

Total duration: about ?? h. As all the other time given, this is just an indication. It just takes into account the compilation on a Athlon PC with 756 MB of RAM.

Needed parts

For your convenience, the version of the softs used for this test may be download here: python, f2py, numpy, GILDAS, MIRIAD. The cumulative size of those software is 28 MB.

Preparation

  pctcp104> mkdir $HOME/gildas-miriad
  pctcp104> cd $HOME/gildas-miriad

Installation of python (about ?? min.)

For your convenience, the version of python used for this test may be download here (6.4 MB).

  pctcp104> cd $HOME/gildas-miriad
  pctcp104> tar -xzvf Python-2.2.2.tar.gz
  pctcp104> cd Python-2.2.2
  ~(pctcp104> more README)
  pctcp104> mkdir local  
  pctcp104> ./configure prefix=$HOME/gildas-miriad/local
  pctcp104> make
  pctcp104> make altinstall
  pctcp104> export PATH=$PATH:$HOME/gildas-miriad/local/bin
  pctcp104> python2.2
  >>> help~()
  >>> CTRL-D 
  pctcp104> cd ..

Installation of numpy (about ?? min.)

For your convenience, the version of numpy used for this test may be download here (712 kB).

  pctcp104> cd $HOME/gildas-miriad
  pctcp104> tar -xzvf Numeric-22.0.tar.gz
  pctcp104> cd Numeric-22.0
  pctcp104> more README
  pctcp104> python2.2 setup.py install
  pctcp104> python2.2
  >>> import Numeric
  >>> help~(Numeric)
  >>> CTRL-D

Installation of f2py (about ?? min.)

For your convenience, the version of f2py used for this test may be download here (152 kB).

  pctcp104> cd $HOME/gildas-miriad
  pctcp104> tar -xzvf F2PY-2-latest.tar.gz
  pctcp104> cd F2PY-2.32.225-1419
  pctcp104> more docs/README
  pctcp104> python2.2 setup.py install
  pctcp104> f2py2.2  -m hello -c hello.f
  pctcp104> python2.2
  >>> import hello
  >>> help~(hello)
  >>> print hello.__doc__
  This module 'hello' is auto-generated with f2py ~(version:2.32.225-1419).
  Functions:
    foo~(a).
  >>> hello.foo~(44)
   Hello from Fortran!
   a=          44
  >>> CTRL-D

Installation of GILDAS (about ?? min.)

For your convenience, the version of GILDAS used for this test may be download here (14 MB).

  pctcp104> cd $HOME/gildas-miriad
  pctcp104> bash
  pctcp104> tar -xzvf gildas-oct03a.tar.gz
  pctcp104> cd gildas-oct03a
  pctcp104> source admin/gildas-env.sh
  pctcp104> make python
  pctcp104> make install-python
  pctcp104> source $HOME/gildas-miriad/gildas-exe/pc-redhat7.2-ifc/bash_profile

Alternatively you may want to directly access the CVS repository:

  pctcp104> cd $HOME/gildas-miriad
  pctcp104> bash
  pctcp104> export CVSROOT=:pserver:anonymous@netsrv1.iram.fr:/CVS/GILDAS
  pctcp104> cvs co -r oct03a -d gildas-oct03a gildas
  pctcp104> cd gildas-oct03a
  pctcp104> source admin/gildas-env.sh
  pctcp104> make python
  pctcp104> make install-python
  pctcp104> source $HOME/gildas-miriad/gildas-exe/pc-redhat7.2-ifc/bash_profile

Installation of MIRIAD (about ?? min.)

For your convenience, the version of MIRIAD used for this test may be download here (7.1 MB).

  pctcp104> cd $HOME/gildas-miriad
  pctcp104> tar -xzvf miriad-4.0.3.tar.gz
  pctcp104> cd miriad/install
  pctcp104> ./install.linux
  pctcp104> source ../MIRSRC.linux.good
  pctcp104> export PYTHONPATH=$PYTHONPATH:$MIR/src/scripts/python

Alternatively you may want to directly access the CVS repository:

  pctcp104> cd $HOME/gildas-miriad
  pctcp104> export CVSROOT=:pserver:anonymous@cvs.astro.umd.edu:/home/cvsroot
  pctcp104> cvs co miriad
  pctcp104> cd miriad/install
  pctcp104> ./install.linux
  pctcp104> source ../MIRSRC.linux
  pctcp104> export PYTHONPATH=$PYTHONPATH:$MIR/src/scripts/python


next up previous
Next: Demonstration Up: First steps to interoperate Previous: First steps to interoperate
J. Pety 2003-10-10