Thread: problem installing SAC in Ubuntu

Started: 2018-08-14 21:22:07
Last activity: 2018-08-14 23:53:05
Topics: SAC Help
claudia pavez
2018-08-14 21:22:07
Hi!
Problem installing SAC in Ubuntu =(
The software is ready, but when I try to run it, this message appears:

ERROR: Environmental variable SACAUX not defined

I read in some pages that I have to modify the .bashrc file, but this is
done, and still not working.

This is my bashrc file:

# SAC Environment variables
export SACHOME=/usr/local/sac # change to your sac dir.
export PATH=$PATH:$SACHOME/bin
export SACAUX=$SACHOME/aux
export SACLIB=$SACHOME/lib/sacio.a
export SAC_USE_DATABASE=0
export SAC_PPK_LARGE_CROSSHAIRS=1
#alias sac='$HOME/Soft/sac/bin/sac $HOME/bin/sac.init'

Any help please?

Regards

Claudia Pavez
PhD in Geology

  • Milton Plasencia
    2018-08-14 23:53:05
    Hi Claudia,
    Your variables definition seems OK, but
    Are you sourcing .bashrc and no bashrc (without initial dot)?
    Are you try?: > echo $SACAUX
    Are you installed sac in /usr/local/sac ?

    HTH,

    m.


    ----------------------------
    Milton Plasencia
    mplasencia<at>inogs.it



    On Tue, Aug 14, 2018 at 2:24 PM claudia pavez <cv.pavez.o<at>gmail.com> wrote:

    Hi!
    Problem installing SAC in Ubuntu =(
    The software is ready, but when I try to run it, this message appears:

    ERROR: Environmental variable SACAUX not defined

    I read in some pages that I have to modify the .bashrc file, but this is
    done, and still not working.

    This is my bashrc file:

    # SAC Environment variables
    export SACHOME=/usr/local/sac # change to your sac dir.
    export PATH=$PATH:$SACHOME/bin
    export SACAUX=$SACHOME/aux
    export SACLIB=$SACHOME/lib/sacio.a
    export SAC_USE_DATABASE=0
    export SAC_PPK_LARGE_CROSSHAIRS=1
    #alias sac='$HOME/Soft/sac/bin/sac $HOME/bin/sac.init'

    Any help please?

    Regards

    Claudia Pavez
    PhD in Geology


    ----------------------
    SAC Help
    Topic home: http://ds.iris.edu/message-center/topic/sac-help/ |
    Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu

    Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
    Update subscription preferences at http://ds.iris.edu/account/profile/


12:12:57 v.f0c1234e