Project

General

Profile

Documentation » History » Version 24

« Previous - Version 24/28 (diff) - Next » - Current version
Arthur Snoke, 04/15/2013 04:21 PM


Documentation

History of Changes

Reverse chronological order of corrections and enhancements made to SAC

2012 ES-SSA Presentation [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)

Installing SAC

Detailed instructions to install SAC are found in the README.

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.

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