Hypoinverse 2000

Notes July 5 2002

The program called hyp2000 is located on swave.wr.usgs.gov and is
available by anonymous ftp.  It has been revised and tested for several
months.  The source code location on swave is 

ftp://swave.wr.usgs.gov/pub/outgoing/klein/hyp2000/source


The program documentation is available as an open file report "User's
guide to HYPOINVERSE-2000, a fortran program to solve for earthquake
locations and magnitudes", USGS Open file report 02-171, 2002.  The
easiest way to get it is from the site

http://geopubs.wr.usgs.gov/open-file/of02-171 

as an Adobe acrobat pdf file for reading or printing.  You can also get
a Microsoft Word 2000 document from

ftp://swave.wr.usgs.gov/pub/outgoing/klein/hyp2000/docs/hyp2000-1.0.doc

Any revised versions should be posted to the swave site before the
geopubs site.


The program executable is in pub/outgoing/klein/hyp2000.  The
executable is for sun/solaris with fortran libraries bound inside, so
you should not need fortran on your sun unix computer to execute.

The code compiles under solaris or sun-os, and also under VMS.  Source
code is in fortran 77 with some sun/vms entensions.  A few small
subroutines come in both sun (*.f) and VMS (*.for) versions, but 99% of
the code is identical.  If there is only a *.for version in the
directory, it compiles under both systems.  Source code and a sample
makefile are in the pub/outgoing/klein/hyp2000/source directory.  You
will need to modify the makefile for your computer.

The VMS version will do input and output to CUSP *.mem files.  We are
using it to read mem files and output ASCII archive files, including
shadow cards, for our catalog.  CUSP subroutines are in the /cusp
directory.  Hypoinverse functions independently of being in the CUSP
environment.  You just have to have an event-ddl file and define the
path to it.  See the documentation for more details.

You can make a VMS version without the CUSP functions by using the
dummy subroutines for the unix version (for example, use hycin.f
instead of hycin.for).

The standard subroutines (common to many of my programs) are in the
/subs subdirectory.

Many other related files such as the program ttgen, NCSN stations and
NCSN Hypoinverse control files may be under pub/outgoing/klein.

Unix users can ftp the compressed and tarred file hypoinverse.tar.Z and
issue the unix commands (let me know if this does not work because I
have not tried to rebuild hyp2000 in this way):

uncompress hypoinverse.tar.Z
tar -xvf hypoinverse.tar

Fred Klein
