Thread: Installation problem

Started: 2019-04-04 21:02:30
Last activity: 2019-04-05 17:52:36
Topics: SAC Help
Ritu Chaity Ghose
2019-04-04 21:02:30
Hello,

I have received the SAC software and got the .sac directory. But I don’t
see any setup file in the lib folder. Is there anything I need to edit? My
MacOS is 10.13.6. The email says it runs on 10.7, 10.8 and 10.9.
Please let me know how can I get the software installed.

Thank you
Ritu

  • Geo .
    2019-04-05 15:45:49
    Hello Ritu,
    Read the sac/README carefully. There is no setup file. For instance, the
    following appears in the README. It should be straight forward to set up
    sac. Also, see this previous thread
    https://ds.iris.edu/message-center/thread/5119/#m-7374

    The system has to be able to find the binaries and scripts that are in
    SACHOME/bin, and the environmental variable SACAUX must be set to
    SACHOME/aux.

    In addition, there are options within SAC that can be set through
    environmental
    variables. In SACHOME/bin the scripts sacinit.csh (csh and tcsh) and
    sacinit.sh (bash) contain lines that set up your environment.

    If the distribution was built from sources, these scripts were created
    during
    the installation of the SAC package and already have the correct path for
    the
    computer on which it was built.

    If the distribution is binary, you may need to edit the directory given for
    SACHOME. See the script for your shell for descriptions of the options and
    the syntax for the commands.

    If SACHOME is /usr/local/sac and the sacinit file is modified accordingly,
    to set the path and other options for SAC, do the following:

    For csh and tcsh, edit ~/.cshrc adding the lines
    setenv SACHOME /usr/local/sac
    source ${SACHOME}/bin/sacinit.csh

    After saving and exiting the file, enter
    source ~/.cshrc

    For bash, edit ~/.bashrc adding the lines
    export SACHOME=/usr/local/sac
    . ${SACHOME}/bin/sacinit.sh

    After saving and exiting the file, enter
    . ~/.bashrc

    If one wants to change any of the options or if more than one person is
    using
    the same SAC distribution, it is best to copy the path and environment
    lines directly into their own shell initialization file.

    Januka

    Januka Attanayake
    Research Fellow | Earthquake Seismology
    Homepage: *https://sites.google.com/site/janukaattanayake
    https://sites.google.com/site/janukaattanayake*

    School of Earth Sciences | McCoy Bldg. 200
    University of Melbourne | Parkville 3010 VIC
    Australia




    On Fri, 5 Apr 2019 at 06:45, Ritu Chaity Ghose <ritu.rcg<at>gmail.com> wrote:

    Hello,

    I have received the SAC software and got the .sac directory. But I don’t
    see any setup file in the lib folder. Is there anything I need to edit? My
    MacOS is 10.13.6. The email says it runs on 10.7, 10.8 and 10.9.
    Please let me know how can I get the software installed.

    Thank you
    Ritu

    ----------------------
    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/


  • Arthur Snoke
    2019-04-05 17:52:36
    On 4/4/19 3:44 PM, Ritu Chaity Ghose wrote:
    My MacOS is 10.13.6. The email says it runs on 10.7, 10.8 and 10.9.

    I have 10.13 and it installs okay.  I understand it works on 10.14 too.  The
    reason the README file does not claim more than 10.9 is that that was the
    current version when 101.6a came out in 2013.

17:04:42 v.b4412d20