[Yt-dev] Mac OS X Lion

gso at physics.ucsd.edu gso at physics.ucsd.edu
Mon Aug 8 17:56:59 PDT 2011


Ah good to know, will stick to apple's gcc for YT from now.

From
G.S.

> Yup the numpy mac distribution relies on flags that are only in the
> official
> apple gcc builds. There's probably some good reason for it, but I never
> liked it. They could at least catch the unsupported option error and tell
> users to build with an xcode gcc.
>
>
> On Monday, August 8, 2011,  <gso at physics.ucsd.edu> wrote:
>> I've tried to use the compilers in gcc 4.5 and 4.6 (installed via
>> macports) to install YT, but they fail during the numpy installation
>> (errors below).  So I went with the Xcode compilers in version 4.1 from
>> apple's developer's website and that worked on this macbook air with
>> Lion
>> pre installed.
>>
>> Looks like the compilers didn't recognize the option "-faltivec"
>>
>> From
>> G.S.
>>
>>
>>
>> building 'numpy.core._dotblas' extension
>> compiling C sources
>> C compiler: gcc-mp-4.6 -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv
>> -O3
>> -Wall -Wstrict-prototypes
>>
>> creating build/temp.macosx-10.4-x86_64-2.7/numpy/core/blasdot
>> compile options: '-DNO_ATLAS_INFO=3 -Inumpy/core/blasdot
>> -Inumpy/core/include
>> -Ibuild/src.macosx-10.4-x86_64-2.7/numpy/core/include/numpy
>> -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core
>> -Inumpy/core/src/npymath -Inumpy/core/src/multiarray
>> -Inumpy/core/src/umath -Inumpy/core/include
>> -I/Users/gso/Documents/yt-dev/include/python2.7
>> -Ibuild/src.macosx-10.4-x86_64-2.7/numpy/core/src/multiarray
>> -Ibuild/src.macosx-10.4-x86_64-2.7/numpy/core/src/umath -c'
>> extra options: '-faltivec
>> -I/System/Library/Frameworks/vecLib.framework/Headers'
>> gcc-mp-4.6: numpy/core/blasdot/_dotblas.c
>> cc1: error: unrecognized command line option '-faltivec'
>> cc1: error: unrecognized command line option '-faltivec'
>> error: Command "gcc-mp-4.6 -fno-strict-aliasing -g -O2 -DNDEBUG -g
>> -fwrapv
>> -O3 -Wall -Wstrict-prototypes -DNO_ATLAS_INFO=3 -Inumpy/core/blasdot
>> -Inumpy/core/include
>> -Ibuild/src.macosx-10.4-x86_64-2.7/numpy/core/include/numpy
>> -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core
>> -Inumpy/core/src/npymath -Inumpy/core/src/multiarray
>> -Inumpy/core/src/umath -Inumpy/core/include
>> -I/Users/gso/Documents/yt-dev/include/python2.7
>> -Ibuild/src.macosx-10.4-x86_64-2.7/numpy/core/src/multiarray
>> -Ibuild/src.macosx-10.4-x86_64-2.7/numpy/core/src/umath -c
>> numpy/core/blasdot/_dotblas.c -o
>> build/temp.macosx-10.4-x86_64-2.7/numpy/core/blasdot/_dotblas.o
>> -faltivec
>> -I/System/Library/Frameworks/vecLib.framework/Headers" failed with exit
>> status 1
>>
>>
>>> Hi Stephen,
>>>
>>> Thanks very much -- this is good to know.  Enjoy the SSDs; I've heard
>>> they're usually way better than people typically expect.  (I am
>>> regretting getting a bigger HD instead of an SSD in my laptop, as I am
>>> not really using very much space, but the spinning disk drains the
>>> battery.)
>>>
>>> -Matt
>>>
>>> On Sun, Aug 7, 2011 at 10:44 AM, Stephen Skory <s at skory.us> wrote:
>>>> Hi all,
>>>>
>>>> I wanted to let you all know (Matt especially) that I have had no
>>>> problems installing and using yt on Lion using the standard install
>>>> script. Bootstrapping works fine, too.
>>>>
>>>> As an upgrade over Snow Leopard, I'm not sure it's worth it yet. I've
>>>> actually undone a few of the Lion "improvements", like scroll
>>>> direction, the hidden user Library directory, and scroll bars, to name
>>>> a few. But since it came on my shiny new laptop (SSDs rock, by the
>>>> way), I saw no reason to downgrade from it.
>>>>
>>>> --
>>>> Stephen Skory
>>>> s at skory.us
>>>> http://stephenskory.com/
>>>> 510.621.3687 <tel:510.621.3687> (google voice)
>>>> _______________________________________________
>>>> Yt-dev mailing list
>>>> Yt-dev at lists.spacepope.org
>>>> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>>>>
>>> _______________________________________________
>>> Yt-dev mailing list
>>> Yt-dev at lists.spacepope.org
>>> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>>>
>>
>>
>> _______________________________________________
>> Yt-dev mailing list
>> Yt-dev at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>>
> _______________________________________________
> Yt-dev mailing list
> Yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>





More information about the yt-dev mailing list