Objet : Developers list for StarPU
Archives de la liste
- From: "11610515" <11610515@mail.sustech.edu.cn>
- To: "samuel.thibault" <samuel.thibault@labri.fr>
- Cc: starpu-devel <starpu-devel@lists.gforge.inria.fr>
- Subject: [Starpu-devel] Issues met during installing and configuration of StarPU
- Date: Tue, 12 Mar 2019 17:32:23 +0800
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=11610515@mail.sustech.edu.cn; spf=Pass smtp.mailfrom=11610515@mail.sustech.edu.cn; spf=Pass smtp.helo=postmaster@smtpbg356.qq.com
- Feedback-id: bizmailsvip:mail.sustech.edu.cn:qybgweb:qybgweb23
- Ironport-phdr: 9a23:SggiqxTekDulBvss1dJeUxMq6Npsv+yvbD5Q0YIujvd0So/mwa6yZx2N2/xhgRfzUJnB7Loc0qyK6vimATVIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfK9+IA+qoQnMq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4KB3RhHolioLLic1/X/Qisx2kKJUvhShpwBhzY/UeIGaKuRydb7Zcd4UWWZNW8BcXDFDDIyhdYsCF+sBM+ZGoYfgqFQBsRSwCwe2Cu3szTFFnXr2068g3uk7CwzKwA4tEtQTu3rUttX1M6ISXPi7wKXV0DnObu5a1Sv95YTVch0tr+yHULVtfcbMyEQjCh/Jg1WNpYHlJD6V0/4Cs2mf7+Z6TuKvlnUnqx1vrTezxscgkJfGiZ8Iylze6Sp5xp84KNulQ0B4ed6pCIVcuz+GO4dsXM8vTGVltDwkxrAJuZO3ZjUGxZs/yxLCdvCKcpKE7xD5WOqPLjp0nnxodbSijBio60eg0PfzVsys3VZKsCVFlt7Mu2gW1xzW9siHUuBy/kiv1DuP1g3f8PhEIVkumaXHLJ4hx6Y8lpsVsUvdAi/7gFv6gLGKekk+5OSl5ODqbq/4qpKTN4J4kBzyP6s2lsy6G+s4MwwOX2aB+eS70b3u5VD1TKhLg/ErjqXUsI3WKMQAq668GQBV04Ij5wykDze7y9QYgWcII05FeB6dkYfmJkzOLOrkAve5m1isiitkx+jaPr39BZXANmPDkKv7crZn805c1RM/ws1B6JJKFL4BJOn+WkvwtNzDEh85KBa4w+npCNV6zIMeVnyADrWYMKPUq1+I5/ggL/OCZI8P637BLK1v/PfrkHI930MdfKOgwJ8LIjjsBf1jPkidJ2bsg90IDGMWlg43RvbrzlOYB219fXG3Cuhlv29iUN//UM2LEtn03uXZgX7mNphfZ2QAEU2XDXrjd8OJV+pKYyTEcZwpqSANSbX0E9xp7hqprgKvkOI+f7jkvxYAvJem7+BboujalBU87ztxVZ3P1miMSydvg3gUSjQ2mq1zvAp2zAXaiPQqs7ljDdVWoshxfEIiL5eGlr5/AtH2HBncZcuEQ1bgT9m7Rzo3HIpono0+Jn1lEtDntSjtmiqnB7hMx+6QAYAs+K2Hgia3Pt87wHHDhvAs
- 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>
Dear Professor Thibault and Starpu Team:
Thanks for your reply and kind instruction. And I'm going to describe the problems in detail in the following. The config.log file is included in the attachment.
1.We can compile and run most of the code under "basic_example" following the document with command:
$ gcc mult.c `pkg-config starpu-1.2 --cflags` `pkg-config starpu-1.2 --libs` -lm
With warnings in runtime:
[starpu][initialize_eager_center_policy] Warning: you are running the default eager scheduler, which is not a very smart scheduler. Make sure to read the StarPU documentation about adding performance models in order to be able to use the dmda or dmdas scheduler instead.
Which we think is normal since we haven't done anything to the scheduler.
2.We met compile errors when compiling some of the examples under "basic_example" with
$ gcc vector_scal.c `pkg-config starpu-1.2 --cflags` `pkg-config starpu-1.2 --libs` -lm
/tmp/ccTzBv7f.o:(.data+0xf0): undefined reference to `scal_cpu_func'
/tmp/ccTzBv7f.o:(.data+0xf8): undefined reference to `scal_sse_func'
/tmp/ccTzBv7f.o:(.data+0x110): undefined reference to `scal_cuda_func'
collect2: error: ld returned 1 exit status
/tmp/ccTzBv7f.o:(.data+0xf8): undefined reference to `scal_sse_func'
/tmp/ccTzBv7f.o:(.data+0x110): undefined reference to `scal_cuda_func'
collect2: error: ld returned 1 exit status
We used nm command under the lib and found out that these functions were not implemented:
# undergrats @ sustc_lab_1009 in ~/tools/starpu_cuda/lib [22:11:06]
$ nm *.so | grep "scal_cpu_func"
$ nm *.so | grep "scal_cpu_func"
# undergrats @ sustc_lab_1009 in ~/tools/starpu_cuda/lib [22:11:38] C:1
$ nm *.so | grep "scal_sse_func"
$ nm *.so | grep "scal_sse_func"
# undergrats @ sustc_lab_1009 in ~/tools/starpu_cuda/lib [22:11:46] C:1
$ nm *.so | grep "scal_cuda_func"
$ nm *.so | grep "scal_cuda_func"
3.Most of the pre-compiled binary file including vector_scal can be executed and ran smoothly, so did other example binary files:
# undergrats @ sustc_lab_1009 in ~/tools/starpu_cuda/lib/starpu/examples [22:13:02]
$ ls
(binary files....)
# undergrats @ sustc_lab_1009 in ~/tools/starpu_cuda/lib/starpu/examples [22:13:03]
$ ./vector_scal
[starpu][initialize_eager_center_policy] Warning: you are running the default eager scheduler, which is not a very smart scheduler. Make sure to read the StarPU documentation about adding performance models in order to be able to use the dmda or dmdas scheduler instead.
[BEFORE] 1-th element : 2.00
[BEFORE] (NX-1)th element: 204800.00
[AFTER] 1-th element : 6.28 (should be 6.28)
[AFTER] (NX-1)-th element: 643072.00 (should be 643072.00)
[AFTER] Computation is correct
$ ./vector_scal
[starpu][initialize_eager_center_policy] Warning: you are running the default eager scheduler, which is not a very smart scheduler. Make sure to read the StarPU documentation about adding performance models in order to be able to use the dmda or dmdas scheduler instead.
[BEFORE] 1-th element : 2.00
[BEFORE] (NX-1)th element: 204800.00
[AFTER] 1-th element : 6.28 (should be 6.28)
[AFTER] (NX-1)-th element: 643072.00 (should be 643072.00)
[AFTER] Computation is correct
But others executed with problems
$ ./hello_world_top
[starpu][initialize_eager_center_policy] Warning: you are running the default eager scheduler, which is not a very smart scheduler. Make sure to read the StarPU documentation about adding performance models in order to be able to use the dmda or dmdas scheduler instead.
../../src/top/starpu_top.c:160 launching network threads
../../src/top/starpu_top_connection.c:120 Connection to UI initialization
^C (The program stuck at this stage)
[starpu][initialize_eager_center_policy] Warning: you are running the default eager scheduler, which is not a very smart scheduler. Make sure to read the StarPU documentation about adding performance models in order to be able to use the dmda or dmdas scheduler instead.
../../src/top/starpu_top.c:160 launching network threads
../../src/top/starpu_top_connection.c:120 Connection to UI initialization
^C (The program stuck at this stage)
$ ./pi
[starpu][initialize_eager_center_policy] Warning: you are running the default eager scheduler, which is not a very smart scheduler. Make sure to read the StarPU documentation about adding performance models in order to be able to use the dmda or dmdas scheduler instead.
[1] 34191 segmentation fault (core dumped) ./pi
[starpu][initialize_eager_center_policy] Warning: you are running the default eager scheduler, which is not a very smart scheduler. Make sure to read the StarPU documentation about adding performance models in order to be able to use the dmda or dmdas scheduler instead.
[1] 34191 segmentation fault (core dumped) ./pi
$ ./yuv_downscaler
yuv_downscaler: ../../examples/ppm_downscaler/yuv_downscaler.c:129: main: Assertion `(filesize % sizeof(struct yuv_frame)) == 0' failed.
[1] 34672 abort (core dumped) ./yuv_downscaler
yuv_downscaler: ../../examples/ppm_downscaler/yuv_downscaler.c:129: main: Assertion `(filesize % sizeof(struct yuv_frame)) == 0' failed.
[1] 34672 abort (core dumped) ./yuv_downscaler
$ ./tasks_size_overhead.gp
./tasks_size_overhead.gp: 21: ./tasks_size_overhead.gp: cannot open tasks_size_overhead.output: No such file
./tasks_size_overhead.gp: 21: ./tasks_size_overhead.gp: cannot open tasks_size_overhead.output: No such file
gnuplot> plot x title "linear", "tasks_size_overhead.output" using 1:()/($23) with linespoints title columnheader(22), "tasks_size_overhead.output" using 1:()/($21) with linespoints title columnheader(20), "tasks_size_overhead.output" using 1:()/($19) with linespoints title columnheader(18), "tasks_size_overhead.output" using 1:()/($17) with linespoints title columnheader(16), "tasks_size_overhead.output" using 1:()/($15) with linespoints title columnheader(14), "tasks_size_overhead.output" using 1:()/($13) with linespoints title columnheader(12), "tasks_size_overhead.output" using 1:()/($11) with linespoints title columnheader(10), "tasks_size_overhead.output" using 1:()/($9) with linespoints title columnheader(8), "tasks_size_overhead.output" using 1:()/($7) with linespoints title columnheader(6), "tasks_size_overhead.output" using 1:()/($5) with linespoints title columnheader(4), "tasks_size_overhead.output" using 1:()/($3) with linespoints title columnheader(2)
^
line 0: invalid _expression_
^
line 0: invalid _expression_
I think this one is related to gnuplot and may have less connection with our starpu problem, but for the integrality of the report I put in on.
We ran these programs on the same device with ubuntu 16.04 LTS, Cuda V9.0.176, 8* Nvidia GTX 1080 Ti GPUs, 4* Intel Xeon E5-2640 v4 CPUs and we did not install OpenCL. The Starpu version is 1.2.8 and was installed from source.
Attachment:
config.log
Description: Binary data
- [Starpu-devel] Issues met during installing and configuration of StarPU, 11610515, 12/03/2019
- Re: [Starpu-devel] Issues met during installing and configuration of StarPU, Samuel Thibault, 12/03/2019
Archives gérées par MHonArc 2.6.19+.