Objet : Developers list for StarPU
Archives de la liste
- From: Nathalie Furmento <nathalie.furmento@labri.fr>
- To: ASUDE ASUDE <ajitsdeshpande@gmail.com>
- Cc: starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] Error - No worker may execute this task
- Date: Tue, 29 Nov 2011 15:30:27 +0100
- List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel>
- List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>
Did you update your application ? #10 0x0000000000403cb0 in test_opencl_codelet (buffers=0x7efc28, cl_arg=0x7fffffffe5f0) at test_starpu.c:140 Looking at the test_starpu.c file you sent earlier, the line 140 is err |= clSetKernelArg(kernel, 1, sizeof(cl_mem), &d_tex); Have you tried to execute your OpenCL code outside StarPU ? Does it work ? Maybe you should send us all the files of your application that we can test it ourselves. Cheers, Nathalie On 29/11/2011 15:17, ASUDE ASUDE wrote: Hello, Did some debugging with gdb on my application executable and some interesting(but those which I could not explain) things were uncovered- Built with -g enabled, no optimization enabled. And same configure and make steps as before. (--enable-opencl --disable-cuda) When executed in standalone(w/o gdb) the segmentation fault occurs in a transient manner, i.e. it does not show up for every execution , but based on the configuration of devices on which, starpu schedules the task at runtime - When it starpu schedules the tasks on all CPU devices, it does not crash, when it schedules on OpenCL device (GTX470), it always crashes. Then did: gdb testapp At gdb prompt gave run with necessary arguments needed for app - Below is the gdb backtrace when it crashes, (gdb) bt #0 0x00007fffef33b380 in ?? () from /usr/lib/libcuda.so.1 #1 0x00007fffef292271 in ?? () from /usr/lib/libcuda.so.1 #2 0x00007fffef29c3b3 in ?? () from /usr/lib/libcuda.so.1 #3 0x00007fffef29c98c in ?? () from /usr/lib/libcuda.so.1 #4 0x00007fffef29412e in ?? () from /usr/lib/libcuda.so.1 #5 0x00007fffef33eb98 in ?? () from /usr/lib/libcuda.so.1 #6 0x00007fffef33f3b0 in ?? () from /usr/lib/libcuda.so.1 #7 0x00007fffef350f33 in ?? () from /usr/lib/libcuda.so.1 #8 0x00007fffef351cc3 in ?? () from /usr/lib/libcuda.so.1 #9 0x00007fffef34996c in ?? () from /usr/lib/libcuda.so.1 #10 0x0000000000403cb0 in test_opencl_codelet (buffers=0x7efc28, cl_arg=0x7fffffffe5f0) at test_starpu.c:140 #11 0x00007ffff7ba98bf in _starpu_opencl_execute_job (arg=0x7ffff7dbf220) at drivers/opencl/driver_opencl.c:554 #12 _starpu_opencl_worker (arg=0x7ffff7dbf220) at drivers/opencl/driver_opencl.c:457 #13 0x00007fffedbe7d8c in start_thread (arg=0x7fffe9744700) at pthread_create.c:304 #14 0x00007fffee2fe04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #15 0x0000000000000000 in ?? () Like for e.g. At one point it executed just fine console output log shown as below: 1] Loaded 'LFI.png', [230 x 230] x 3Ch 16Bits Executing on CPU 0 Executing on CPU 0 Executing on CPU 0 2] Loaded 'LFI.png', [230 x 230] x 3Ch 16Bits Executing on OpenCL 0 (GeForce GTX 470) Segmentation fault 3] Loaded 'LFI.png', [230 x 230] x 3Ch 16Bits Executing on CPU 0 Executing on OpenCL 0 (GeForce GTX 470) Executing on OpenCL 0 (GeForce GTX 470) Segmentation fault 4] Loaded 'LFI.png', [230 x 230] x 3Ch 16Bits Executing on CPU 0 Executing on OpenCL 0 (GeForce GTX 470) Executing on CPU 0 Writing LFI_test.png [230 x 230] x 3Ch 16Bits This did not crash strangely. 5] Loaded 'LFI.png', [230 x 230] x 3Ch 16Bits Executing on CPU 0 Executing on OpenCL 0 (GeForce GTX 470) Executing on OpenCL 0 (GeForce GTX 470) Writing LFI_test.png [230 x 230] x 3Ch 16Bits This did not crash strangely. Whenever it runs, the output image generated(its a image processing algorithm) is ok with main features present as they should be but with some bad background colors artifacts in the image. Coud it be Some kind of Heisenbug at play related to Multitple thread/tasks race condition or so? What next should be my course? On Tue, Nov 29, 2011 at 12:41 PM, Samuel
Thibault <samuel.thibault@ens-lyon.org>
wrote:
ASUDE ASUDE, le Tue 29 Nov 2011 12:25:28 +0000, a écrit : > After adding in code .where =
STARPU_OPENCL | STARPU_CPU
Yes.> and configuring with --disable-cuda --enable-opencl, make and executing I get > error: > Executing on OpenCL 0 (GeForce GTX 470) > Segmentation fault > > So it seems its task is getting scheduled to OpenCL device of GPU, but crashing > for some other reason. > Would you suspect that my NVIDIA driver or something related to GPU card could > be having problem? > Where would you point I start debugging to resolve this? fault is. Samuel _______________________________________________ Starpu-devel mailing list Starpu-devel@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/starpu-devel |
- Re: [Starpu-devel] Error - No worker may execute this task, (suite)
- Message indisponible
- Re: [Starpu-devel] Error - No worker may execute this task, Samuel Thibault, 28/11/2011
- Re: [Starpu-devel] Error - No worker may execute this task, ASUDE ASUDE, 28/11/2011
- Re: [Starpu-devel] Error - No worker may execute this task, Samuel Thibault, 28/11/2011
- Re: [Starpu-devel] Error - No worker may execute this task, ASUDE ASUDE, 29/11/2011
- Re: [Starpu-devel] Error - No worker may execute this task, Samuel Thibault, 29/11/2011
- Re: [Starpu-devel] Error - No worker may execute this task, ASUDE ASUDE, 29/11/2011
- Re: [Starpu-devel] Error - No worker may execute this task, Samuel Thibault, 29/11/2011
- Re: [Starpu-devel] Error - No worker may execute this task, ASUDE ASUDE, 29/11/2011
- Re: [Starpu-devel] Error - No worker may execute this task, Samuel Thibault, 29/11/2011
- Re: [Starpu-devel] Error - No worker may execute this task, ASUDE ASUDE, 29/11/2011
- Re: [Starpu-devel] Error - No worker may execute this task, Nathalie Furmento, 29/11/2011
- Re: [Starpu-devel] Error - No worker may execute this task, ASUDE ASUDE, 29/11/2011
- Message indisponible
- Re: [Starpu-devel] Error - No worker may execute this task, Samuel Thibault, 29/11/2011
- Re: [Starpu-devel] Error - No worker may execute this task, Sylvain HENRY, 29/11/2011
- Re: [Starpu-devel] Error - No worker may execute this task, Samuel Thibault, 28/11/2011
- Re: [Starpu-devel] Error - No worker may execute this task, ASUDE ASUDE, 28/11/2011
- Re: [Starpu-devel] Error - No worker may execute this task, Samuel Thibault, 28/11/2011
- Message indisponible
Archives gérées par MHonArc 2.6.19+.