Installing SMA MIRIAD on Ubuntu (2014/05)


What is MIRIAD? See http://bima.astro.umd.edu/miriad/ for information.

Edit : Tested on the Ubuntu 13.04 Raring Ringtail
Edit2 : Tested on the Ubuntu 13.10 Saucy Salamander

Edit3 : Tested on the Ubuntu 14.04 Trusty Tahr

I am not 100% sure about the prerequisites, it should work with the ones below, however (especially after installing IRAM GILDAS).

sudo apt-get install build-essential pgplot5 gfortran libreadline-dev libforms-bin csh cvs

Then go and grab the latest binary release from :

ftp://ftp.astro.umd.edu/progs/carma/miriad_201X.X/

NOTE: Got into catalog with highest number. At time of writing this is “2014.7”. Choose miriad_linux64_u14_gfortran.tar.gz for Ubuntu.

Unpack it where you want it to install:

tar zxf miriad_linux64_BINARY_gfortran.tar.gz

where “BINARY” is your Ubuntu version i.e.  miriad_linux64_u14_gfortran.tar.gz for Ubuntu 14.04.

Enter the catalog and run the “install script”:

cd miriad
install/make_miriad_starts

then to source the miriad binaries you have to run

source miriad_start.sh

from the miriad catalog, or add these lines to your hidden .bashrc/.bash_aliases file in your home-directory
(nano ~/.bashrc):

#source miriad environment variables
alias mirenv=”source /your_path/to_the_installation/directory/miriad_start.sh”

and to launch miriad type mirenv, followed by miriad (or your choice of miriad task) or just add (to the same file)

#source miriad environment variables
source /your_path/to_installation/miriad_start.sh

To have it accessible directly when you start a terminal.


EDIT: You can now update the installation at any time by running

mirupdate

(after sourcing “miriad_start.sh”) it will get all the updated files via CVS and recompile all binaries.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

RELATED POST

Raspberry Pi baby monitor – Hardware, part 1

Raspberry Pi baby monitor In this first of a multi-part post I will show my build of a Raspberry Pi…

Sync FitBit with Google Fit

Finally: sync FitBit and Google Fit at high time resolution! I have been trying to figure out a way to…

Monitor dependent setup in i3wm

Multiple configurations for different monitor setups in i3wm General Figure 1:¬†Anyone that recognize this image might find this "guide" useful!…

Installing IRAM GILDAS on Ubuntu

    Figure: Screenshot of GILDAS MAPPIN in action viewing an imported FITS spectral cube.Fore information on IRAM GILDAS, see http://www.iram.fr/IRAMFR/GILDAS/…

%d bloggers like this: