Project

General

Profile

Documentation » History » Version 23

Brian Savage, 04/11/2013 10:44 AM

1 5 Brian Savage
h1. Documentation
2 1 Brian Savage
3 19 Brian Savage
h2. History of Changes
4 19 Brian Savage
5 17 Brian Savage
Reverse chronological order of corrections and enhancements made to SAC 
6 17 Brian Savage
7 20 Arthur Snoke
  * [[v101.6 History]]
8 19 Brian Savage
  * [[v101.5 History]]
9 19 Brian Savage
  * [[v101.4 History]]
10 19 Brian Savage
  * [[v101.3 History]]
11 19 Brian Savage
  * [[v101.2 History]]
12 19 Brian Savage
  * [[v101.1 History]]
13 19 Brian Savage
  * [[v101.0 History]]
14 19 Brian Savage
  * [[v100.1 History]]
15 6 Brian Savage
16 15 Arthur Snoke
h2. "2012 ES-SSA Presentation":https://seiscode.iris.washington.edu/attachments/275/es-ssa-2012.pdf [PDF]
17 9 Brian Savage
18 14 Arthur Snoke
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) 
19 21 Brian Savage
20 23 Brian Savage
h2. Installing SAC
21 23 Brian Savage
22 23 Brian Savage
Detailed instructions to install SAC are found in the README.  
23 23 Brian Savage
24 23 Brian Savage
h3. Binary Installation
25 23 Brian Savage
26 23 Brian Savage
If you received a binary distribution of SAC, it expects to be installed at /usr/local/sac.
27 23 Brian Savage
28 23 Brian Savage
   % tar -zxf sac-101.6_linux_x86_64.tar.gz -C /usr/local
29 23 Brian Savage
30 23 Brian Savage
+Environment setup+
31 23 Brian Savage
32 23 Brian Savage
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.
33 23 Brian Savage
34 23 Brian Savage
+sh / bash+
35 23 Brian Savage
36 23 Brian Savage
To your ~/.profile or ~/.bashrc add:
37 23 Brian Savage
38 23 Brian Savage
   source /usr/local/sac/bin/sacinit.sh
39 23 Brian Savage
40 23 Brian Savage
+csh / tcsh+
41 23 Brian Savage
42 23 Brian Savage
To your ~/.cshrc or ~/.tcshrc add:
43 23 Brian Savage
44 23 Brian Savage
   source /usr/local/sac/bin/sacinit.csh
45 23 Brian Savage
46 23 Brian Savage
Either reinitializing your shell or logging out/logging in will setup your shell for using SAC.
47 23 Brian Savage
48 23 Brian Savage
+Customization+
49 23 Brian Savage
50 23 Brian Savage
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.
51 23 Brian Savage
52 21 Brian Savage
h2. Running SAC
53 21 Brian Savage
54 21 Brian Savage
* Error: sac: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by sac)
55 21 Brian Savage
 Cause: Incompatible C Library
56 21 Brian Savage
 Ubuntu 12.10 uses 2.14
57 21 Brian Savage
 CentOS 6.4 uses 2.12
58 22 Brian Savage
 Note: CentOS binary works on Ubuntu 12.10