Thread: Re: sac-help Digest, Vol 16, Issue 7

Started: 2006-10-20 01:14:03
Last activity: 2006-10-20 01:14:03
Topics: SAC Help
Juan Gomez
2006-10-20 01:14:03

Hi there,

The SAC binary work well also on a AMD-64 PC, however, there is
another related problem: the library sacio.a, it can not be used on local
compiled programs. It is, I have several fortran programs made by my self
that work very well on a 32-bits PC, however, I can nnot compile then
on my AMD-64 bits PC.

An help, comment or suggestion?



At 02:01 p.m. 19/10/2006, you wrote:

Send sac-help mailing list submissions to

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to

You can reach the person managing the list at

When replying, please edit your Subject line so it is more specific
than "Re: Contents of sac-help digest..."

Today's Topics:

1. Re: sac on 64-bit SMP box (Brian Savage)


Message: 1
Date: Wed, 18 Oct 2006 15:24:36 -0400
From: Brian Savage <savage<at>>
Subject: Re: [SAC-HELP] sac on 64-bit SMP box
To: schutt<at>
Cc: sac-help<at>
Message-ID: <E05CD6F3-9657-454C-8C65-A6D0D0D4E920<at>>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed


That is really good to know.
If you have any problems, send them to the sac-help list.


On Oct 18, 2006, at 1:15 PM, Derek wrote:

For what it's worth, I just got the binary and it seems to work fine.

On Wed, 2006-10-18 at 11:21 -0400, Derek Schutt wrote:
Hi Brian,

Thanks for your quick response. I actually read that posting (by
you I
think?) in the archives, and it's clear that my post was lacking in
information. In the directory containing the SAC makefile, I
linked cc
to gcc32 ("ln -s gcc32 cc"), which presumably would compile it at a
32-bit binary. However, I run into the problem below with the X11
library. My guess is that I'd need to compile this library with

I don't have the precompiled binary, but have just requested it
and will
post back when I get it and see if it works.



On Wed, 2006-10-18 at 10:29 -0400, Brian Savage wrote:

There was a posting for me about sac on 64 bit machines, in
particular linux. If follows here.

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
SAC code which are not portable between 32 and 64 bit systems.
things need to be attended to.

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

Two things in specific, the declaration of the sac header on 32 and
64 bit machines results in different file sizes, and many function
calls are using non-portable, 32 to 64 bit, declaration of pointers.


On Oct 17, 2006, at 5:46 PM, Derek wrote:


I'm hoping to install sac on a linux box running 64bit SMP linux

uname -a

Linux localhost.localdomain 2.6.15-1.1833_FC4smp #1 SMP Wed
1 23:55:52 EST 2006 x86_64 x86_64 x86_64 GNU/Linux

but, in reading the archives of this mail list, it seems SAC won't
in 64-bit mode, and indeed, when I compile the source version I
(05Mar01.sac.tgz), it fails. Although, it seems to fail because it
can't find or can't make a proper X11 library:

[snip from "make" output]
cc -w -DLINUX -o ../bin/sac \
main/sac.o ../lib/sac.a ../lib/libevresp.a ../lib/
libSMnonOracleFuncs.a ../lib/libSacOracleStubFuncs.a -L/usr/
lib -lX11 -lm -lnsl -ldl
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/
searching for -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a
searching for -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [SAC] Error 1
make[1]: Leaving directory `/usr/local/sac/src'
gmake: *** [all] Error 2

Can any one tell me if I should request a 32-bit binary, or if
there is
a way to compile it to make it work?


Univ. Wyoming
sac-help mailing list

sac-help mailing list


sac-help mailing list

End of sac-help Digest, Vol 16, Issue 7

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.6/486 - Release Date: 19/10/2006

Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que est� limpio.
MailScanner agradece a transtec Computers por su apoyo.

18:29:43 v.22510d55