[SciPy-user] build issue on 64-bit Intel Core2 Duo

Scott Ransom sransom at nrao.edu
Sat Jan 20 21:13:34 EST 2007


Hi All,

Just put together a new Intel Core2 Duo machine that is running
64-bit Debian unstable (etch-to-be).  Scipy gives an error during
the compile of dftpack:

creating build/temp.linux-x86_64-2.4/Lib/fftpack/dfftpack
compile options: '-c'
g77:f77: Lib/fftpack/dfftpack/dcosqf.f
Lib/fftpack/dfftpack/dcosqf.f:0: error: CPU you selected does not
support x86-64 instruction set
Lib/fftpack/dfftpack/dcosqf.f:0: error: CPU you selected does not
support x86-64 instruction set
Lib/fftpack/dfftpack/dcosqf.f:0: error: CPU you selected does not
support x86-64 instruction set
Lib/fftpack/dfftpack/dcosqf.f:0: error: CPU you selected does not
support x86-64 instruction set
error: Command "/usr/bin/g77 -g -Wall -fno-second-underscore -fPIC
-O3 -funroll-loops -march=i686 -mmmx -msse2 -msse
-fomit-frame-pointer -c -c Lib/fftpack/dfftpack/dcosqf.f -o
build/temp.linux-x86_64-2.4/Lib/fftpack/dfftpack/dcosqf.o" failed
with exit status 1

ransom at hugin:/usr/local/src/scipy$ g77 --version
GNU Fortran (GCC) 3.4.6 (Debian 3.4.6-5)
Copyright (C) 2006 Free Software Foundation, Inc.

Here is the key line from 
python -c 'from numpy.f2py.diagnose import run; run()'
-----------------------
CPU information: getNCPUs has_mmx has_sse has_sse2 is_64bit is_Intel 
is_i686 ------
-----------------------

and here is my uname info:
ransom at hugin:/usr/local/src/scipy$ uname -a
Linux hugin 2.6.18-3-amd64 #1 SMP Sun Dec 10 19:57:44 CET 2006 x86_64 GNU/Linux

So my guess is that the is_64bit and is_i686 are tripping up the
CFLAGS choices....

Scott

-- 
Scott M. Ransom            Address:  NRAO
Phone:  (434) 296-0320               520 Edgemont Rd.
email:  sransom at nrao.edu             Charlottesville, VA 22903 USA
GPG Fingerprint: 06A9 9553 78BE 16DB 407B  FFCA 9BFA B6FF FFD3 2989



More information about the SciPy-User mailing list