Installing Developer CASA

From CARMA
Revision as of 10:57, 12 February 2009 by Teuben (Talk | contribs)

Jump to: navigation, search

Installing CASA from a users point of view is trivial. Install the correct binary tar ball, add the correct bin/ directory to your $PATH, and type casapy. At UMD we use astromake, so a command like astroload casa will probably do the job. However, the current user release does not (currently) enable you to develop applications. For this a developer release must be installed, from source.

As of this writing (Feb 2009) the original CASA is being split into casacore and the non-code (code) trees, and I will only describe that new setup.

There are a number of packages that casacore (and in particular casa) needs in order to compile. Since some of them collide or are not recent enough with what you have on your linux distro, it is best to install them in a separate /opt/casa/{bin,lib,include} type of tree. Most open source packages will then be installed as follows:

  ./configure --prefix=/opt/casa
  make
  make install

or for python plugins (using casa's version of python)

  python setup.py install

Here are some links to help on installing:


Some packages you will have to get via the CASA repository. Here are some examples:

  http://www.python.org/ftp/python/2.5.4/Python-2.5.4.tgz
  https://svn.cv.nrao.edu/casa/devel/ipython-0.9.1.bzr.r1152.tar.gz
  https://svn.cv.nrao.edu/casa/devel/modified-ant-contrib.tar.gz
Personal tools