next up previous
Next: MAC OS X Up: Installation of Miriad 4 Previous: LINUX 32/64 BITS COMPUTERS

BINARY INSTALLATION FOR LINUX 32/64 BITS COMPUTERS

One may consider to install the binary version of the Miriad (configured for SMA) on one's linux computer if one had difficulties to compile the codes. In particular, one might have been frustrated in the installation on a 64 bits linux computer. The updated binary package (for linux) can be downloaded from the SMA web site: Miriad 4 Configured for SMA (miriad32.tar.gz with jplcat & smaplmdl). or Miriad 4 Configured for SMA (miriad64.tar.gz with jplcat & smaplmdl). Then, one may need to go through the following steps to complete the binary installation:
(change miriad32.tar.gz or miriad64.tar.gz to miriad.tar.gz)

1. cp miriad.tar.gz /usr/local and gunzip the package:
       gunzip /usr/local/miriad.tar.gz

2. cd /usr/local and detar the package:
       tar xvf miriad.tar

3. cd miriad_cvs and edit MIRRC.linux to reset the environment variable MIR:
       setenv MIR  "/usr/local/miriad_cvs"

4. reset all the environment variables for Miriad:
       source MIRRC.linux

5. make sure that the environment variable for PGPLOT_DIR is correct:
       env | grep -n PGPLOT

       PGPLOT_DIR=/usr/local/miriad_cvs/lib/linux %This this a correct environment
                                                  %setup for using the PGPLOT
                                                  %library provided in Miriad

6. unset or remove other environment variables for PGPLOT if necessary (e.g.):
       unsetenv PGPLOT_FONT

7. make sure that 32bits X11 lib has been installed under (for 64bits computer):
        /usr/X11R6/lib



Miriad Acct.Jun-Hui Zhao
2009-07-30