Hi,
Yesterday, I installed pyVienna from python extension packages :
http://www.lfd.uci.edu/~gohlke/pythonlibs/
with the name : *pyviennacl-1.0.3-cp34-none-win32.whl*
and today I tried to test. The error message that I have got asked me to
report the issue that occurred under my test.
Here is the information related to my PC:
OS: *Windows 7, pro, 64 bits*
Adapter: *AMD Radeon HD 5700 series*
AMD : *AMD-Catalyst-Omega-14.12-Without-DOTNet45-Win7-64bit*
Python: *3.4, 32 bits* - the same as pyviennacl version
OpenCL: I have *both OpenCL 32 and 64* and they are installed in system32
and system64 directories, respectively and they are visible in the path
variable. I assume that pip installation chose the 32 bits version. The
drivers were updated about a month ago.
And here are the error messages that I have got:
**********************************************************************
File
"C:\Orkun\NumericalSystems\FiniteElement\OrkunFEM\assembly\processor.py",
line 113, in __main__.Processor._test
Failed example:
q.Execute()
Exception raised:
Traceback (most recent call last):
File "C:\Python34\lib\doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest __main__.Processor._test[1]>", line 1, in <module>
q.Execute()
File
"C:\Orkun\NumericalSystems\FiniteElement\OrkunFEM\assembly\processor.py",
line 81, in Execute
self.fem.ApplyFEM()
File
"C:\Orkun\NumericalSystems\FiniteElement\OrkunFEM\assembly\discreteFEM.py",
line 103, in ApplyFEM
self.assembler.Assemble(self.element.ElementMatrix,
self.element.ElementVector)
File
"C:\Orkun\NumericalSystems\FiniteElement\OrkunFEM\assembly\compressedMatrixAssembler.py",
line 82, in Assemble
self.matrix[ki, kj] += a
File "C:\Python34\lib\site-packages\pyviennacl\pycore.py", line 1520,
in __getitem__
return np_result_type(self).type(self.cpu_leaf.get_entry(key[0],
key[1]))
Boost.Python.ArgumentError: Python argument types in
cpu_compressed_matrix_double.get_entry(*cpu_compressed_matrix_double,
numpy.uint64, numpy.uint64*)
did not match C++ signature:
get_entry(class cpu_compressed_matrix_wrapper<double>
{lvalue}, *unsigned
int, unsigned in*t)
**********************************************************************
File
"C:\Orkun\NumericalSystems\FiniteElement\OrkunFEM\assembly\processor.py",
line 114, in __main__.Processor._test
Failed example:
q.Solve()
Exception raised:
Traceback (most recent call last):
File "C:\Python34\lib\doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest __main__.Processor._test[2]>", line 1, in <module>
q.Solve()
File
"C:\Orkun\NumericalSystems\FiniteElement\OrkunFEM\assembly\processor.py",
line 88, in Solve
self.eqSystem.Solve()
File
"C:\Orkun\NumericalSystems\LinearAlgebra\OrkunLA\equationsolvers\krylovSolver.py",
line 106, in Solve
tag = pyv.gimres_tag(self.tolerance, self.maxIterations,
self.krylovDimension)
* AttributeError: 'module' object has no attribute 'gimres_tag*
****************************************************************************
I didn’t understand the error message from Boost, as you are providing
numpy.float64 – that’s what
is written in your manual. I did not understand why I got the error message
about the tag, either. It is exactly the same as in your manual for gimres
algorithm.
Then I cast the array indices as normal python int such as *int(index).*
After then, the following error appeared:
**********************************************************************
File
"C:\Orkun\NumericalSystems\FiniteElement\OrkunFEM\assembly\processor.py",
line 113, in __main__.Processor._test
Failed example:
q.Execute()
Exception raised:
Traceback (most recent call last):
File "C:\Python34\lib\doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest __main__.Processor._test[1]>", line 1, in <module>
q.Execute()
File
"C:\Orkun\NumericalSystems\FiniteElement\OrkunFEM\assembly\processor.py",
line 84, in Execute
self.fem.GlobalAssembly.GlobalVector)
File
"C:\Orkun\NumericalSystems\LinearAlgebra\OrkunLA\equationsolvers\krylovSolver.py",
line 99, in SetMatrixVector
self.b = pyv.Vector(rhs)
File "C:\Python34\lib\site-packages\pyviennacl\pycore.py", line 820,
in __init__
self._init_leaf(args, kwargs)
File "C:\Python34\lib\site-packages\pyviennacl\pycore.py", line 1172,
in _init_leaf
self.vcl_leaf = get_leaf(vcl_type)
File "C:\Python34\lib\site-packages\pyviennacl\pycore.py", line 1140,
in get_leaf
return vcl_t(a)
RuntimeError: ViennaCL: FATAL ERROR: You requested to create a ViennaCL
type using double precision. However, double precision is not supported by
your device.
If you think that this is a bug in ViennaCL, please report it at
[email protected] and supply at least the following
information:
* Operating System
* Which OpenCL implementation (AMD, NVIDIA, etc.)
* ViennaCL version
Many thanks in advance!
**********************************************************************
File
"C:\Orkun\NumericalSystems\FiniteElement\OrkunFEM\assembly\processor.py",
line 114, in __main__.Processor._test
Failed example:
q.Solve()
Exception raised:
Traceback (most recent call last):
File "C:\Python34\lib\doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest __main__.Processor._test[2]>", line 1, in <module>
q.Solve()
File
"C:\Orkun\NumericalSystems\FiniteElement\OrkunFEM\assembly\processor.py",
line 88, in Solve
self.eqSystem.Solve()
File
"C:\Orkun\NumericalSystems\LinearAlgebra\OrkunLA\equationsolvers\krylovSolver.py",
line 106, in Solve
tag = pyv.gimres_tag(self.tolerance, self.maxIterations,
self.krylovDimension)
*AttributeError: 'module' object has no attribute 'gimres_tag'*
Kind regards,
Berat
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
ViennaCL-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/viennacl-support