Miriad binary releases

From CARMA
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
== Binary releases ==
 
== Binary releases ==
  
See [ftp://ftp.astro.umd.edu/progs/bima]. Local versions can also be found on kern.ovro.caltech.edu:/export/miriad at OVRO.
+
See [ftp://ftp.astro.umd.edu/progs/bima]. Local versions can also be found on kern.ovro.caltech.edu:/export/miriad at OVRO. Pick the correct one matching your OS and compiler:
  
* miriad_ia32: linux IA-32 (i386..i686)
+
* miriad_linux_*: Linux: versions for Fedora Core 5 (also works on unbuntu) and Mandrake 10.1
* miriad_ia64: linux IA-64 (amd64...)
+
* miriad_linux: linux IA-64  
* miriad_ppcdarwin_ppc, compiled with gcc 4.3.0 and g77 3.4.6 from HPC, for MacOSX 10.4.8 (Tiger)
+
* miriad_darwin_ppc*:  MacOSX/10.4 (tiger) - a version for g77 and gfortran
* miriad_intel: darwin_intel, compiled with gcc 4.3.0 and g77 3.4.0 from HPC for MacOS 10.4.8 (Tiger)
+
* miriad_darwin_intel*: MacOSX/10.4 (tiger) - a version for g77 and gfortran
  
Untar the file and edit the two miriad_start scripts to reflect the location on your system e.g.
+
Then untar the file and patch the miriad_start scripts to reflect the location on your system e.g.
  
 
   % wget ftp://ftp.astro.umd.edu/progs/bima/miriad_darwin_intel_g77.tar.gz
 
   % wget ftp://ftp.astro.umd.edu/progs/bima/miriad_darwin_intel_g77.tar.gz
 
   % tar zxf miriad_darwin_intel_g77.tar.gz
 
   % tar zxf miriad_darwin_intel_g77.tar.gz
 
   % cd miriad
 
   % cd miriad
   % install/make_miriad_starts
+
   % install/make_miriad_starts                     <-- this patches the miriad_start scripts
  
 
Now source the appropriate startup file, depending on your shell, and miriad should now be usable in your shell. You can also make this permanent by adding this to your '''~/.cshrc''' or '''~/.bashrc''' file, e.g.  
 
Now source the appropriate startup file, depending on your shell, and miriad should now be usable in your shell. You can also make this permanent by adding this to your '''~/.cshrc''' or '''~/.bashrc''' file, e.g.  

Revision as of 12:24, 21 May 2007

Binary releases

See [1]. Local versions can also be found on kern.ovro.caltech.edu:/export/miriad at OVRO. Pick the correct one matching your OS and compiler:

  • miriad_linux_*: Linux: versions for Fedora Core 5 (also works on unbuntu) and Mandrake 10.1
  • miriad_linux: linux IA-64
  • miriad_darwin_ppc*: MacOSX/10.4 (tiger) - a version for g77 and gfortran
  • miriad_darwin_intel*: MacOSX/10.4 (tiger) - a version for g77 and gfortran

Then untar the file and patch the miriad_start scripts to reflect the location on your system e.g.

 % wget ftp://ftp.astro.umd.edu/progs/bima/miriad_darwin_intel_g77.tar.gz
 % tar zxf miriad_darwin_intel_g77.tar.gz
 % cd miriad
 % install/make_miriad_starts                     <-- this patches the miriad_start scripts

Now source the appropriate startup file, depending on your shell, and miriad should now be usable in your shell. You can also make this permanent by adding this to your ~/.cshrc or ~/.bashrc file, e.g.

 % source miriad_start.csh

It is quite possible that shared libraries on your system are not compatible with the ones in our binary releases. If so, you should try an installation from source. Or be brave and re-install an existing Miriad version.

CVS

Each binary release is CVS enabled, albeit via the CVS anonymous account. This means you can cvs update your source tree and obtain new code, but not randomly edit and expect the merge to be successfull. If this all means nothing to you, we will cover this at the Party. However, here are some examples of fairly common modifications:

0) Update your miriad source, first checking what is new on the server

 % cd $MIR
 % cvs -nq update                <-- check that only two maxdim header files are tagged 'M' as locally modified
                                     anything like U is good, anything else M or C is bad.
 % cvs update                        Update the code
 
 

1) modifying a subroutine

 % mirboss
 % edit $MIRSUBS/fitsio.for
 % mir.subs fitsio

Caveat: on linux shared libraries are used, on Mac not yet, so all binaries would need to be rebuilt on Mac:

 % mir.install prog

2) modify a program

 % mirboss
 % edit $MIRPROG/convert/fits.for
 % mir.prog fits
Personal tools