Revision as of 08:56, 19 May 2009 by Teuben (Talk | contribs)

Jump to: navigation, search

If you want to install Miriad on your computer, this is what we will likely support:

  • Linux/Intel (centos5, fedora7/9, ubuntu7/8) on IA32 and IA64
  • MacOSX/PPC - 10.4 (no 10.5 available to me)
  • MacOSX/Intel - 10.4 and 10.5

Although we don't support Miriad on Windows, there are ways to run it on windows.

You will need to have pre-installed on your laptop:

  • the csh (or tcsh) shell. Surprisingly perhaps, many systems don't come standard with this. We have shell scripts that need this shell. Your login shell does not have to be tcsh, you can use bash.
  • a C and Fortran compiler (gcc, g77 preferably, though gfortran or even g95 are known to work).
  • X11 and X11SDK (or the relevant -devel packages in linux, on Mac they're installed via Xcode). For the Mac these are of order 1GB download images, so be sure to have this done before you install Miriad. Most notably the assembler (as) might be missing. You need it if you want to compile new miriad programs.
  • optionally some development tools, like cvs
  • optionally tools like ds9, xpa tools (needed for ds9) and/or karma, for visualization

Please send Peter the output of the following commands if you have any trouble:

 which csh
 csh --version
 which gcc
 gcc -v
 which g77          (and/or gfortran, or g95, or f77, or ifort, at least one should exist)
 g77 -v
 which as
 as -v               (might have to hit ^C to get out again)
 uname -a
 ls /usr/include/X11
 which cvs
 automake --version       (only important for developers)
 java -version            (only important for carma/rtd)
 xterm -version

Although g77 is the preferred fortran compiler (pgplot ideally needs some VAX dialects), more recent versions of gfortran (e.g. 4.2.2) can also handle these. For the Mac there is a project Xcode/gfortran plugin that might be interesting, but has not been fully tested.


The above items are the most common ones that a Unix machine may miss for development. If you use a Linux based machine, you will need a number of development tools and libraries. Obivously the compiler, tools like gmake, the header files for libraries like X11, and autoconf tools.

things to bring to OVRO

Since OVRO is on a pretty slow internet link, bring ANYTHING you can in terms of potentially finishing the installation of your laptop for CARMA data reduction. This includes old data from the Illinois data archive (if you need it), as well as linux install CDs, or Mac install DVDs (Xcode is key here!) etc. A list of things we've encountered as people could forget are:

  • Mac users should bring their install DVDs (Xcode is normally on the 2nd DVD)
  • Linux users should bring their install DVD(s)
  • we prepackage binaries for compilers where needed (e.g. hpc stuff for Mac users), binary releases for Miriad and the optional tools (ds9, karma, ....) that we might want to use.
  • Mac users should have the fortran (and C) compiler. I've had good luck with the HPC project compilers for Fortran. Be sure to mate g77 with gcc3 and gfortran with gcc4. Another method can be to install your own g77 compiler, see [[1]]. There is a new project Xcode/gFortran Plugin which I have not tried out. You might also find some gfortran binaries at the GCC wiki.
Personal tools