[yt-users] installation problem: unrecognized command line option ‘-faltivec’

Nathan Goldbaum nathan12343 at gmail.com
Wed Mar 6 14:22:43 PST 2013


Hi Jean-Clade,

I haven't seen that before.  I guess you're trying to build scipy using the install script?  On OS X you should be able to build scipy using pip.  A quick workaround for this error would be to delete the broken installation tree and then rerun the install script with INST_SCIPY=0.  This won't build LAPACK.

Once that finishes you should be to install scipy using pip:

$ pip install scipy

That will build scipy using the accelerate/veclib library included with OS X.

I have a laptop with 10.8.2 installed here and I'll try to reproduce the error you're seeing sometime soon.  To remind me, would you mind filing a bug about this on our bugtracker?

-Nathan

On Mar 6, 2013, at 2:14 PM, Jean-Claude Passy <jcpassy at gmail.com> wrote:

> Hi all,
> 
> I am having trouble installing the current dev version. I get the following error:
> 
> -----------------------------------------------------------------------------------------------------------------------------------
> Building LAPACK
> Installing numpy-1.6.1 (arguments: 'numpy-1.6.1 --fcompiler=gnu95')
> ********************************************
>         FAILURE REPORT:
> ********************************************
> 
> compiling C sources
> C compiler: gcc -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/jcpassy/Work/yt-x86_64/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: numpy/core/blasdot/_dotblas.c
> gcc.exec: error: unrecognized command line option ‘-faltivec’
> gcc.exec: error: unrecognized command line option ‘-faltivec’
> error: Command "gcc -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/jcpassy/Work/yt-x86_64/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
> -----------------------------------------------------------------------------------------------------------------------------------
> 
> I am on OSX 10.8.2, with gcc 4.7.2 (but I have also tried the build-in version 4.2.1).
> I have tried turning on the different NUMPY_ARGS, but it did not help.
> 
> Does anybody have an idea how to fix this?
> 
> Thanks a lot guys,
> 
> JC
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20130306/4faf5ad8/attachment.htm>


More information about the yt-users mailing list