gcc compiler option problem during install

Hello all, I am having a some what weird issue while trying to run the latest version of the install script. This is the error I am getting: 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/Drummond/Cal/Research/Software/YT/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/Drummond/Cal/Research/Software/YT/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 Any thoughts? Thanks Drummond

Hi Drummond, Can you tell us which version of the gcc compiler you're using? Is this the one that came with Xcode command-line tools or did you get it from somewhere else? Britton On Thu, Apr 11, 2013 at 1:57 PM, Drummond Fielding < drummondfielding@gmail.com> wrote:
Hello all,
I am having a some what weird issue while trying to run the latest version of the install script. This is the error I am getting:
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/Drummond/Cal/Research/Software/YT/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/Drummond/Cal/Research/Software/YT/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
Any thoughts?
Thanks
Drummond _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

It is the one that came with Xcode command-line tools, and I believe it is the most up to date version. Drummonds-MacBook-Pro:~ Drummond$ gcc -v Using built-in specs. COLLECT_GCC=/Applications/mesasdk/bin/gcc.exec COLLECT_LTO_WRAPPER=/Applications/mesasdk/libexec/gcc/x86_64-apple-darwin11.4.2/4.7.2/lto-wrapper Target: x86_64-apple-darwin11.4.2 Configured with: ./configure CC='gcc -D_FORTIFY_SOURCE=0' --build=x86_64-apple-darwin11.4.2 --prefix=/Applications/mesasdk --with-gmp=/Applications/mesasdk --with-mpfr=/Applications/mesasdk --with-mpc=/Applications/mesasdk --enable-languages=c,c++,fortran --disable-multilib Thread model: posix gcc version 4.7.2 (GCC) –Drummond On Apr 11, 2013, at 11:00 AM, Britton Smith <brittonsmith@gmail.com> wrote:
Hi Drummond,
Can you tell us which version of the gcc compiler you're using? Is this the one that came with Xcode command-line tools or did you get it from somewhere else?
Britton
On Thu, Apr 11, 2013 at 1:57 PM, Drummond Fielding <drummondfielding@gmail.com> wrote: Hello all,
I am having a some what weird issue while trying to run the latest version of the install script. This is the error I am getting:
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/Drummond/Cal/Research/Software/YT/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/Drummond/Cal/Research/Software/YT/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
Any thoughts?
Thanks
Drummond _______________________________________________ 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

Hey Drummond, It looks like this is the gcc that comes with the mesa sdk, actually. The gcc you want to use should be in /usr/bin/. For what it's worth, we've had issues in the past with people trying to build yt using mesa's compiler toolchain. Cheers, Nathan On Apr 11, 2013, at 11:02 AM, Drummond Fielding <drummondfielding@gmail.com> wrote:
It is the one that came with Xcode command-line tools, and I believe it is the most up to date version.
Drummonds-MacBook-Pro:~ Drummond$ gcc -v Using built-in specs. COLLECT_GCC=/Applications/mesasdk/bin/gcc.exec COLLECT_LTO_WRAPPER=/Applications/mesasdk/libexec/gcc/x86_64-apple-darwin11.4.2/4.7.2/lto-wrapper Target: x86_64-apple-darwin11.4.2 Configured with: ./configure CC='gcc -D_FORTIFY_SOURCE=0' --build=x86_64-apple-darwin11.4.2 --prefix=/Applications/mesasdk --with-gmp=/Applications/mesasdk --with-mpfr=/Applications/mesasdk --with-mpc=/Applications/mesasdk --enable-languages=c,c++,fortran --disable-multilib Thread model: posix gcc version 4.7.2 (GCC)
–Drummond
On Apr 11, 2013, at 11:00 AM, Britton Smith <brittonsmith@gmail.com> wrote:
Hi Drummond,
Can you tell us which version of the gcc compiler you're using? Is this the one that came with Xcode command-line tools or did you get it from somewhere else?
Britton
On Thu, Apr 11, 2013 at 1:57 PM, Drummond Fielding <drummondfielding@gmail.com> wrote: Hello all,
I am having a some what weird issue while trying to run the latest version of the install script. This is the error I am getting:
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/Drummond/Cal/Research/Software/YT/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/Drummond/Cal/Research/Software/YT/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
Any thoughts?
Thanks
Drummond _______________________________________________ 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
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

Thank you Nathan, that was a bonehead move. best Drummond On Apr 11, 2013, at 11:04 AM, Nathan Goldbaum <nathan12343@gmail.com> wrote:
Hey Drummond,
It looks like this is the gcc that comes with the mesa sdk, actually. The gcc you want to use should be in /usr/bin/.
For what it's worth, we've had issues in the past with people trying to build yt using mesa's compiler toolchain.
Cheers,
Nathan
On Apr 11, 2013, at 11:02 AM, Drummond Fielding <drummondfielding@gmail.com> wrote:
It is the one that came with Xcode command-line tools, and I believe it is the most up to date version.
Drummonds-MacBook-Pro:~ Drummond$ gcc -v Using built-in specs. COLLECT_GCC=/Applications/mesasdk/bin/gcc.exec COLLECT_LTO_WRAPPER=/Applications/mesasdk/libexec/gcc/x86_64-apple-darwin11.4.2/4.7.2/lto-wrapper Target: x86_64-apple-darwin11.4.2 Configured with: ./configure CC='gcc -D_FORTIFY_SOURCE=0' --build=x86_64-apple-darwin11.4.2 --prefix=/Applications/mesasdk --with-gmp=/Applications/mesasdk --with-mpfr=/Applications/mesasdk --with-mpc=/Applications/mesasdk --enable-languages=c,c++,fortran --disable-multilib Thread model: posix gcc version 4.7.2 (GCC)
–Drummond
On Apr 11, 2013, at 11:00 AM, Britton Smith <brittonsmith@gmail.com> wrote:
Hi Drummond,
Can you tell us which version of the gcc compiler you're using? Is this the one that came with Xcode command-line tools or did you get it from somewhere else?
Britton
On Thu, Apr 11, 2013 at 1:57 PM, Drummond Fielding <drummondfielding@gmail.com> wrote: Hello all,
I am having a some what weird issue while trying to run the latest version of the install script. This is the error I am getting:
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/Drummond/Cal/Research/Software/YT/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/Drummond/Cal/Research/Software/YT/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
Any thoughts?
Thanks
Drummond _______________________________________________ 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
_______________________________________________ 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 (3)
-
Britton Smith
-
Drummond Fielding
-
Nathan Goldbaum