Accéder au contenu.
Menu Sympa

starpu-devel - [Starpu-devel] Termination of strassen with opencl

Objet : Developers list for StarPU

Archives de la liste

[Starpu-devel] Termination of strassen with opencl


Chronologique Discussions 
  • From: Nathalie Furmento <nathalie.furmento@labri.fr>
  • To: starpu-devel@lists.gforge.inria.fr
  • Subject: [Starpu-devel] Termination of strassen with opencl
  • Date: Mon, 26 Apr 2010 17:29:42 +0200
  • 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>

Hi Starpu-devel!

I am having problems witg the strassen application. I am running it from the opencl branch compiled with the default configuration (i.e i ran configure without any options). Even though the application is not using OpenCL -- none of the codelets is provided with an OpenCL implementation -- the application hangs when started with STARPU_NOPENCL != 0.

(It works fine with STARPU_NCUDA=1 STARPU_NOPENCL=1).

Below the backtrace of all the threads. From what i see, the application is waiting for a task termination, and the driver threads are waiting for some job.

Thanks,

Nathalie

**************************************************************************************************************************************

$ STARPU_NCUDA=0 STARPU_NOPENCL=1 libtool --mode=execute gdb ./examples/strassen2/strassen
GNU gdb (GDB) 7.0-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /net/home/nfurmento/work/starpu/build.opencl/examples/strassen2/.libs/lt-strassen...done.
(gdb) r
Starting program: /net/home/nfurmento/work/starpu/build.opencl/examples/strassen2/.libs/lt-strassen
[Thread debugging using libthread_db enabled]
(Predicted) Memory consumption: 444 MB
[New Thread 0x7fffed0ea910 (LWP 5213)]
[New Thread 0x7fffec8e9910 (LWP 5214)]
[New Thread 0x7fffec0e8910 (LWP 5215)]
[New Thread 0x7fffeb8e7910 (LWP 5216)]
[New Thread 0x7fffeb0e6910 (LWP 5217)]
[New Thread 0x7fffea8e5910 (LWP 5218)]
[New Thread 0x7fffea0e4910 (LWP 5219)]
[New Thread 0x7fffe98e3910 (LWP 5220)]
[New Thread 0x7fffe8fe2910 (LWP 5221)]
Using 443 MB of memory
submitting task start
submitting task end
waiting for termination
^C
Program received signal SIGINT, Interrupt.
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
261 ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such file or directory.
in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
Current language: auto
The current source language is "auto; currently asm".
(gdb) thread apply all bt

Thread 10 (Thread 0x7fffe8fe2910 (LWP 5221)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1 0x00007ffff7bc033f in _starpu_cpu_worker (arg=<value optimized out>) at ../../branches/opencl/src/drivers/cpu/driver_cpu.c:166
#2 0x00007ffff215b73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff1ecc69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fffe98e3910 (LWP 5220)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1 0x00007ffff7bc033f in _starpu_cpu_worker (arg=<value optimized out>) at ../../branches/opencl/src/drivers/cpu/driver_cpu.c:166
#2 0x00007ffff215b73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff1ecc69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fffea0e4910 (LWP 5219)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1 0x00007ffff7bc033f in _starpu_cpu_worker (arg=<value optimized out>) at ../../branches/opencl/src/drivers/cpu/driver_cpu.c:166
#2 0x00007ffff215b73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff1ecc69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fffea8e5910 (LWP 5218)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1 0x00007ffff7bc033f in _starpu_cpu_worker (arg=<value optimized out>) at ../../branches/opencl/src/drivers/cpu/driver_cpu.c:166
#2 0x00007ffff215b73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff1ecc69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fffeb0e6910 (LWP 5217)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1 0x00007ffff7bc033f in _starpu_cpu_worker (arg=<value optimized out>) at ../../branches/opencl/src/drivers/cpu/driver_cpu.c:166
#2 0x00007ffff215b73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff1ecc69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fffeb8e7910 (LWP 5216)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1 0x00007ffff7bc033f in _starpu_cpu_worker (arg=<value optimized out>) at ../../branches/opencl/src/drivers/cpu/driver_cpu.c:166
#2 0x00007ffff215b73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff1ecc69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fffec0e8910 (LWP 5215)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1 0x00007ffff7bc033f in _starpu_cpu_worker (arg=<value optimized out>) at ../../branches/opencl/src/drivers/cpu/driver_cpu.c:166
#2 0x00007ffff215b73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff1ecc69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fffec8e9910 (LWP 5214)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1 0x00007ffff7bc033f in _starpu_cpu_worker (arg=<value optimized out>) at ../../branches/opencl/src/drivers/cpu/driver_cpu.c:166
#2 0x00007ffff215b73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff1ecc69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fffed0ea910 (LWP 5213)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1 0x00007ffff7bc291d in _starpu_opencl_worker (arg=<value optimized out>) at ../../branches/opencl/src/drivers/opencl/driver_opencl.c:259
#2 0x00007ffff215b73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff1ecc69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
---Type <return> to continue, or q <return> to quit---
#4 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7ed9720 (LWP 5210)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1 0x00007ffff7b9cf3b in _starpu_wait_job (j=0x19fcdf0) at ../../branches/opencl/src/core/jobs.c:92
#2 0x00007ffff7b9d765 in starpu_submit_task (task=0x19fcca0) at ../../branches/opencl/src/core/task.c:215
#3 0x00000000004048ae in main (argc=<value optimized out>, argv=<value optimized out>) at ../../branches/opencl/examples/strassen2/strassen2.c:848
(gdb)
(gdb)





  • [Starpu-devel] Termination of strassen with opencl, Nathalie Furmento, 26/04/2010

Archives gérées par MHonArc 2.6.19+.

Haut de le page