CERI Implementation

SAC is part of CERI's supported software.

On login, each user sources the "ceri_common.cshrc" file which sets the following UNIX environmental variables.  These variables are needed by the SAC program to access internal databases.



 
##########################################
#The Following are sac Variables#
##########################################
setenv SACDIR /ceri_common/supported/sac2000/sac
set path = ($path $SACDIR/bin)
setenv SACCFLAGS "-w -DBSD4.2 -DSUNOS4.0"
setenv SACFFLAGS "-w -Nn2000 -Nq300"
setenv SACPFLAGS "-P"
setenv SACXWINDOWS x11
setenv SACAUX $SACDIR/aux
setenv SACGRAPHICSDEVICE X
setenv LD_LIBRARY_PATH $SACDIR/lib:$LD_LIBRARY_PATH
#



Important Note:

At this time (3/05/01) CERI does not have a generally available copy of the SAC library, "sac.a" or "sacio.a", that can be used in compiling fortran or C programs on SUN Solaris systems.  A copy is available at /tetemeko/local/sac/lib/sac.a if you need to compile programs with SAC I/O routines.


The SAC program is started by typing, for example:

     system prompt> sac2000

You then see:

     NEW SEISMIC ANALYSIS CODE [March 28, 1996 (Version 00.51)]
     Copyright 1995 Regents of the University of California

    SAC>

And SAC is ready to go!


Return



last modified 3/05/01