installation problem: unrecognized command line option ‘-faltivec’
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
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@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@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Hi Nathan, thanks for your quick reply. Actually, numpy is installed even without scipy (see the install script around line 727). So it still get the same error even though INST_SCIPY= 0. Just in case, this is where I got my gcc: http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk#Mac_OS_X I'll create an issue on the bugtracker right now. Cheers, JC On Mar 6, 2013, at 11:22 PM, Nathan Goldbaum <nathan12343@gmail.com> wrote:
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@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@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Jean-Claude Passy
-
Nathan Goldbaum