Re: ncl 6.1.0 OS X 10.6

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Oct 30 2012 - 09:51:59 MDT

Hi Jim,

I believe Apple puts its default gcc/gfortran in /usr/bin/gcc, but here at NCAR, we usually have additional compilers installed to /usr/local that are newer.
I don't even use the 4.2.1 compilers because I've had other problems with them.

Also, ESMF requires that you use "newer" gcc/g++ compilers to compile it.

As Doug pointed out in a separate email, getting a new version of gcc/gfortran is not too difficult, using MacPorts or going to hpc.sourceforget.net.
MacPorts will put the compilers in /opt/local, so it shouldn't overwrite your 4.2.1 compilers if you still need them.

--Mary

On Oct 29, 2012, at 4:36 PM, Boyle, Jim wrote:

> I got the binary for OS X 10.6 : ncl_ncarg-6.1.0.macos_10.6_i386_64bit_gcc460.tar.gz
>
> the default gcc ( Xcode) for 10.6 is gcc 4.2.1.
>
> the result is that the ESMF code fails because it cannot find - libquadmath.
> I believe libquadmath first appeared in gcc 4.6.
>
> The file clearly indicates that it was build using gcc4.60, but this is a difficulty since it requires that
> gcc 4.6 is installed. This is a non-trivial requirement and somewhat undercuts the usefulness of this distribution.
>
> I'm not complaining ( after all it is free ) but this is to provide a warning. Sometimes you can get away with older compiler versions and sometimes you can't.
>
> I would be interested in knowing how you got gcc4.6 on OS X 10.6? At one time it was available to Apple developers ( $99) but I think even that is no more.
>
> ---Jim
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Oct 30 09:52:10 2012

This archive was generated by hypermail 2.1.8 : Wed Oct 31 2012 - 09:14:12 MDT