srinath@Tech-X
unread,Sep 14, 2010, 2:55:52 AM9/14/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyamg-user
So I built pyamg both on a linux cluster and my MacOSX Darwin 10.4
machine.
On Darwin I am using Macports to build numpy and scipy (quite stable).
On Linux, numpy and scipy both are built by hand.
On both platforms, I get the similar error:
1)Linux:
Running unit tests for pyamg
NumPy version 1.4.1
NumPy is installed in /usr/local/contrib/lib64/python2.6/site-packages/
numpy
SciPy version 0.7.1
SciPy is installed in /usr/local/contrib/lib64/python2.6/site-packages/
scipy
Python version 2.6 (r26:66714, Mar 17 2009, 11:44:14) [GCC 4.4.0
20090313 (Red Hat 4.4.0-0.26)]
nose version 0.10.4
PyAMG version 1.0.0
PyAMG is installed in /scr_iter/srinath/myPython/lib64/python2.6/site-
packages/pyamg
...............E....................................................................................................E...E.
======================================================================
ERROR: test_strength_of_connection (test_aggregation.TestParameters)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/scr_iter/srinath/myPython/lib64/python2.6/site-packages/pyamg/
aggregation/tests/test_aggregation.py", line 42, in
test_strength_of_connection
self.run_cases( {'strength' : strength} )
File "/scr_iter/srinath/myPython/lib64/python2.6/site-packages/pyamg/
aggregation/tests/test_aggregation.py", line 27, in run_cases
ml = smoothed_aggregation_solver(A, B, max_coarse=5, **opts)
File "/scr_iter/srinath/myPython/lib64/python2.6/site-packages/pyamg/
aggregation/aggregation.py", line 152, in smoothed_aggregation_solver
extend_hierarchy(levels, strength, aggregate, smooth)
File "/scr_iter/srinath/myPython/lib64/python2.6/site-packages/pyamg/
aggregation/aggregation.py", line 181, in extend_hierarchy
C = ode_strength_of_connection(A, B, **kwargs)
File "/scr_iter/srinath/myPython/lib64/python2.6/site-packages/pyamg/
strength.py", line 614, in ode_strength_of_connection
NullDim)
File "/scr_iter/srinath/myPython/lib64/python2.6/site-packages/pyamg/
amg_core/amg_core.py", line 276, in ode_strength_helper
return _amg_core.ode_strength_helper(*args)
NotImplementedError: Wrong number of arguments for overloaded function
'ode_strength_helper'.
Possible C/C++ prototypes are:
ode_strength_helper< int,float,float >(float [],int const [],int
const [],int const,float const [],float const [],float const [],int
const,int const)
ode_strength_helper< int,double,double >(double [],int const
[],int const [],int const,double const [],double const [],double const
[],int const,int const)
ode_strength_helper< int,npy_cfloat_wrapper,float
>(npy_cfloat_wrapper [],int const [],int const [],int
const,npy_cfloat_wrapper const [],npy_cfloat_wrapper const
[],npy_cfloat_wrapper const [],int const,int const)
ode_strength_helper< int,npy_cdouble_wrapper,double
>(npy_cdouble_wrapper [],int const [],int const [],int
const,npy_cdouble_wrapper const [],npy_cdouble_wrapper const
[],npy_cdouble_wrapper const [],int const,int const)
======================================================================
ERROR: test_ode_strength_of_connection
(test_strength.TestComplexStrengthOfConnection)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/scr_iter/srinath/myPython/lib64/python2.6/site-packages/pyamg/
tests/test_strength.py", line 309, in test_ode_strength_of_connection
result = ode_strength_of_connection(ca['A'], ca['B'],
epsilon=ca['epsilon'], k=ca['k'], proj_type=ca['proj'])
File "/scr_iter/srinath/myPython/lib64/python2.6/site-packages/pyamg/
strength.py", line 614, in ode_strength_of_connection
NullDim)
File "/scr_iter/srinath/myPython/lib64/python2.6/site-packages/pyamg/
amg_core/amg_core.py", line 276, in ode_strength_helper
return _amg_core.ode_strength_helper(*args)
NotImplementedError: Wrong number of arguments for overloaded function
'ode_strength_helper'.
Possible C/C++ prototypes are:
ode_strength_helper< int,float,float >(float [],int const [],int
const [],int const,float const [],float const [],float const [],int
const,int const)
ode_strength_helper< int,double,double >(double [],int const
[],int const [],int const,double const [],double const [],double const
[],int const,int const)
ode_strength_helper< int,npy_cfloat_wrapper,float
>(npy_cfloat_wrapper [],int const [],int const [],int
const,npy_cfloat_wrapper const [],npy_cfloat_wrapper const
[],npy_cfloat_wrapper const [],int const,int const)
ode_strength_helper< int,npy_cdouble_wrapper,double
>(npy_cdouble_wrapper [],int const [],int const [],int
const,npy_cdouble_wrapper const [],npy_cdouble_wrapper const
[],npy_cdouble_wrapper const [],int const,int const)
======================================================================
ERROR: test_ode_strength_of_connection
(test_strength.TestStrengthOfConnection)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/scr_iter/srinath/myPython/lib64/python2.6/site-packages/pyamg/
tests/test_strength.py", line 234, in test_ode_strength_of_connection
result = ode_strength_of_connection(ca['A'], ca['B'],
epsilon=ca['epsilon'], k=ca['k'], proj_type=ca['proj'])
File "/scr_iter/srinath/myPython/lib64/python2.6/site-packages/pyamg/
strength.py", line 614, in ode_strength_of_connection
NullDim)
File "/scr_iter/srinath/myPython/lib64/python2.6/site-packages/pyamg/
amg_core/amg_core.py", line 276, in ode_strength_helper
return _amg_core.ode_strength_helper(*args)
NotImplementedError: Wrong number of arguments for overloaded function
'ode_strength_helper'.
Possible C/C++ prototypes are:
ode_strength_helper< int,float,float >(float [],int const [],int
const [],int const,float const [],float const [],float const [],int
const,int const)
ode_strength_helper< int,double,double >(double [],int const
[],int const [],int const,double const [],double const [],double const
[],int const,int const)
ode_strength_helper< int,npy_cfloat_wrapper,float
>(npy_cfloat_wrapper [],int const [],int const [],int
const,npy_cfloat_wrapper const [],npy_cfloat_wrapper const
[],npy_cfloat_wrapper const [],int const,int const)
ode_strength_helper< int,npy_cdouble_wrapper,double
>(npy_cdouble_wrapper [],int const [],int const [],int
const,npy_cdouble_wrapper const [],npy_cdouble_wrapper const
[],npy_cdouble_wrapper const [],int const,int const)
----------------------------------------------------------------------
Ran 122 tests in 32.043s
FAILED (errors=3)
Out[2]: <nose.result.TextTestResult run=122 errors=3 failures=0>
2)MacOSX:
NumPy version 1.5.0
NumPy is installed in /opt/local/Library/Frameworks/Python.framework/
Versions/2.6/lib/python2.6/site-packages/numpy
SciPy version 0.8.0
SciPy is installed in /opt/local/Library/Frameworks/Python.framework/
Versions/2.6/lib/python2.6/site-packages/scipy
Python version 2.6.6 (r266:84292, Aug 26 2010, 12:07:55) [GCC 4.2.1
(Apple Inc. build 5664)]
nose version 0.11.3
PyAMG version 1.0.0
PyAMG is installed in /Users/srinath/sofware/macports-build/lib/
python2.6/site-packages/pyamg
...............E......Warning: invalid value encountered in divide
Warning: divide by zero encountered in divide
Warning: invalid value encountered in divide
Warning: divide by zero encountered in divide
Warning: invalid value encountered in divide
Warning: divide by zero encountered in divide
Warning: divide by zero encountered in divide
Warning: invalid value encountered in divide
Warning: divide by zero encountered in divide
Warning: invalid value encountered in divide
Warning: divide by zero encountered in divide
Warning: invalid value encountered in divide
Warning: divide by zero encountered in divide
Warning: invalid value encountered in divide
Warning: divide by zero encountered in divide
Warning: invalid value encountered in divide
Warning: divide by zero encountered in divide
Warning: invalid value encountered in divide
Warning: divide by zero encountered in divide
Warning: invalid value encountered in divide
Warning: divide by zero encountered in divide
Warning: invalid value encountered in divide
Warning: divide by zero encountered in divide
Warning: invalid value encountered in divide
Warning: divide by zero encountered in divide
Warning: invalid value encountered in divide
Warning: divide by zero encountered in divide
Warning: invalid value encountered in divide
Warning: divide by zero encountered in divide
Warning: invalid value encountered in divide
Warning: divide by zero encountered in divide
Warning: invalid value encountered in divide
Warning: divide by zero encountered in divide
Warning: invalid value encountered in divide
Warning: divide by zero encountered in divide
Warning: invalid value encountered in divide
Warning: divide by zero encountered in divide
Warning: divide by zero encountered in divide
...................................................................Warning:
invalid value encountered in divide
Warning: invalid value encountered in divide
.....Warning: divide by zero encountered in divide
Warning: divide by zero encountered in divide
Warning: divide by zero encountered in divide
......................E...E.
======================================================================
ERROR: test_strength_of_connection (test_aggregation.TestParameters)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/srinath/sofware/macports-build/lib/python2.6/site-
packages/pyamg/aggregation/tests/test_aggregation.py", line 42, in
test_strength_of_connection
self.run_cases( {'strength' : strength} )
File "/Users/srinath/sofware/macports-build/lib/python2.6/site-
packages/pyamg/aggregation/tests/test_aggregation.py", line 27, in
run_cases
ml = smoothed_aggregation_solver(A, B, max_coarse=5, **opts)
File "/Users/srinath/sofware/macports-build/lib/python2.6/site-
packages/pyamg/aggregation/aggregation.py", line 152, in
smoothed_aggregation_solver
extend_hierarchy(levels, strength, aggregate, smooth)
File "/Users/srinath/sofware/macports-build/lib/python2.6/site-
packages/pyamg/aggregation/aggregation.py", line 181, in
extend_hierarchy
C = ode_strength_of_connection(A, B, **kwargs)
File "/Users/srinath/sofware/macports-build/lib/python2.6/site-
packages/pyamg/strength.py", line 614, in ode_strength_of_connection
NullDim)
File "/Users/srinath/sofware/macports-build/lib/python2.6/site-
packages/pyamg/amg_core/amg_core.py", line 276, in ode_strength_helper
return _amg_core.ode_strength_helper(*args)
NotImplementedError: Wrong number of arguments for overloaded function
'ode_strength_helper'.
Possible C/C++ prototypes are:
ode_strength_helper< int,float,float >(float [],int const [],int
const [],int const,float const [],float const [],float const [],int
const,int const)
ode_strength_helper< int,double,double >(double [],int const
[],int const [],int const,double const [],double const [],double const
[],int const,int const)
ode_strength_helper< int,npy_cfloat_wrapper,float
>(npy_cfloat_wrapper [],int const [],int const [],int
const,npy_cfloat_wrapper const [],npy_cfloat_wrapper const
[],npy_cfloat_wrapper const [],int const,int const)
ode_strength_helper< int,npy_cdouble_wrapper,double
>(npy_cdouble_wrapper [],int const [],int const [],int
const,npy_cdouble_wrapper const [],npy_cdouble_wrapper const
[],npy_cdouble_wrapper const [],int const,int const)
======================================================================
ERROR: test_ode_strength_of_connection
(test_strength.TestComplexStrengthOfConnection)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/srinath/sofware/macports-build/lib/python2.6/site-
packages/pyamg/tests/test_strength.py", line 309, in
test_ode_strength_of_connection
result = ode_strength_of_connection(ca['A'], ca['B'],
epsilon=ca['epsilon'], k=ca['k'], proj_type=ca['proj'])
File "/Users/srinath/sofware/macports-build/lib/python2.6/site-
packages/pyamg/strength.py", line 614, in ode_strength_of_connection
NullDim)
File "/Users/srinath/sofware/macports-build/lib/python2.6/site-
packages/pyamg/amg_core/amg_core.py", line 276, in ode_strength_helper
return _amg_core.ode_strength_helper(*args)
NotImplementedError: Wrong number of arguments for overloaded function
'ode_strength_helper'.
Possible C/C++ prototypes are:
ode_strength_helper< int,float,float >(float [],int const [],int
const [],int const,float const [],float const [],float const [],int
const,int const)
ode_strength_helper< int,double,double >(double [],int const
[],int const [],int const,double const [],double const [],double const
[],int const,int const)
ode_strength_helper< int,npy_cfloat_wrapper,float
>(npy_cfloat_wrapper [],int const [],int const [],int
const,npy_cfloat_wrapper const [],npy_cfloat_wrapper const
[],npy_cfloat_wrapper const [],int const,int const)
ode_strength_helper< int,npy_cdouble_wrapper,double
>(npy_cdouble_wrapper [],int const [],int const [],int
const,npy_cdouble_wrapper const [],npy_cdouble_wrapper const
[],npy_cdouble_wrapper const [],int const,int const)
======================================================================
ERROR: test_ode_strength_of_connection
(test_strength.TestStrengthOfConnection)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/srinath/sofware/macports-build/lib/python2.6/site-
packages/pyamg/tests/test_strength.py", line 234, in
test_ode_strength_of_connection
result = ode_strength_of_connection(ca['A'], ca['B'],
epsilon=ca['epsilon'], k=ca['k'], proj_type=ca['proj'])
File "/Users/srinath/sofware/macports-build/lib/python2.6/site-
packages/pyamg/strength.py", line 614, in ode_strength_of_connection
NullDim)
File "/Users/srinath/sofware/macports-build/lib/python2.6/site-
packages/pyamg/amg_core/amg_core.py", line 276, in ode_strength_helper
return _amg_core.ode_strength_helper(*args)
NotImplementedError: Wrong number of arguments for overloaded function
'ode_strength_helper'.
Possible C/C++ prototypes are:
ode_strength_helper< int,float,float >(float [],int const [],int
const [],int const,float const [],float const [],float const [],int
const,int const)
ode_strength_helper< int,double,double >(double [],int const
[],int const [],int const,double const [],double const [],double const
[],int const,int const)
ode_strength_helper< int,npy_cfloat_wrapper,float
>(npy_cfloat_wrapper [],int const [],int const [],int
const,npy_cfloat_wrapper const [],npy_cfloat_wrapper const
[],npy_cfloat_wrapper const [],int const,int const)
ode_strength_helper< int,npy_cdouble_wrapper,double
>(npy_cdouble_wrapper [],int const [],int const [],int
const,npy_cdouble_wrapper const [],npy_cdouble_wrapper const
[],npy_cdouble_wrapper const [],int const,int const)
----------------------------------------------------------------------
Ran 122 tests in 27.876s
FAILED (errors=3)
Out[2]: <nose.result.TextTestResult run=122 errors=3 failures=0>