<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Dear Arthur,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks for your prompt reply.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I am using the sac binaries that were in 05Mar01.sac.bin.darwin.tar.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>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</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>[guardia:/Applications] georgia% gfortran -v</DIV><DIV>Using built-in specs.</DIV><DIV>Target: i386-apple-darwin8.7.1</DIV><DIV>Configured with: ../gcc-4.2-20060805/configure --enable-languages=c++,fortran,java</DIV><DIV>Thread model: posix</DIV><DIV>gcc version 4.2.0 20060805 (experimental)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>[guardia:~/Research/PAGER2006_2] georgia% gcc -v</DIV><DIV>Using built-in specs.</DIV><DIV>Target: i686-apple-darwin8</DIV><DIV>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</DIV><DIV>Thread model: posix</DIV><DIV>gcc version 4.0.1 (Apple Computer, Inc. build 5250)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thank you,</DIV><DIV>Georgia</DIV><DIV><BR><DIV><DIV>On Aug 18, 2006, at 9:35 PM, Arthur Snoke wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">IRIS is running some tests on building/running sac on an intel machine, as the normal testers do not have access to one.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">A couple of questions:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">1. The sac distribution you cite indicates that it is the original binary code for sac 100.0.<SPAN class="Apple-converted-space">  </SPAN>That was not built on an intel mac, so I am surprised you could get it to run.<SPAN class="Apple-converted-space">  </SPAN>Please clarify exactly what sac binary you are running and what platform.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2.<SPAN class="Apple-converted-space">  </SPAN>As I think we have commented to the list before (see archives), meshing Fortran and gcc is not simple.<SPAN class="Apple-converted-space">  </SPAN>What version of Fortran are you running?<SPAN class="Apple-converted-space">  </SPAN>The binary with a name like the one you cite was built using gcc 3.<SPAN class="Apple-converted-space">  </SPAN>With non-intel macs, the default on 10.4 is gcc 4.0 or 4.0.1.<SPAN class="Apple-converted-space">  </SPAN>These are not compatible with g77 built in conjunction with gcc 3.<SPAN class="Apple-converted-space">  </SPAN>Please clarify the compilers you are using.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Arthur Snoke</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On Fri, 18 Aug 2006, Georgia Cua wrote:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Dear sac-help,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I am using an intel mac, and would like to use the input/output libraries in sacio.a.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">However, when I try to compile my fortran code, I get some messages</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">/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)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">/usr/bin/ld: Undefined symbols:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_rsac1_</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">collect2: ld returned 1 exit status</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Is there a version of sacio.a that works with the intel mac?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">The sac version I am using is:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">SEISMIC ANALYSIS CODE [03/01/2005 (Version 100.00)]</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Copyright 1995 Regents of the University of California</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Thank you,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Georgia Cua</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">sac-help mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:sac-help@iris.washington.edu">sac-help@iris.washington.edu</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.iris.washington.edu/mailman/listinfo/sac-help">http://www.iris.washington.edu/mailman/listinfo/sac-help</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> </BLOCKQUOTE></BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>-----------------------------</DIV><DIV>Dr. Georgia Cua</DIV><DIV>Swiss Seismological Service</DIV><DIV>Institute of Geophysics</DIV><DIV>ETH Hoenggerberg HPP P</DIV><DIV>CH-8093 Zurich</DIV><DIV>Switzerland</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Tel:  +41-044-633-7574   </DIV><DIV>Fax: +41-044-633-1065   </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><A href="mailto:georgia.cua@sed.ethz.ch">georgia.cua@sed.ethz.ch</A></DIV><DIV>-----------------------------</DIV><BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN> </DIV><BR></DIV></BODY></HTML>