Thread: Problem with sac2000 under x86_64 GNU/Linux

Started: 2006-08-25 05:39:43
Last activity: 2006-09-04 23:03:07
Topics: SAC Help
Wenzheng Yang
2006-08-25 05:39:43
I am trying to use "ppk p 3 m on" to repick seismic phase
under linux x64 environment. But after I typing "writehdr",
the saved waveforms totally deformed. It is a bug? There is
no problem if I do the same thing under sun-unix or linux x32.

Wenzheng Yang
Geophysical graduate student @ University of Southern California


  • Brian Savage
    2006-09-03 07:14:17
    Wenzheng,

    Excuse me if this question has been answered already.

    SAC is not supported on 64 bit environments, and it will produce
    unexpected results.

    I would not say it was a bug, but I would say there are things in the
    SAC code which are not portable between 32 and 64 bit systems. These
    things need to be attended to.

    You should be able to run a 32 bit binary on a 64 bit system.

    Cheers,
    Brian

    Wenzheng Yang wrote:
    I am trying to use "ppk p 3 m on" to repick seismic phase
    under linux x64 environment. But after I typing "writehdr",
    the saved waveforms totally deformed. It is a bug? There is
    no problem if I do the same thing under sun-unix or linux x32.

    Wenzheng Yang
    Geophysical graduate student @ University of Southern California

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


    • Georgia Cua
      2006-09-04 23:03:07
      I have also noticed strange behaviours when I try to use the writehdr
      command. (I am running sac on an intel-mac, as well as a power pc mac.)

      My workaround is to use "write over" instead of "writehdr". (This is
      fine for what I am doing, but of course, may or may not be for your
      particular case.)

      Georgia Cua

      On Sep 3, 2006, at 6:14 AM, Brian Savage wrote:

      Wenzheng,

      Excuse me if this question has been answered already.

      SAC is not supported on 64 bit environments, and it will produce
      unexpected results.

      I would not say it was a bug, but I would say there are things in
      the SAC code which are not portable between 32 and 64 bit systems.
      These things need to be attended to.

      You should be able to run a 32 bit binary on a 64 bit system.

      Cheers,
      Brian

      Wenzheng Yang wrote:
      I am trying to use "ppk p 3 m on" to repick seismic phase
      under linux x64 environment. But after I typing "writehdr",
      the saved waveforms totally deformed. It is a bug? There is
      no problem if I do the same thing under sun-unix or linux x32.
      Wenzheng Yang
      Geophysical graduate student @ University of Southern California
      _______________________________________________
      sac-help mailing list
      sac-help<at>iris.washington.edu
      http://www.iris.washington.edu/mailman/listinfo/sac-help

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



      -----------------------------
      Dr. Georgia Cua
      Swiss Seismological Service
      Institute of Geophysics
      ETH Hoenggerberg HPP P
      CH-8093 Zurich
      Switzerland

      Tel: +41-044-633-7574
      Fax: +41-044-633-1065

      georgia.cua<at>sed.ethz.ch
      -----------------------------



08:02:14 v.22510d55