Re-install an existing Miriad version

From CARMA
Revision as of 16:35, 18 May 2007 by Teuben (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

If you have problems with your current binary version, e.g. missing shared libraries, you might have to re-install this version (or just install from source).

In order to do Miriad maintenance, you will need to use the mirboss alias, which adds the system commands in Miriad to your path:

 % mirboss

Re-link programs

The simplest approach is to assume a re-link is all you need. Try this:

 % mir.prog itemize
 % itemize

and see if that still gives a shared library problem.

Wrong compiler

It could be that you don't have the compiler (or even path) that was used in the binary. Edit the file in $MIR/localsys/compile.HOSTTYPE and try to recompile a program:

 % edit $MIR/localsys/compile.darwin
 % mir.prog itemize
 % itemize
Personal tools