[CIG-SEISMO] help with installing specfem2d on MAC

Anton Gulley gullant at gmail.com
Tue Aug 6 21:02:47 PDT 2013


On 7 August 2013 15:53, Elliott Sales de Andrade <
esalesde at physics.utoronto.ca> wrote:

> Hi Anton,
>
> Please reply to the list as well.
>
> On Wed, 2013-08-07 at 15:12 +1200, Anton Gulley wrote:
>
> > On 7 August 2013 15:05, Elliott Sales de Andrade
> > <esalesde at physics.utoronto.ca> wrote:
> >         Hi Anton,
> >
> >         On Wed, 2013-08-07 at 14:41 +1200, Anton Gulley wrote:
> >         > checking for Fortran name-mangling scheme... unknown
> >         > configure: WARNING: unknown Fortran name-mangling scheme
> >         >
> >
> >
> >         Your problem is here. Please attach the config.log that is
> >         generated
> >         after running configure.
>
> You are mixing incompatible gfortran and gcc versions.
>
> Here is gfortran:
>
> configure:2769: gfortran --version >&5
> GNU Fortran (GCC) 4.2.3
> Copyright (C) 2007 Free Software Foundation, Inc.
>
> GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
> You may redistribute copies of GNU Fortran
> under the terms of the GNU General Public License.
> For more information about these matters, see the file named COPYING
>
> configure:2780: $? = 0
> configure:2769: gfortran -v >&5
> Using built-in specs.
> Target: i686-apple-darwin8
> Configured with: /Builds/unix/gcc/gcc-4.2/configure --prefix=/usr/local
> --mandir=/share/man --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
> --build=i686-apple-darwin8 --host=i686-apple-darwin8
> --target=i686-apple-darwin8 --enable-languages=fortran
> Thread model: posix
>
> And here is gcc:
>
> configure:3872: gcc --version >&5
> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
> 5658) (LLVM build 2336.11.00)
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is
> NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> configure:3883: $? = 0
> configure:3872: gcc -v >&5
> Using built-in specs.
> Target: i686-apple-darwin11
> Configured
> with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure
> --disable-checking --enable-werror
> --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2
> --mandir=/share/man --enable-languages=c,objc,c++,obj-c++
> --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
> --with-slibdir=/usr/lib --build=i686-apple-darwin11
> --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCore/Developer/usr/local
> --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11
> --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
> Thread model: posix
> gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build
> 2336.11.00)
>
> As you can see, gfortran is 4.2.3 and gcc is 4.2.1. In addition,
> gfortran is building for i686-apple-darwin8 and gcc is building for
> i686-apple-darwin11 and will likely be unable to link their results
> together into a final binary. You will need to fix your paths so that
> the correct and compatible compilers are found.
>
> --
> Elliott Sales de Andrade <esalesde at physics.utoronto.ca>
> University of Toronto (Physics)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geodynamics.org/pipermail/cig-seismo/attachments/20130807/fe633175/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 225219 bytes
Desc: not available
URL: <http://geodynamics.org/pipermail/cig-seismo/attachments/20130807/fe633175/attachment-0001.obj>


More information about the CIG-SEISMO mailing list