octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New Octave package "OCL" providing OpenCL support


From: Matthias W. Klein
Subject: Re: New Octave package "OCL" providing OpenCL support
Date: Fri, 24 May 2019 19:02:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

I added a "Troubleshooting" section in OCL's README file, including a
list of steps / commands to test, whenever OpenCL issues or segfaults
appear.

See the tip version of README:
https://sourceforge.net/p/octave-ocl/code/ci/default/tree/README

This description reflects some experience made, but can still be
considered (advanced) work in progress.

Can you try and comment?

Matt

On 03.05.2019 23:20, Colin Macdonald wrote:
On 2019-05-04 4:36 a.m., Matthias W. Klein wrote:
thanks for your hints. In short, this triggered package version 0.9.1.

That's much better and gave me a hint what was wrong: a missing slash,
filed issue for you https://sourceforge.net/p/octave-ocl/tickets/3/

- - - - -

Now I get a segfault, but at least I've got somewhere to start:

octave:3> ocl_double (rand (10, 10))
error: ocl_double: libOpenCL.so: failed to load: libOpenCL.so: cannot
open shared object file: No such file or directory
error: ocl_double: octave's dynamic library loader reported an error
while dynamically loading the OpenCL library
  consider manual inspection with 'ocl_lib' function.

octave:4> ocl_lib ("lib_path_filename", '/usr/lib64/', 'libOpenCL.so.1')

octave:5> ocl_double (rand (10, 10))
X server found. dri2 connection failed!
panic: Segmentation fault -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete
Segmentation fault (core dumped)

Oh well, progress at least ;-)  Hints what to try next?

Colin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]