[SAC-HELP] sacio.a for intel mac
George Helffrich
george at gly.bris.ac.uk
Sat Aug 19 04:23:38 PDT 2006
Dear All -
For info on g77 (not gfortran) compilers on intel mac, see
http://www1.gly.bris.ac.uk/~wookey/MEFTLG/g77.htm
On Friday, August 18, 2006, at 10:15 pm, Kris Walker wrote:
> Just to add, I don't know of any other gnu fortran compiler for the
> intel mac. I don't think a g77 exists yet. I have managed getting c
> and fortran programs to merge though with gfortran and gcc on the
> intel mac. Sorry I can't help much more than this though.
>
> kris
>
> On Aug 18, 2006, at 2:03 PM, Georgia Cua wrote:
>
>> Dear Arthur,
>>
>> Thanks for your prompt reply.
>>
>> I am using the sac binaries that were in 05Mar01.sac.bin.darwin.tar.
>>
>> Yes, I had seen from the archives that there were some issues with
>> fortran and gcc. I am the following versions of gfortran and gcc
>>
>> [guardia:/Applications] georgia% gfortran -v
>> Using built-in specs.
>> Target: i386-apple-darwin8.7.1
>> Configured with: ../gcc-4.2-20060805/configure
>> --enable-languages=c++,fortran,java
>> Thread model: posix
>> gcc version 4.2.0 20060805 (experimental)
>>
>> [guardia:~/Research/PAGER2006_2] georgia% gcc -v
>> Using built-in specs.
>> Target: i686-apple-darwin8
>> Configured with: /private/var/tmp/gcc/gcc-5250.obj~20/src/configure
>> --disable-checking -enable-werror --prefix=/usr --mandir=/share/man
>> --enable-languages=c,objc,c++,obj-c++
>> --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
>> --with-gxx-include-dir=/include/c++/4.0.0
>> --build=powerpc-apple-darwin8 --with-arch=pentium-m
>> --with-tune=prescott --program-prefix= --host=i686-apple-darwin8
>> --target=i686-apple-darwin8
>> Thread model: posix
>> gcc version 4.0.1 (Apple Computer, Inc. build 5250)
>>
>>
>> Thank you,
>> Georgia
>>
>> On Aug 18, 2006, at 9:35 PM, Arthur Snoke wrote:
>>
>>> IRIS is running some tests on building/running sac on an intel
>>> machine, as the normal testers do not have access to one.
>>>
>>> A couple of questions:
>>>
>>> 1. The sac distribution you cite indicates that it is the original
>>> binary code for sac 100.0. That was not built on an intel mac, so I
>>> am surprised you could get it to run. Please clarify exactly what
>>> sac binary you are running and what platform.
>>>
>>> 2. As I think we have commented to the list before (see archives),
>>> meshing Fortran and gcc is not simple. What version of Fortran are
>>> you running? The binary with a name like the one you cite was built
>>> using gcc 3. With non-intel macs, the default on 10.4 is gcc 4.0 or
>>> 4.0.1. These are not compatible with g77 built in conjunction with
>>> gcc 3. Please clarify the compilers you are using.
>>>
>>> Arthur Snoke
>>>
>>> On Fri, 18 Aug 2006, Georgia Cua wrote:
>>>
>>>> Dear sac-help,
>>>>
>>>> I am using an intel mac, and would like to use the input/output
>>>> libraries in sacio.a.
>>>>
>>>> However, when I try to compile my fortran code, I get some messages
>>>>
>>>> /usr/bin/ld: warning /Applications/sac/lib/sacio.a archive's
>>>> cputype (18, architecture ppc) does not match cputype (7) for
>>>> specified -arch flag: i386 (can't load from it)
>>>> /usr/bin/ld: Undefined symbols:
>>>> _rsac1_
>>>> collect2: ld returned 1 exit status
>>>>
>>>> Is there a version of sacio.a that works with the intel mac?
>>>>
>>>> The sac version I am using is:
>>>>
>>>> SEISMIC ANALYSIS CODE [03/01/2005 (Version 100.00)]
>>>> Copyright 1995 Regents of the University of California
>>>>
>>>> Thank you,
>>>> Georgia Cua
>>>> _______________________________________________
>>>> 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
>> -----------------------------
>>
>>
>>
>> _______________________________________________
>> sac-help mailing list
>> sac-help at iris.washington.edu
>> http://www.iris.washington.edu/mailman/listinfo/sac-help
>>
> ================================================================
> Dr. Kristoffer T. Walker http://sail.ucsd.edu/~walker
> Green Scholar email: walker at ucsd.edu
> IGPP, Scripps MC 0225 phone: 858-534-0126
> University of California, San Diego fax: 858-534-9873
> La Jolla, CA 92093-0225 room: 2201 Revelle Lab
> ================================================================
>
>
> _______________________________________________
> sac-help mailing list
> sac-help at iris.washington.edu
> http://www.iris.washington.edu/mailman/listinfo/sac-help
More information about the sac-help
mailing list