Sunday, 2 November 2014
Hi All,
I’m back with another question. I was attempting to compare and contrast the advantages and/or disadvantages with the various backends available. However, I seem to be encountering a runtime error with clBLAS which I was hoping someone might be able to interpret and assist with. I’m running PyFR v0.2.3. I’ve included the invocation and corresponding stack trace for your review. Any input you might be able to provide as to the root cause would be greatly appreciated.
pyfr-sim -n 100 -p -b opencl run couette_flow_2d.pyfrm couette_flow_2d.ini
Traceback (most recent call last):
File "/Users/zdavis/Applications/PyFR/pyfr/scripts/pyfr-sim", line 112, in <module>
main()
File "/usr/local/lib/python2.7/site-packages/mpmath/ctx_mp.py", line 1301, in g
return f(*args, **kwargs)
File "/Users/zdavis/Applications/PyFR/pyfr/scripts/pyfr-sim", line 108, in main
solver.run()
File "/Users/zdavis/Applications/PyFR/pyfr/integrators/base.py", line 114, in run
solns = self.advance_to(t)
File "/Users/zdavis/Applications/PyFR/pyfr/integrators/controllers.py", line 79, in advance_to
idxcurr = self.step(self.tcurr, dt)
File "/Users/zdavis/Applications/PyFR/pyfr/integrators/steppers.py", line 107, in step
rhs(t, r0, r1)
File "/Users/zdavis/Applications/PyFR/pyfr/solvers/baseadvecdiff/system.py", line 17, in rhs
runall([q1])
File "/Users/zdavis/Applications/PyFR/pyfr/backends/base/backend.py", line 187, in runall
self.queue_cls.runall(sequence)
File "/Users/zdavis/Applications/PyFR/pyfr/backends/opencl/types.py", line 118, in runall
q._exec_nowait()
File "/Users/zdavis/Applications/PyFR/pyfr/backends/base/types.py", line 308, in _exec_nowait
self._exec_item(*self._items.popleft())
File "/Users/zdavis/Applications/PyFR/pyfr/backends/base/types.py", line 293, in _exec_item
item.run(self, *args, **kwargs)
File "/Users/zdavis/Applications/PyFR/pyfr/backends/opencl/clblas.py", line 96, in run
1, qptr, 0, None, None)
File "/Users/zdavis/Applications/PyFR/pyfr/backends/opencl/clblas.py", line 59, in _errcheck
raise RuntimeError('clBLAS')
RuntimeError: clBLAS
Best Regards,
Zach Davis