opencl app on intel_gpu
log in

Advanced search

Message boards : Unix/Linux : opencl app on intel_gpu

Author Message
achims311
Send message
Joined: 28 Jun 10
Posts: 1
Credit: 1,676,064
RAC: 0
Message 19576 - Posted: 29 May 2014, 16:03:37 UTC

Hi,

today I got boinc to find the gpu, which is on the 4570 processor.

So boinc downloaded a WU and started oit, but..


<message>
process exited with code 193 (0xc1, -63)
</message>
<stderr_txt>
Collatz Conjecture v6.05 x86_64 for OpenCL
Based on the AMD Brook+ kernels by Gipsel
Platform: INTEL
Device: 139732152790336
OpenCL context created
OpenCL command queue created
OpenCL program created
SIGSEGV: segmentation violation
Stack trace (20 frames):
../../projects/boinc.thesonntags.com_collatz/mini_collatz_6.05_x86_64-pc-linux-gnu__opencl_intel_gpu(boinc_catch_signal+0x1d9)[0x441a5b]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf890)[0x7f15ede16890]
/usr/lib/beignet/libcl.so(+0x34f1bb)[0x7f15ec0791bb]
/usr/lib/beignet/libcl.so(+0x350795)[0x7f15ec07a795]
/usr/lib/beignet/libcl.so(+0x362683)[0x7f15ec08c683]
/usr/lib/beignet/libcl.so(+0x3657e2)[0x7f15ec08f7e2]
/usr/lib/beignet/libcl.so(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x1d7)[0x7f15ecdf6dc7]
/usr/lib/beignet/libcl.so(+0xf4825a)[0x7f15ecc7225a]
/usr/lib/beignet/libcl.so(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x2b5)[0x7f15ecdf92d5]
/usr/lib/beignet/libcl.so(+0x3361fb)[0x7f15ec0601fb]
/usr/lib/beignet/libcl.so(+0x31e0d9)[0x7f15ec0480d9]
/usr/lib/beignet/libcl.so(+0x33edc4)[0x7f15ec068dc4]
/usr/lib/beignet/libcl.so(+0x321a43)[0x7f15ec04ba43]
/usr/lib/beignet/libcl.so(+0x30ec39)[0x7f15ec038c39]
/usr/lib/beignet/libcl.so(clBuildProgram+0x72)[0x7f15ec0331e2]
../../projects/boinc.thesonntags.com_collatz/mini_collatz_6.05_x86_64-pc-linux-gnu__opencl_intel_gpu[0x410068]
../../projects/boinc.thesonntags.com_collatz/mini_collatz_6.05_x86_64-pc-linux-gnu__opencl_intel_gpu[0x411965]
../../projects/boinc.thesonntags.com_collatz/mini_collatz_6.05_x86_64-pc-linux-gnu__opencl_intel_gpu[0x40d36f]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f15ed77bb45]
../../projects/boinc.thesonntags.com_collatz/mini_collatz_6.05_x86_64-pc-linux-gnu__opencl_intel_gpu[0x40d595]

Exiting...

</stderr_txt>


this is in the coproc.xml:

<coproc_intel_gpu>
<count>0</count>
<name>Intel(R) HD Graphics Haswell M</name>
<available_ram>134217728.000000</available_ram>
<have_opencl>0</have_opencl>
<peak_flops>512000000000.000000</peak_flops>
<version>0.8.0</version>
</coproc_intel_gpu>
<coproc_intel_gpu>
<count>0</count>
<name>Intel(R) HD Graphics Haswell M</name>
<available_ram>134217728.000000</available_ram>
<have_opencl>0</have_opencl>
<peak_flops>512000000000.000000</peak_flops>
<version>0.8.0</version>
</coproc_intel_gpu>
...
<opencl_platform_version>OpenCL 1.1 beignet 0.8.0</opencl_platform_version>
<opencl_device_version>OpenCL 1.1 beignet 0.8.0</opencl_device_version>
<opencl_driver_version>0.8.0</opencl_driver_version>
...


Any idea?

Profile mikey
Avatar
Send message
Joined: 11 Aug 09
Posts: 3242
Credit: 1,686,427,615
RAC: 6,275,270
Message 19579 - Posted: 30 May 2014, 11:21:21 UTC - in response to Message 19576.

Hi,

today I got boinc to find the gpu, which is on the 4570 processor.

Any idea?


Your error message says:
<core_client_version>7.2.47</core_client_version>
<![CDATA[
<message>
process exited with code 127 (0x7f, -129)
</message>
<stderr_txt>
../../projects/boinc.thesonntags.com_collatz/solo_collatz_6.07_i686-pc-linux-gnu__opencl_intel_gpu: error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file or directory

</stderr_txt>
]]>

So either you or Collatz seem to be using different libraries, I am NOT a Linux guy but have seen this reported in the past is why I am posting. Slicker, the admin here, knows ALOT about Linux if you don't get a reply from someone else in the next day or so PM him.

Profile Slicker
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 11 Jun 09
Posts: 2525
Credit: 740,580,099
RAC: 2
Message 19580 - Posted: 30 May 2014, 18:19:38 UTC

<have_opencl>0</have_opencl>


That looks very suspicious. What OpenCL driver are you using?
The next step after creating the OpenCL program is to build the kernel for the device which seems to be the cause of the error. Since that is totally dependent upon the driver. Are you sure your GPU is supported? The last I read, the Intel SDK for OpenCL on Linux only supported CPUs.


Post to thread

Message boards : Unix/Linux : opencl app on intel_gpu


Main page · Your account · Message boards


Copyright © 2018 Jon Sonntag; All rights reserved.