Project

General

Profile

Documentation » History » Version 25

Arthur Snoke, 04/15/2013 04:47 PM

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