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.<div>

<br><br>On Monday, August 8, 2011,  <<a href="mailto:gso@physics.ucsd.edu" target="_blank">gso@physics.ucsd.edu</a>> wrote:<br>
> I've tried to use the compilers in gcc 4.5 and 4.6 (installed via<br>> macports) to install YT, but they fail during the numpy installation<br>> (errors below).  So I went with the Xcode compilers in version 4.1 from<br>


> apple's developer's website and that worked on this macbook air with Lion<br>> pre installed.<br>><br>> Looks like the compilers didn't recognize the option "-faltivec"<br>><br>> From<br>


> G.S.<br>><br>><br>><br>> building 'numpy.core._dotblas' extension<br>> compiling C sources<br>> C compiler: gcc-mp-4.6 -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3<br>> -Wall -Wstrict-prototypes<br>


><br>> creating build/temp.macosx-10.4-x86_64-2.7/numpy/core/blasdot<br>> compile options: '-DNO_ATLAS_INFO=3 -Inumpy/core/blasdot<br>> -Inumpy/core/include<br>> -Ibuild/src.macosx-10.4-x86_64-2.7/numpy/core/include/numpy<br>


> -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core<br>> -Inumpy/core/src/npymath -Inumpy/core/src/multiarray<br>> -Inumpy/core/src/umath -Inumpy/core/include<br>> -I/Users/gso/Documents/yt-dev/include/python2.7<br>


> -Ibuild/src.macosx-10.4-x86_64-2.7/numpy/core/src/multiarray<br>> -Ibuild/src.macosx-10.4-x86_64-2.7/numpy/core/src/umath -c'<br>> extra options: '-faltivec<br>> -I/System/Library/Frameworks/vecLib.framework/Headers'<br>


> gcc-mp-4.6: numpy/core/blasdot/_dotblas.c<br>> cc1: error: unrecognized command line option '-faltivec'<br>> cc1: error: unrecognized command line option '-faltivec'<br>> error: Command "gcc-mp-4.6 -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv<br>


> -O3 -Wall -Wstrict-prototypes -DNO_ATLAS_INFO=3 -Inumpy/core/blasdot<br>> -Inumpy/core/include<br>> -Ibuild/src.macosx-10.4-x86_64-2.7/numpy/core/include/numpy<br>> -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core<br>


> -Inumpy/core/src/npymath -Inumpy/core/src/multiarray<br>> -Inumpy/core/src/umath -Inumpy/core/include<br>> -I/Users/gso/Documents/yt-dev/include/python2.7<br>> -Ibuild/src.macosx-10.4-x86_64-2.7/numpy/core/src/multiarray<br>


> -Ibuild/src.macosx-10.4-x86_64-2.7/numpy/core/src/umath -c<br>> numpy/core/blasdot/_dotblas.c -o<br>> build/temp.macosx-10.4-x86_64-2.7/numpy/core/blasdot/_dotblas.o -faltivec<br>> -I/System/Library/Frameworks/vecLib.framework/Headers" failed with exit<br>


> status 1<br>><br>><br>>> Hi Stephen,<br>>><br>>> Thanks very much -- this is good to know.  Enjoy the SSDs; I've heard<br>>> they're usually way better than people typically expect.  (I am<br>


>> regretting getting a bigger HD instead of an SSD in my laptop, as I am<br>>> not really using very much space, but the spinning disk drains the<br>>> battery.)<br>>><br>>> -Matt<br>>><br>


>> On Sun, Aug 7, 2011 at 10:44 AM, Stephen Skory <<a href="mailto:s@skory.us" target="_blank">s@skory.us</a>> wrote:<br>>>> Hi all,<br>>>><br>>>> I wanted to let you all know (Matt especially) that I have had no<br>


>>> problems installing and using yt on Lion using the standard install<br>>>> script. Bootstrapping works fine, too.<br>>>><br>>>> As an upgrade over Snow Leopard, I'm not sure it's worth it yet. I've<br>


>>> actually undone a few of the Lion "improvements", like scroll<br>>>> direction, the hidden user Library directory, and scroll bars, to name<br>>>> a few. But since it came on my shiny new laptop (SSDs rock, by the<br>


>>> way), I saw no reason to downgrade from it.<br>>>><br>>>> --<br>>>> Stephen Skory<br>>>> <a href="mailto:s@skory.us" target="_blank">s@skory.us</a><br>>>> <a href="http://stephenskory.com/" target="_blank">http://stephenskory.com/</a><br>


>>> <a href="tel:510.621.3687" value="+15106213687" target="_blank">510.621.3687</a> <tel:<a href="tel:510.621.3687" value="+15106213687" target="_blank">510.621.3687</a>> (google voice)<br>>>> _______________________________________________<br>

>>> Yt-dev mailing list<br>>>> <a href="mailto:Yt-dev@lists.spacepope.org" target="_blank">Yt-dev@lists.spacepope.org</a><br>
>>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>>>><br>>> _______________________________________________<br>


>> Yt-dev mailing list<br>>> <a href="mailto:Yt-dev@lists.spacepope.org" target="_blank">Yt-dev@lists.spacepope.org</a><br>>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>


>><br>><br>><br>> _______________________________________________<br>> Yt-dev mailing list<br>> <a href="mailto:Yt-dev@lists.spacepope.org" target="_blank">Yt-dev@lists.spacepope.org</a><br>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>


>
</div>