[SciPy-user] Absoft Compiler

Stephen Walton stephen.walton at csun.edu
Mon Nov 4 17:53:19 EST 2002


Well, a mere four months after the SciPy conference in Pasadena (thanks
all!), I have finally built SciPy.  I include the output of some of the
diagnostic commands after my signature, but to summarize:  I built
LAPACK, ATLAS, and SciPy from source using the Absoft F77 compiler v4.6
and gcc v3.2 on RedHat 8.0.  scipy.test(level=1) fails with the
following error:

Traceback (most recent call last):
  File
"/usr/lib/python2.2/site-packages/scipy/stats/tests/test_morestats.py",
line 30, in check_basic
    assert_almost_equal(w,0.90047299861907959,7)
  File "/usr/lib/python2.2/site-packages/scipy_test/testing.py", line
335, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError:
Items are not equal:
DESIRED: 0.90047299861907959
ACTUAL: 0.90047270059585571

There are a couple of additional problems:  the SciPy install didn't
detect that I have the fftw libraries installed (from the RPM), and the
test suite complains up near the top about the lack of a test_matfuncs
module.

-- 
Stephen Walton, Professor of Physics and Astronomy,
California State University, Northridge
stephen.walton at csun.edu

Script started on Mon Nov  4 14:46:40 200
hector:~> python -c 'import os,sys;print os.name,sys.platform'
posix linux2
hector:~> uname -a
Linux hector 2.4.18-17.8.0 #1 Tue Oct 8 11:48:09 EDT 2002 i686 athlon
i386 GNU/Linux
hector:~> gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --host=i386-redhat-linux --with-system-zlib
--enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
hector:~> python -c 'import sys;print sys.version'
2.2.1 (#1, Aug 30 2002, 12:15:30)
[GCC 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)]
hector:~> python -c 'import Numeric;print Numeric.__version__'
22.0
hector:~> f2py -v
2.23.190-1369
hector:~> cd /local/swalton/src/scipy/linalg
hector:/local/swalton/src/scipy/linalg> python setup_atlas_version.py
build_ext --inplace --force
atlas_info:
  FOUND:
    libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
    library_dirs = ['/usr/local/lib/atlas']

running build_ext
building 'atlas_version' extension
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
-I/usr/include/python2.2 -c
/local/swalton/src/scipy/linalg/atlas_version.c -o
build/temp.linux-i686-2.2/atlas_version.o
gcc -shared build/temp.linux-i686-2.2/atlas_version.o
-L/usr/local/lib/atlas -latlas -o atlas_version.so
hector:/local/swalton/src/scipy/linalg> python -c 'import atlas_version'
ATLAS version 3.4.1 built by swalton on Mon Nov	 4 11:44:16 PST 2002:
   UNAME    : Linux hector 2.4.18-17.8.0 #1 Tue Oct 8 11:48:09 EDT 2002
i686 athlon i386 GNU/Linux
   INSTFLG  :
   MMDEF    : /local/swalton/src/ATLAS/CONFIG/ARCHS/ATHLON/gcc/gemm
   ARCHDEF  : /local/swalton/src/ATLAS/CONFIG/ARCHS/ATHLON/gcc/misc
   F2CDEFS  : -DAdd_ -DStringSunStyle
   CACHEEDGE: 131072
   F77	    : /usr/absoft/bin/f77, version
   F77FLAGS : -O
   CC	    : /usr/bin/gcc, version gcc (GCC) 3.2 20020903 (Red Hat Linux
8.0 3.2-7)
   CC FLAGS : -fomit-frame-pointer -O3 -funroll-all-loops
   MCC	    : /usr/bin/gcc, version gcc (GCC) 3.2 20020903 (Red Hat Linux
8.0 3.2-7)
   MCCFLAGS : -fomit-frame-pointer -O
hector:/local/swalton/src/scipy/linalg> python
scipy_distutils/system_info.py
python: can't open file 'scipy_distutils/system_info.py'
hector:/local/swalton/src/scipy> python
scipy_distutils/command/build_flib.py
Absoft 4.6
Gnu 3.2
hector:/local/swalton/src/scipy> python
scipy_distutils/command/build_flib.py44Dlcd
/local/swalton/src/scipy/28Dpython
scipy_distutils/command/build_flib.py21Dsystem_info.pyK
atlas_info:
  FOUND:
    libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
    library_dirs = ['/usr/local/lib/atlas']

blas_info:
  NOT AVAILABLE

blas_src_info:
  NOT AVAILABLE

dfftw_info:
  NOT AVAILABLE

dfftw_threads_info:
  NOT AVAILABLE

djbfft_info:
  NOT AVAILABLE

fftw_info:
  NOT AVAILABLE

fftw_threads_info:
  NOT AVAILABLE

lapack_info:
  NOT AVAILABLE

lapack_src_info:
  NOT AVAILABLE

sfftw_info:
  NOT AVAILABLE

sfftw_threads_info:
  NOT AVAILABLE

x11_info:
  FOUND:
    libraries = ['X11']
    library_dirs = ['/usr/X11R6/lib']
    include_dirs = ['/usr/X11R6/include']

hector:/local/swalton/src/scipy> exit
exit

Script done on Mon Nov	4 14:49:40 200





More information about the SciPy-User mailing list