Thread: Setting SAC Path

Started: 2010-10-08 16:56:33
Last activity: 2010-10-08 17:17:32
Topics: SAC Help
Christina Rau
2010-10-08 16:56:33
Hi,
I have finished building SAC on my Mac, and am now trying to set the path
and other options. Using the instructions for bash this is what I get:
gc156-crau:sac crau$ export SACHOME=/usr/local/sac
gc156-crau:sac crau$ source ${SACHOME}/bin/sacinit.csh
-bash: setenv: command not found
-bash: setenv: command not found
-bash: setenv: command not found
-bash: setenv: command not found
-bash: setenv: command not found
-bash: setenv: command not found

So I tried using csh and running sac:
gc156-crau:sac crau$ csh
[gc156-crau:/usr/local/sac] crau% setenv SACHOME /usr/local/sac
[gc156-crau:/usr/local/sac] crau% source ${SACHOME}/bin/sacinit.csh
[gc156-crau:/usr/local/sac] crau% sac
WARNING: Number 108 /usr/local/jas/sac/aux/csspickpref . readcss will not
read picks.
ERROR: Number 901 in INITCOMLISTS.
Problems opening Command List: /usr/local/jas/sac/aux/clstd



--
Christina J. Rau
Ph.D. Candidate
Tectonophysics Research Group

Dept. of Geological Sciences, Brown Univ.
324 Brook Street, Box 1846
Providence, RI 02912

  • Brian Savage
    2010-10-08 17:17:32
    Dear Christina,

    I suspect if you look in the sacinit.csh file you will find the SACAUX
    variable set to "/usr/local/jas/sac/aux" or something similar. I am
    not sure how this got into the distribution but it appears to be from
    one of the developers.

    Either modify the sacinit.csh file or the sacinit.sh file in /usr/
    local/sac/bin to point to the correct locations or copy the lines from
    the init files to your own .cshrc or .bashrc and then modify them to
    your correct location. From your initial commands it appears you are
    running sh or bash and you should be using the sacinit.sh not
    sacinit.csh.

    I hope this helps and we will get you SAC running on your system.

    Brian Savage
    savage<at>uri.edu



    On Oct 8, 2010, at 9:56 AM, Christina Rau wrote:

    Hi,
    I have finished building SAC on my Mac, and am now trying to set the
    path and other options. Using the instructions for bash this is what
    I get:
    gc156-crau:sac crau$ export SACHOME=/usr/local/sac
    gc156-crau:sac crau$ source ${SACHOME}/bin/sacinit.csh
    -bash: setenv: command not found
    -bash: setenv: command not found
    -bash: setenv: command not found
    -bash: setenv: command not found
    -bash: setenv: command not found
    -bash: setenv: command not found

    So I tried using csh and running sac:
    gc156-crau:sac crau$ csh
    [gc156-crau:/usr/local/sac] crau% setenv SACHOME /usr/local/sac
    [gc156-crau:/usr/local/sac] crau% source ${SACHOME}/bin/sacinit.csh
    [gc156-crau:/usr/local/sac] crau% sac
    WARNING: Number 108 /usr/local/jas/sac/aux/csspickpref . readcss
    will not read picks.
    ERROR: Number 901 in INITCOMLISTS.
    Problems opening Command List: /usr/local/jas/sac/aux/clstd



    --
    Christina J. Rau
    Ph.D. Candidate
    Tectonophysics Research Group

    Dept. of Geological Sciences, Brown Univ.
    324 Brook Street, Box 1846
    Providence, RI 02912

    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help


23:48:54 v.22510d55