[SciPy-dev] Absoft & Scipy
Stephen Walton
stephen.walton at csun.edu
Thu Feb 3 17:13:45 EST 2005
Pearu Peterson wrote:
> python setup.py build_src build_ext -DUNDERSCORE_G77 build
/usr/bin/g77 -shared
build/temp.linux-i686-2.3/build/src/Lib/fftpack/_fftpackmodule.o
build/temp.linux-i686-2.3/Lib/fftpack/src/zfft.o
build/temp.linux-i686-2.3/Lib/fftpack/src/drfft.o
build/temp.linux-i686-2.3/Lib/fftpack/src/zrfft.o
build/temp.linux-i686-2.3/Lib/fftpack/src/zfftnd.o
build/temp.linux-i686-2.3/build/src/fortranobject.o -L/usr/lib
-Lbuild/temp.linux-i686-2.3 -ldfftpack -lrfftw -lfftw -lg2c -o
build/lib.linux-i686-2.3/scipy/fftpack/_fftpack.so
/usr/bin/ld: cannot find -ldfftpack
collect2: ld returned 1 exit status
/usr/bin/ld: cannot find -ldfftpack
collect2: ld returned 1 exit status
error: Command "/usr/bin/g77 -shared
build/temp.linux-i686-2.3/build/src/Lib/fftpack/_fftpackmodule.o
build/temp.linux-i686-2.3/Lib/fftpack/src/zfft.o
build/temp.linux-i686-2.3/Lib/fftpack/src/drfft.o
build/temp.linux-i686-2.3/Lib/fftpack/src/zrfft.o
build/temp.linux-i686-2.3/Lib/fftpack/src/zfftnd.o
build/temp.linux-i686-2.3/build/src/fortranobject.o -L/usr/lib
-Lbuild/temp.linux-i686-2.3 -ldfftpack -lrfftw -lfftw -lg2c -o
build/lib.linux-i686-2.3/scipy/fftpack/_fftpack.so" failed with exit
status 1
Grep'ping the output file from the builds reveals that, indeed, dfftpack
never gets compiled when using the "build_src build_ext" form of the
command.
Yah know, maybe this isn't worth it. I can get everything working if I
use g77-compiled LAPACK, ATLAS, and scipy such as you're providing on
the Web site or I build myself. Since LAPACK and ATLAS contain no
routines with embedded underscores, g77 compiled versions link against
Absoft compiled callers just fine. I wonder how much performance I
really gain by insisting on compiling with Absoft. Off to run some
benchmarks...
More information about the SciPy-Dev
mailing list