[SciPy-user] question about installation of odr

william ratcliff william.ratcliff@gmail....
Mon Apr 16 16:02:43 CDT 2007


I just checked odr out from svn and attempted to install it.  It wasn't
happy about the absence of BLAS libraries.  However, it did build.  I ran
the tests and they all failed.  It seems that the return values are the same
as the initial values.  Can anyone offer any suggestions?   I should note
that after the build, I moved odr from the sandbox to its own directory
under scipy.


Thanks,
William Ratcliff

Build:

$ /c/python24/python.exe setup.py install
Setting mingw32 as default compiler for nt.
blas_opt_info:
blas_mkl_info:
  libraries mkl,vml,guide not find in c:\python24\lib
  libraries mkl,vml,guide not find in C:\
  libraries mkl,vml,guide not find in c:\python24\libs
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries ptf77blas,ptcblas,atlas not find in c:\python24\lib
  libraries ptf77blas,ptcblas,atlas not find in C:\
  libraries ptf77blas,ptcblas,atlas not find in c:\python24\libs
  NOT AVAILABLE

atlas_blas_info:
  libraries f77blas,cblas,atlas not find in c:\python24\lib
  libraries f77blas,cblas,atlas not find in C:\
  libraries f77blas,cblas,atlas not find in c:\python24\libs
  NOT AVAILABLE

blas_info:
  libraries blas not find in c:\python24\lib
  libraries blas not find in C:\
  libraries blas not find in c:\python24\libs
  NOT AVAILABLE

blas_src_info:
  NOT AVAILABLE

  NOT AVAILABLE

Appending sandbox.odr configuration to sandbox
Ignoring attempt to set 'name' (from 'sandbox' to 'sandbox.odr')
Appending sandbox.odr configuration to sandbox
Ignoring attempt to set 'name' (from 'sandbox' to 'sandbox.odr')
running install
running build
running config_fc
running build_src
building library "odrpack" sources
building library "odrpack" sources
building extension "sandbox.odr.__odrpack" sources
building extension "sandbox.odr.__odrpack" sources
building data_files sources
running build_py
running build_clib
customize Mingw32CCompiler
customize Mingw32CCompiler using build_clib
0
Could not locate executable f77
Could not locate executable gfortran
Could not locate executable f95
customize GnuFCompiler
c:\python24\lib\site-packages\numpy\distutils\system_info.py:1233:
UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
c:\python24\lib\site-packages\numpy\distutils\system_info.py:1242:
UserWarning:
    Blas (http://www.netlib.org/blas/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [blas]) or by setting
    the BLAS environment variable.
  warnings.warn(BlasNotFoundError.__doc__)
c:\python24\lib\site-packages\numpy\distutils\system_info.py:1245:
UserWarning:
    Blas (http://www.netlib.org/blas/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [blas_src]) or by setting
    the BLAS_SRC environment variable.
  warnings.warn(BlasSrcNotFoundError.__doc__)
.\odr\setup.py:26: UserWarning:
    Blas (http://www.netlib.org/blas/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [blas]) or by setting
    the BLAS environment variable.
  warnings.warn(BlasNotFoundError.__doc__)
customize GnuFCompiler
customize GnuFCompiler using build_clib
building 'odrpack' library
compiling Fortran sources
Fortran f77 compiler: c:\Python24\Enthought\MingW\bin\g77.exe -g -Wall
-fno-seco                   nd-underscore -O3 -funroll-loops -march=pentium4
-mmmx -msse2 -msse -fomit-frame                   -pointer -malign-double
compile options: '-c'
g77.exe:f77: odr\odrpack\d_lpkbls.f
ar: adding 4 object files to build\temp.win32-2.4\libodrpack.a
running build_ext
customize Mingw32CCompiler
customize Mingw32CCompiler using build_ext
customize GnuFCompiler
customize GnuFCompiler
customize GnuFCompiler using build_ext
building 'sandbox.odr.__odrpack' extension
compiling C sources
C compiler: gcc -O2 -Wall -Wstrict-prototypes

creating build\temp.win32-2.4\Release
creating build\temp.win32-2.4\Release\odr
compile options: '-Iodr -Ic:\python24\lib\site-packages\numpy\core\include
-Ic:\                   python24\include -Ic:\python24\PC -c'
gcc -O2 -Wall -Wstrict-prototypes -Iodr
-Ic:\python24\lib\site-packages\numpy\co                   re\include
-Ic:\python24\include -Ic:\python24\PC -c odr\__odrpack.c -o
build\te                   mp.win32-2.4\Release\odr\__odrpack.o
c:\Python24\Enthought\MingW\bin\g77.exe -shared build\temp.win32-
2.4\Release\odr                   \__odrpack.o
-Lc:/Python24/Enthought/MingW/bin/../lib/gcc/mingw32/3.4.5
-Lc:\pyt                   hon24\libs -Lc:\python24\PCBuild
-Lbuild\temp.win32-2.4 -lodrpack -lpython24 -lg                   2c -o
build\lib.win32-2.4\sandbox\odr\__odrpack.pyd
running install_lib
creating c:\python24\Lib\site-packages\sandbox
creating c:\python24\Lib\site-packages\sandbox\odr
copying build\lib.win32-2.4\sandbox\odr\info.py ->
c:\python24\Lib\site-packages                   \sandbox\odr
copying build\lib.win32-2.4\sandbox\odr\models.py ->
c:\python24\Lib\site-packag                   es\sandbox\odr
copying build\lib.win32-2.4\sandbox\odr\odrpack.py ->
c:\python24\Lib\site-packa                   ges\sandbox\odr
copying build\lib.win32-2.4\sandbox\odr\setup.py ->
c:\python24\Lib\site-package                   s\sandbox\odr
copying build\lib.win32-2.4\sandbox\odr\__init__.py ->
c:\python24\Lib\site-pack                   ages\sandbox\odr
copying build\lib.win32-2.4\sandbox\odr\__odrpack.pyd ->
c:\python24\Lib\site-pa                   ckages\sandbox\odr
copying build\lib.win32-2.4\sandbox\__init__.py ->
c:\python24\Lib\site-packages                   \sandbox
byte-compiling c:\python24\Lib\site-packages\sandbox\odr\info.py to info.pyc
byte-compiling c:\python24\Lib\site-packages\sandbox\odr\models.py to
models.pyc
byte-compiling c:\python24\Lib\site-packages\sandbox\odr\odrpack.py to
odrpack.p                   yc
byte-compiling c:\python24\Lib\site-packages\sandbox\odr\setup.py to
setup.pyc
byte-compiling c:\python24\Lib\site-packages\sandbox\odr\__init__.py to
__init__                   .pyc
byte-compiling c:\python24\Lib\site-packages\sandbox\__init__.py to
__init__.pyc
running install_data
creating c:\python24\Lib\site-packages\sandbox\odr\tests
copying odr\tests\test_odr.py ->
c:\python24\Lib\site-packages\sandbox\odr\tests

Test failures:




$ /c/python24/python.exe test_odr.py
Setting mingw32 as default compiler for nt.
  Found 5 tests for __main__
FFFFF
======================================================================
FAIL: test_explicit (__main__.test_odr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_odr.py", line 49, in test_explicit
    np.array([  1.2646548050648876e+03,  -5.4018409956678255e+01,
  File "C:\Python24\lib\site-packages\numpy\testing\utils.py", line 222, in
asse                   rt_array_almost_equal
    header='Arrays are not almost equal')
  File "C:\Python24\lib\site-packages\numpy\testing\utils.py", line 207, in
asse                   rt_array_compare
    assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
 x: array([  1.50000000e+03,  -5.00000000e+01,  -1.00000000e-01])
 y: array([  1.26465481e+03,  -5.40184100e+01,  -8.78497122e-02])

======================================================================
FAIL: test_implicit (__main__.test_odr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_odr.py", line 94, in test_implicit
    np.array([-0.9993809167281279, -2.9310484652026476,  0.0875730502693354,
  File "C:\Python24\lib\site-packages\numpy\testing\utils.py", line 222, in
asse                   rt_array_almost_equal
    header='Arrays are not almost equal')
  File "C:\Python24\lib\site-packages\numpy\testing\utils.py", line 207, in
asse                   rt_array_compare
    assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
 x: array([-1.  , -3.  ,  0.09,  0.02,  0.08])
 y: array([-0.99938092, -2.93104847,  0.08757305,  0.01622997,  0.0797538 ])

======================================================================
FAIL: test_lorentz (__main__.test_odr)
----------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20070416/40164727/attachment-0001.html 


More information about the SciPy-user mailing list