Thread: BBFK seg fault

Started: 2018-02-08 08:48:15
Last activity: 2018-02-09 11:51:47
Topics: SAC Help
Charlotte Rowe
2018-02-08 08:48:15
Hi, I'm having trouble with FK analysis in SAC. Whenever I try to run "bbfk" I get a segmentation fault. This seems to be irrespective of what parameters I choose to set or leave alone. I am running under OSX on a macbook pro. My student has the same problem, running under OSX on a mac mini. The exact command on our (on life support) Sun server works just fine and provides exactly what I expect.


Has anyone else had this problem? Is there a fix? I plan to have my student use my own code for much of her analysis but I'd like her to validate the output against SAC. I'm not sure she will get a log-in on our Sun; it would be better if we can both do our checks on our Macs.


thanks


*******************************
Dr. Charlotte A. Rowe
EES-17, MS F-665
Seismologist, Geophysics Group
Los Alamos National Laboratory
Ph: 505-665-6404, Cell: 505-500-2486
B-Schedule

"Never eat more than you can lift"
-------- Miss Piggy

************* Correspondence ***************

  • Milton Plasencia
    2018-02-08 13:40:40
    Hi,

    In my MacBook Pro (High Sierra) command BBFK ask me for input files..
    Sac version 101.6a.

    SAC> bbfk

    ERROR 1301: No data files read in.

    SAC>

    Cheers,

    m.


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


    On Thu, Feb 8, 2018 at 1:49 AM, Charlotte Rowe <char<at>lanl.gov> wrote:

    Hi, I'm having trouble with FK analysis in SAC. Whenever I try to run
    "bbfk" I get a segmentation fault. This seems to be irrespective of what
    parameters I choose to set or leave alone. I am running under OSX on a
    macbook pro. My student has the same problem, running under OSX on a mac
    mini. The exact command on our (on life support) Sun server works just
    fine and provides exactly what I expect.


    Has anyone else had this problem? Is there a fix? I plan to have my
    student use my own code for much of her analysis but I'd like her to
    validate the output against SAC. I'm not sure she will get a log-in on our
    Sun; it would be better if we can both do our checks on our Macs.


    thanks


    *******************************
    Dr. Charlotte A. Rowe
    EES-17, MS F-665
    Seismologist, Geophysics Group
    Los Alamos National Laboratory
    Ph: 505-665-6404, Cell: 505-500-2486
    B-Schedule

    "Never eat more than you can lift"
    -------- Miss Piggy

    ************* Correspondence ***************


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



  • Brian Savage
    2018-02-09 00:19:49
    Charlotte,

    Do you have an data set / commands where it is failing?

    Brian

    On Feb 7, 2018, at 7:49 PM, Charlotte Rowe <char<at>lanl.gov> wrote:

    Hi, I'm having trouble with FK analysis in SAC. Whenever I try to run "bbfk" I get a segmentation fault. This seems to be irrespective of what parameters I choose to set or leave alone. I am running under OSX on a macbook pro. My student has the same problem, running under OSX on a mac mini. The exact command on our (on life support) Sun server works just fine and provides exactly what I expect.

    Has anyone else had this problem? Is there a fix? I plan to have my student use my own code for much of her analysis but I'd like her to validate the output against SAC. I'm not sure she will get a log-in on our Sun; it would be better if we can both do our checks on our Macs.

    thanks

    *******************************
    Dr. Charlotte A. Rowe
    EES-17, MS F-665
    Seismologist, Geophysics Group
    Los Alamos National Laboratory
    Ph: 505-665-6404, Cell: 505-500-2486
    B-Schedule

    "Never eat more than you can lift"
    -------- Miss Piggy

    ************* Correspondence ***************

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


    • Charlotte Rowe
      2018-02-09 06:12:47
      HI, Brian.

      1) We have a Linux version (now) that seems to work fine so my student is set up to ssh onto one of the Linux servers and run it from there


      2) I have to check with a classification reviewer to see if I can share my files with you.


      3) Any permutation of bbfk and parameters was failing - it would state that it had read thirteen components and then just "segmentation fault" and die. Same result whether I give it any arguments or not:


      [thoroughbred] char% sac
      SEISMIC ANALYSIS CODE [02/01/2012 (Version 101.5c)]
      Copyright 1995 Regents of the University of California

      SAC> read 2*s
      (.....reads my data files....)

      SAC> bbfk
      NUM TIME-SERIES FILES FROM THE START OF DFL:13
      Segmentation fault
      [thoroughbred]: char%


      4) I will ask about the data files now and see if I can send them to you, but I don't think that's the problem since both Sun and Redhat versions work just fine on these same data. But it would be worth figuring out what the issue is under OSX. It's supposed to be Unix after all.

      5) Thank you!


      Char


      *******************************
      Dr. Charlotte A. Rowe
      EES-17, MS F-665
      Seismologist, Geophysics Group
      Los Alamos National Laboratory
      Ph: 505-665-6404, Cell: 505-500-2486
      B-Schedule

      "Never eat more than you can lift"
      -------- Miss Piggy

      ************* Correspondence ***************


      ________________________________
      From: Brian Savage <savage<at>uri.edu>
      Sent: Thursday, February 8, 2018 2:19 PM
      To: Rowe, Char
      Cc: SAC Help
      Subject: Re: [IRIS][sac-help] BBFK seg fault

      Charlotte,

      Do you have an data set / commands where it is failing?

      Brian

      On Feb 7, 2018, at 7:49 PM, Charlotte Rowe <char<at>lanl.gov<char<at>lanl.gov>> wrote:


      Hi, I'm having trouble with FK analysis in SAC. Whenever I try to run "bbfk" I get a segmentation fault. This seems to be irrespective of what parameters I choose to set or leave alone. I am running under OSX on a macbook pro. My student has the same problem, running under OSX on a mac mini. The exact command on our (on life support) Sun server works just fine and provides exactly what I expect.


      Has anyone else had this problem? Is there a fix? I plan to have my student use my own code for much of her analysis but I'd like her to validate the output against SAC. I'm not sure she will get a log-in on our Sun; it would be better if we can both do our checks on our Macs.


      thanks


      *******************************
      Dr. Charlotte A. Rowe
      EES-17, MS F-665
      Seismologist, Geophysics Group
      Los Alamos National Laboratory
      Ph: 505-665-6404, Cell: 505-500-2486
      B-Schedule

      "Never eat more than you can lift"
      -------- Miss Piggy

      ************* Correspondence ***************

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


      • Milton Plasencia
        2018-02-09 11:51:47
        Hi,
        the same behaviour here, I used the same dataset in OSX and CentOS.
        and both systems have the same sac version 101.6a.

        - in OSX

        SAC> r *.sac

        BAN4_E.sac BAN4_N.sac BAN4_Z.sac BAN5_E.sac BAN5_N.sac BAN5_Z.sac
        BAN6_E.sac BAN6_N.sac BAN6_Z.sac DST2_E.sac DST2_N.sac DST2_Z.sac TRI_E.sac
        TRI_N.sac TRI_Z.sac

        SAC> bbfk

        NUM TIME-SERIES FILES FROM THE START OF DFL:15

        Warning: Co-located stations or events are being used in FK calculation

        Segmentation fault: 11

        - Linux

        *milton@pcasain7:~$* sac

        SEISMIC ANALYSIS CODE [05/02/2014 (Version 101.6a)]

        Copyright 1995 Regents of the University of California


        SAC> r *.sac

        BAN4_E.sac BAN4_N.sac BAN4_Z.sac BAN5_E.sac BAN5_N.sac BAN5_Z.sac
        BAN6_E.sac BAN6_N.sac BAN6_Z.sac DST2_E.sac DST2_N.sac DST2_Z.sac TRI_E.sac
        TRI_N.sac TRI_Z.sac

        SAC> bbfk

        NUM TIME-SERIES FILES FROM THE START OF DFL:15

        Warning: Co-located stations or events are being used in FK calculation

        FK peak = 1.414e+04

        Back Azimuth = 353.9(degrees)

        Wave Number = 0.870968(cycles/kilometer)

        title: $


        SAC>

        HTH,

        Milton

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


        On Thu, Feb 8, 2018 at 11:13 PM, Charlotte Rowe <char<at>lanl.gov> wrote:

        HI, Brian.

        1) We have a Linux version (now) that seems to work fine so my student is
        set up to ssh onto one of the Linux servers and run it from there


        2) I have to check with a classification reviewer to see if I can share my
        files with you.


        3) Any permutation of bbfk and parameters was failing - it would state
        that it had read thirteen components and then just "segmentation fault" and
        die. Same result whether I give it any arguments or not:


        [thoroughbred] char% sac
        SEISMIC ANALYSIS CODE [02/01/2012 (Version 101.5c)]
        Copyright 1995 Regents of the University of California

        SAC> read 2*s
        (.....reads my data files....)

        SAC> bbfk
        NUM TIME-SERIES FILES FROM THE START OF DFL:13
        Segmentation fault
        [thoroughbred]: char%

        4) I will ask about the data files now and see if I can send them to you,
        but I don't think that's the problem since both Sun and Redhat versions
        work just fine on these same data. But it would be worth figuring out what
        the issue is under OSX. It's supposed to be Unix after all.

        5) Thank you!


        Char


        *******************************
        Dr. Charlotte A. Rowe
        EES-17, MS F-665
        Seismologist, Geophysics Group
        Los Alamos National Laboratory
        Ph: 505-665-6404, Cell: 505-500-2486
        B-Schedule

        "Never eat more than you can lift"
        -------- Miss Piggy

        ************* Correspondence ***************


        ------------------------------
        *From:* Brian Savage <savage<at>uri.edu>
        *Sent:* Thursday, February 8, 2018 2:19 PM
        *To:* Rowe, Char
        *Cc:* SAC Help
        *Subject:* Re: [IRIS][sac-help] BBFK seg fault

        Charlotte,

        Do you have an data set / commands where it is failing?

        Brian

        On Feb 7, 2018, at 7:49 PM, Charlotte Rowe <char<at>lanl.gov> wrote:

        Hi, I'm having trouble with FK analysis in SAC. Whenever I try to run
        "bbfk" I get a segmentation fault. This seems to be irrespective of what
        parameters I choose to set or leave alone. I am running under OSX on a
        macbook pro. My student has the same problem, running under OSX on a mac
        mini. The exact command on our (on life support) Sun server works just
        fine and provides exactly what I expect.


        Has anyone else had this problem? Is there a fix? I plan to have my
        student use my own code for much of her analysis but I'd like her to
        validate the output against SAC. I'm not sure she will get a log-in on our
        Sun; it would be better if we can both do our checks on our Macs.


        thanks


        *******************************
        Dr. Charlotte A. Rowe
        EES-17, MS F-665
        Seismologist, Geophysics Group
        Los Alamos National Laboratory
        Ph: 505-665-6404, Cell: 505-500-2486
        B-Schedule

        "Never eat more than you can lift"
        -------- Miss Piggy

        ************* Correspondence ***************

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




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



        • Charlotte Rowe
          2018-02-09 11:18:59
          Richard Stead suggests there is something about pointer referencing in OSX that is different from SunOS and Linux. I can send one set of waveforms to George if he needs them but I really don’t think the data are the issue. But I have one event approved if that helps debug



          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          Dr. Charlotte A. Rowe
          EES-17 MS F665
          Los Alamos National Laboratory
          Los Alamos NM. 87545
          505-665-6404 w / 505-500-2486 c
          ****Sent from my iPhone
          ________________________________
          From: Milton Plasencia <mpplasencia<at>gmail.com>
          Sent: Thursday, February 8, 2018 7:51:47 PM
          To: Rowe, Char
          Cc: SAC Help
          Subject: Re: [IRIS][sac-help] BBFK seg fault

          Hi,
          the same behaviour here, I used the same dataset in OSX and CentOS.
          and both systems have the same sac version 101.6a.

          - in OSX

          SAC> r *.sac

          BAN4_E.sac BAN4_N.sac BAN4_Z.sac BAN5_E.sac BAN5_N.sac BAN5_Z.sac BAN6_E.sac BAN6_N.sac BAN6_Z.sac DST2_E.sac DST2_N.sac DST2_Z.sac TRI_E.sac TRI_N.sac TRI_Z.sac

          SAC> bbfk

          NUM TIME-SERIES FILES FROM THE START OF DFL:15

          Warning: Co-located stations or events are being used in FK calculation

          Segmentation fault: 11

          - Linux

          milton@pcasain7:~$ sac

          SEISMIC ANALYSIS CODE [05/02/2014 (Version 101.6a)]

          Copyright 1995 Regents of the University of California


          SAC> r *.sac

          BAN4_E.sac BAN4_N.sac BAN4_Z.sac BAN5_E.sac BAN5_N.sac BAN5_Z.sac BAN6_E.sac BAN6_N.sac BAN6_Z.sac DST2_E.sac DST2_N.sac DST2_Z.sac TRI_E.sac TRI_N.sac TRI_Z.sac

          SAC> bbfk

          NUM TIME-SERIES FILES FROM THE START OF DFL:15

          Warning: Co-located stations or events are being used in FK calculation

          FK peak = 1.414e+04

          Back Azimuth = 353.9(degrees)

          Wave Number = 0.870968(cycles/kilometer)

          title: $

          SAC>

          HTH,

          Milton

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


          On Thu, Feb 8, 2018 at 11:13 PM, Charlotte Rowe <char<at>lanl.gov<char<at>lanl.gov>> wrote:

          HI, Brian.

          1) We have a Linux version (now) that seems to work fine so my student is set up to ssh onto one of the Linux servers and run it from there


          2) I have to check with a classification reviewer to see if I can share my files with you.


          3) Any permutation of bbfk and parameters was failing - it would state that it had read thirteen components and then just "segmentation fault" and die. Same result whether I give it any arguments or not:


          [thoroughbred] char% sac
          SEISMIC ANALYSIS CODE [02/01/2012 (Version 101.5c)]
          Copyright 1995 Regents of the University of California

          SAC> read 2*s
          (.....reads my data files....)

          SAC> bbfk
          NUM TIME-SERIES FILES FROM THE START OF DFL:13
          Segmentation fault
          [thoroughbred]: char%


          4) I will ask about the data files now and see if I can send them to you, but I don't think that's the problem since both Sun and Redhat versions work just fine on these same data. But it would be worth figuring out what the issue is under OSX. It's supposed to be Unix after all.

          5) Thank you!


          Char


          *******************************
          Dr. Charlotte A. Rowe
          EES-17, MS F-665
          Seismologist, Geophysics Group
          Los Alamos National Laboratory
          Ph: 505-665-6404, Cell: 505-500-2486
          B-Schedule

          "Never eat more than you can lift"
          -------- Miss Piggy

          ************* Correspondence ***************


          ________________________________
          From: Brian Savage <savage<at>uri.edu<savage<at>uri.edu>>
          Sent: Thursday, February 8, 2018 2:19 PM
          To: Rowe, Char
          Cc: SAC Help
          Subject: Re: [IRIS][sac-help] BBFK seg fault

          Charlotte,

          Do you have an data set / commands where it is failing?

          Brian

          On Feb 7, 2018, at 7:49 PM, Charlotte Rowe <char<at>lanl.gov<char<at>lanl.gov>> wrote:


          Hi, I'm having trouble with FK analysis in SAC. Whenever I try to run "bbfk" I get a segmentation fault. This seems to be irrespective of what parameters I choose to set or leave alone. I am running under OSX on a macbook pro. My student has the same problem, running under OSX on a mac mini. The exact command on our (on life support) Sun server works just fine and provides exactly what I expect.


          Has anyone else had this problem? Is there a fix? I plan to have my student use my own code for much of her analysis but I'd like her to validate the output against SAC. I'm not sure she will get a log-in on our Sun; it would be better if we can both do our checks on our Macs.


          thanks


          *******************************
          Dr. Charlotte A. Rowe
          EES-17, MS F-665
          Seismologist, Geophysics Group
          Los Alamos National Laboratory
          Ph: 505-665-6404, Cell: 505-500-2486
          B-Schedule

          "Never eat more than you can lift"
          -------- Miss Piggy

          ************* Correspondence ***************

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



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



09:25:28 v.22510d55