Hello, when attempting to run one of the example cases, I receive this
error. Does anybody know what the solution to this could be?
> htpc@htpc:~/Downloads/PyFR/examples/inc_cylinder_2d$ pyfr run mesh.pyfrm
> inc_cylinder_2d.ini -b opencl
>
Traceback (most recent call last):
> File "/usr/local/bin/pyfr", line 9, in <module>
> load_entry_point('pyfr==1.7.0', 'console_scripts', 'pyfr')()
> File
> "/usr/local/lib/python3.5/dist-packages/pyfr-1.7.0-py3.5.egg/pyfr/__main__.py",
>
> line 110, in main
> File
> "/usr/local/lib/python3.5/dist-packages/pyfr-1.7.0-py3.5.egg/pyfr/__main__.py",
>
> line 235, in process_run
> File
> "/usr/local/lib/python3.5/dist-packages/pyfr-1.7.0-py3.5.egg/pyfr/__main__.py",
>
> line 227, in _process_common
> File
> "/usr/local/lib/python3.5/dist-packages/pyfr-1.7.0-py3.5.egg/pyfr/integrators/base.py",
>
> line 195, in run
> File
> "/usr/local/lib/python3.5/dist-packages/pyfr-1.7.0-py3.5.egg/pyfr/integrators/dual/multip.py",
>
> line 244, in advance_to
> File
> "/usr/local/lib/python3.5/dist-packages/pyfr-1.7.0-py3.5.egg/pyfr/integrators/dual/pseudosteppers.py",
>
> line 142, in step
> File
> "/usr/local/lib/python3.5/dist-packages/pyfr-1.7.0-py3.5.egg/pyfr/integrators/dual/multip.py",
>
> line 166, in _rhs_with_dts
> File
> "/usr/local/lib/python3.5/dist-packages/pyfr-1.7.0-py3.5.egg/pyfr/solvers/baseadvecdiff/system.py",
>
> line 45, in rhs
> File
> "/usr/local/lib/python3.5/dist-packages/pyfr-1.7.0-py3.5.egg/pyfr/backends/base/backend.py",
>
> line 176, in runall
> File
> "/usr/local/lib/python3.5/dist-packages/pyfr-1.7.0-py3.5.egg/pyfr/backends/opencl/types.py",
>
> line 114, in runall
> class's __getattr__ method; this is done by raising AttributeError.
> File
> "/usr/local/lib/python3.5/dist-packages/pyfr-1.7.0-py3.5.egg/pyfr/backends/base/types.py",
>
> line 326, in _exec_nowait
> File
> "/usr/local/lib/python3.5/dist-packages/pyfr-1.7.0-py3.5.egg/pyfr/backends/base/types.py",
>
> line 311, in _exec_item
> File
> "/usr/local/lib/python3.5/dist-packages/pyfr-1.7.0-py3.5.egg/pyfr/backends/opencl/provider.py",
>
> line 50, in run
> File "/usr/lib/python3/dist-packages/pyopencl/__init__.py", line 512, in
> kernel_call
> global_offset, wait_for, g_times_l=g_times_l)
> TypeError: No registered converter was able to produce a C++ rvalue of
> type unsigned long from this Python object of type numpy.int64
>
--
You received this message because you are subscribed to the Google Groups "PyFR
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send an email to [email protected].
Visit this group at https://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.