Home Up References Notes Homework Links Exams





From David Boore's Web Site:

(see C:\AAA_Files\Teaching\CE7137\AAA_class_Notes\Boore\Software)

-----------  This is a backup for CIVL7137.  Up to date data can be found from Dr. Boore's Web Site given above.

Links to Online Software

(To download, PC users should right-click and choose "Save Target As...")

Users should be aware of the following disclaimer: Although these programs have been used by the U.S. Geological Survey, no warranty, expressed or implied, is made by the USGS as to the accuracy and functioning of the programs and related program material, nor shall the fact of distribution constitute any such warranty, and no responsibility is assumed by the USGS in connection therewith.

The disclaimer applies even more than usual to these programs. The programs are part of evolving packages and are provided solely for the convenience of the user. I would like to hear about bugs, but please do not ask me for software support.


Return to home page



NGA08_GM_TMR (Next Generation Attenuation Ground Motions for specified period (T), Magnitude, and distance (R)

Revised version: 23 March 2012

Click here for notes concerning the program including sample input and output. Click here for a zip file containing all necessary program files, coefficient files, and sample input and output files. This version corrects a bug in computing the AS08 equations for reverse slip faults (Fnm was set to 1.0 rather than to 0.0); I thank John Douglas for finding this bug.


BSSA14_GM_TMR (Next Generation Attenuation Ground Motions for specified period (T), Magnitude, and distance (R)

Revised 12 June 2014 (fixed broken link to the paper)

Click here for a zip file containing all necessary program files, coefficient files, and sample input and output files to evaluate the Boore et al. (2014) (aka "BSSA14") GMPEs (click here for a copy of the paper).


SMSIM (Stochastic-Method SIMulation)

An update of the stochastic method part of the SMSIM software was uploaded on 30 June 2014.

The site amplification part of the SMSIM software was updated 02 November 2012.

Because I do not keep a careful record of changes from one version to the next of the distribution files, I will make no effort to describe what has changed. The best way of doing that is to carefully compare a new params file with a previous one. Note that the params files have a date indicating when the file was modified. The programs check this date to make sure that the proper version is being used.

The params file for the stochastic method programs now include the names of the files containing the coefficients for the Boore and Thompson (2012) (BT12) modification of RV simulation results. These files are named "" and "". In the params files the folder "\smsim\" is included as part of the file names. There are several options to make sure that the program can find the BT12 files: 1) put the BT12 files in a folder named "smsim"; 2) put the files into your working folder and remove the folder designation from the file names in the params file; 3) specify the folder in which the files are located.

Note the addition of a new 2-corner source model (source 12) that is a generalization of the additive model used by Atkinson and Boore (1995) and Atkinson and Silva (2000), among others. This change required a change to the params files used by the SMSIM programs. The new model allows the high-frequency spectral level to be the same as that for the standard one-corner source model, with a specified stress parameter. The two generalized 2-corner models (sources 11 and 12) in SMSIM allow considerable flexibility in modeling data (both observed and simulated). Notes describing the model and giving examples are in the SMSIM zip file (see below for the link); these notes are also on the Dave's Notes page (click here for a copy of the notes; see also the online publication page for a paper on the subject by Boore, Di Alessandro, and Abrahamson).

I have not tested all drivers that read the changed params file. Please contact me if something seems not to be working.

For SMSIM, download the Read Me File file (19 Kb), the Manual (1.1 Mb) , the zip files containing Stochastic-Method Simulation software (7.4 Mb) and Site Amplification software (2.9 Mb) (some files might be missing. If so, contact me.).

The manual has not been updated to incorporate the latest changes, but the existing manual does explain the meaning of a number of input parameters related to such things as the geometrical spreading, Q, and specification of the time series envelope in the time-domain simulations. One important change: the files containing parameters for a run have the extension "params" rather than "dat". For example, the file used to create the examples in the manual is "ofr.params", where "ofr" stands for "Open-File Report" and "params" stands for "parameters". There are often extensive comment lines in the params files explaining the meaning of the parameters. These comments should be read carefully. I also recommend looking at the comment lines at the beginning of the Fortran source code for each program for more up-to-date information. New since the manual was written are a suite of "driver" programs that do not require user input from the screen. These make it much easier to generate motions for any combination of period, magnitude, distance, and stress parameter for response spectra and frequency, magnitude, distance, and stress parameter for Fourier spectra. Two versions of these programs are provided, the most general of which compute motions for values of the period, magnitude, distance, and stress parameter given in individual lines in the control files tmrs_rv_drvr.ctl (for random-vibration calculations) and tmrs_td_drvr.ctl (for time-domain calculations). Any combination of period, magnitude, distance, and stress parameter can be used. More useful in many cases are the programs tmrs_loop_rv_rvr and tmrs_loop_td_drvr, which allow loops over a series of periods, magnitude, distances, and stress parameters to be easily specified. There are comparable programs for computing the Fourier amplitude spectra of the ground-motion models.

I make heavy use of include statements to append necessary subroutines into the main program source code at compile time. For ease of use, I have made collections of subroutines that are in different folders on my computer. By putting all of the source code in the SMSIM zip file into a single folder and compiling the programs from within that folder, there should be no problems with the include statements finding the subroutines. There may still be a few cases, however, where the include statements specify a different folder (usually "forprogs", the folder in which I keep my non-SMSIM programs), in which case the source code needs to be edited to remove that different folder.

I am using a new method for keeping track of which files to include in the distribution zip file. If some source code is missing, please contact me. Be aware that some of the Fortran files, such as rv_subs.for, td_subs.for, rv_td_subs.for, smsim_util_subs.for, ff_subprograms.for, and recipes.for are collections of subprograms used by the SMSIM programs; these collections of subprograms are added to the source code of the main programs by use of INCLUDE statements.

For EXSIM_DMB, download a zip file containing the source code, the executable file, site and crustal amplification input files, the parameter file, and the output files produced by running the program with the parameter file. Also included is my paper published in Bull. Seismol. Soc. Am. describing the modifications I have made to D. Motazedian's program EXSIM. (Updated on 12 April 2013. This is a very minor revision of the previous version. The only important change was to correct the azimuth in the psa_fs output files, which were incorrect by a factor of 180/pi (in the older version, the azimuth was assumed to be in radians and was multiplied by 180/pi for writing to the output file, so that the output would be in degrees. But the azimuth in the program was already in degrees, so the factor 180/pi was not needed). .


Programs to calculate fault-to-station distances

Updated 27 September 2010 (include computation of azimuths from ends of fault (called az_jb), for use in evaluating the NGA GMPEs using the program NGA_GM_TMR).

Click here for a zip files containing programs for computing various distance measures between a station and a finite fault; also included are programs to compute the distance between two points specified by their latitudes and longitudes, as well as other useful programs, such as those for converting between kilometers and degrees (useful when the vertices of a fault's surface projection are in terms of kilometers on a cartesian grid, rather than latitude and longitude, and vice versa).


TSPP---A Collection of FORTRAN Programs for Processing and Manipulating Time Series [revised 13 July 2011]

The zip files accompanying the Open-File Report 2008-1111 can be obtained from the links below. Note that the revision of the manual is lagging behind the program revisions, and for that reason some of the control files in the examples in the Open-File Report may not correspond exactly to the current control files (e.g., smc2fs2.ctl).

Note that these programs keep evolving, and I often find that changes are needed as I use particular programs in various projects. For my convenience, and to make sure that the latest versions of the programs are on my web site, I use a batch command file to create new zip files for all of the programs, even if only a few have been modified (e.g., on 20 December 2010 I modified only the smc_detrend processing program, but I created v.2.38 of all the files). It is too hard for me to keep a change log for all of the programs in a single file, so I recommend that users download the latest zip files and simply overwrite the previous files. If a file is missing, please let me know.


For problems or questions regarding this web contact [].
Last updated: August 08, 2014.