[Numpy-discussion] ANN: Numpy 1.6.0 beta 1

Derek Homeier derek@astro.physik.uni-goettingen...
Wed Mar 23 19:04:32 CDT 2011


On 24 Mar 2011, at 00:34, Derek Homeier wrote:

> tests with the fink-installed pythons on MacOS X mostly succeeded,
> with one failure in python2.4 and a couple of issues seemingly
> related to PPC floating point accuracy, as below:
> 
Probably last update for tonight: with the 'full' test suite, there's one 
additional failure and error, respectively under 10.5/ppc and 
10.6/x86_64 (in all Python versions):

PowerPC:

FAIL: test_kind.TestKind.test_all
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/sw/lib/python2.5/site-packages/nose/case.py", line 187, in runTest
    self.test(*self.arg)
  File "/sw/lib/python2.5/site-packages/numpy/f2py/tests/test_kind.py", line 30, in test_all
    'selectedrealkind(%s): expected %r but got %r' %  (i, selected_real_kind(i), selectedrealkind(i)))
  File "/sw/lib/python2.5/site-packages/numpy/testing/utils.py", line 34, in assert_
    raise AssertionError(msg)
AssertionError: selectedrealkind(16): expected 10 but got 16

Intel-64bit:
ERROR: test_assumed_shape.TestAssumedShapeSumExample.test_all
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/sw/lib/python3.2/site-packages/nose/case.py", line 372, in setUp
    try_run(self.inst, ('setup', 'setUp'))
  File "/sw/lib/python3.2/site-packages/nose/util.py", line 478, in try_run
    return func()
  File "/sw/lib/python3.2/site-packages/numpy/f2py/tests/util.py", line 352, in setUp
    module_name=self.module_name)
  File "/sw/lib/python3.2/site-packages/numpy/f2py/tests/util.py", line 73, in wrapper
    memo[key] = func(*a, **kw)
  File "/sw/lib/python3.2/site-packages/numpy/f2py/tests/util.py", line 134, in build_module
    % (cmd[4:], asstr(out)))
RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', '/var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpfiy1jn/foo_free.f90', '/var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpfiy1jn/foo_use.f90', '/var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpfiy1jn/precision.f90']
Reading .f2py_f2cmap ...
	Mapping "real(kind=rk)" to "double"
Succesfully applied user defined changes from .f2py_f2cmap
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension "_test_ext_module_5403" sources
f2py options: []
f2py:> /var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpv567as/src.macosx-10.6-x86_64-3.2/_test_ext_module_5403module.c
creating /var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpv567as
creating /var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpv567as/src.macosx-10.6-x86_64-3.2
Reading fortran codes...
	Reading file '/var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpfiy1jn/foo_free.f90' (format:free)
	Reading file '/var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpfiy1jn/foo_use.f90' (format:free)
	Reading file '/var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpfiy1jn/precision.f90' (format:free)
Post-processing...
	Block: _test_ext_module_5403
			Block: sum
			Block: fsum
			Block: sum_with_use
			Block: precision
Post-processing (stage 2)...
	Block: _test_ext_module_5403
		Block: unknown_interface
			Block: sum
			Block: fsum
			Block: sum_with_use
			Block: precision
Building modules...
	Building module "_test_ext_module_5403"...
		Creating wrapper for Fortran subroutine "sum"("sum")...
		Constructing wrapper function "sum"...
		  res = sum(x)
		Creating wrapper for Fortran function "fsum"("fsum")...
		Constructing wrapper function "fsum"...
		  res = fsum(x)
		Creating wrapper for Fortran subroutine "sum_with_use"("sum_with_use")...
		Constructing wrapper function "sum_with_use"...
		  res = sum_with_use(x)
		Constructing F90 module support for "precision"...
		  Variables: ik rk
	Wrote C/API module "_test_ext_module_5403" to file "/var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-

[skipping additional compiler output]
compiling Fortran sources
Fortran f77 compiler: /sw/bin/gfortran -Wall -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops
Fortran f90 compiler: /sw/bin/gfortran -Wall -fno-second-underscore -fPIC -O3 -funroll-loops
Fortran fix compiler: /sw/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -fPIC -O3 -funroll-loops
compile options: '-I/var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpv567as/src.macosx-10.6-x86_64-3.2 -I/sw/lib/python3.2/site-packages/numpy/core/include -I/sw/include/python3.2m -c'
extra options: '-J/var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpv567as/ -I/var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpv567as/'
gfortran:f90: /var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpfiy1jn/foo_free.f90
gfortran:f90: /var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpfiy1jn/foo_use.f90
gfortran:f77: /var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpv567as/src.macosx-10.6-x86_64-3.2/_test_ext_module_5403-f2pywrappers.f
/var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpv567as/src.macosx-10.6-x86_64-3.2/_test_ext_module_5403-f2pywrappers.f:26.21:

          real :: res                                                   
                     1
Error: Symbol 'res' at (1) already has basic type of REAL
/var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpv567as/src.macosx-10.6-x86_64-3.2/_test_ext_module_5403-f2pywrappers.f:26.21:

          real :: res                                                   
                     1
Error: Symbol 'res' at (1) already has basic type of REAL
error: Command "/sw/bin/gfortran -Wall -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops -I/var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpv567as/src.macosx-10.6-x86_64-3.2 -I/sw/lib/python3.2/site-packages/numpy/core/include -I/sw/include/python3.2m -c -c /var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpv567as/src.macosx-10.6-x86_64-3.2/_test_ext_module_5403-f2pywrappers.f -o /var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpv567as/var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpv567as/src.macosx-10.6-x86_64-3.2/_test_ext_module_5403-f2pywrappers.o -J/var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpv567as/ -I/var/folders/DC/DC7g9UNr2RWkb++8ZSn1J+++0Dk/-Tmp-/tmpv567as/" failed with exit status 1


----------------------------------------------------------------------
Ran 3415 tests in 75.507s

FAILED (KNOWNFAIL=4, SKIP=1, errors=1)


More information about the NumPy-Discussion mailing list