Project

General

Profile

Documentation » History » Version 26

Version 25 (Arthur Snoke, 04/15/2013 04:47 PM) → Version 26/28 (Arthur Snoke, 04/17/2013 08:14 AM)

h1. Documentation

h2. History of Changes

Reverse chronological order of corrections and enhancements made to SAC

* [[HISTORY since release of v101.5c]]
* [[CHANGES since release of v101.5c]]
* [[v101.5 History]]
* [[v101.4 History]]
* [[v101.3 History]]
* [[v101.2 History]]
* [[v101.1 History]]
* [[v101.0 History]]
* [[v100.1 History]]

h2. "2012 ES-SSA Presentation":https://seiscode.iris.washington.edu/attachments/275/es-ssa-2012.pdf [PDF]

Addressing Precision Limitations in the Seismic Analysis Code (SAC) File Header and Data Format (presentation at the Eastern Section of the SSA meeting in October 2012)

h2. Installing SAC

Detailed instructions to install SAC are found in the README.

h3. Binary Installation

If you received a binary distribution of SAC, it expects to be installed at /usr/local/sac.

% tar -zxf sac-101.6_linux_x86_64.tar.gz -C /usr/local

+Environment setup+

SAC comes with a set of scripts to add the correct directories to your path and setup the environment variables properly. They are located in the bin directory within sac distribution. Follow the instructions based on the shell you are running.

+sh / bash+

To your ~/.profile or ~/.bashrc add:

source /usr/local/sac/bin/sacinit.sh

+csh / tcsh+

To your ~/.cshrc or ~/.tcshrc add:

source /usr/local/sac/bin/sacinit.csh

Either reinitializing your shell or logging out/logging in will setup your shell for using SAC.

+Customization+

You are free to copy the contents of the sacinit scripts to either of your shell's initialization files to customize the environment to your liking.

h2. Running SAC

* Error: sac: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by sac)
Cause: Incompatible C Library
Ubuntu 12.10 uses 2.14
CentOS 6.4 uses 2.12
Note: CentOS binary works on Ubuntu 12.10