Objet : Developers list for StarPU
Archives de la liste
- From: Pei LI <pei.li@telecom-sudparis.eu>
- To: Nathalie Furmento <nathalie.furmento@labri.fr>
- Cc: starpu-devel@lists.gforge.inria.fr, Elisabeth Brunet <elisabeth.brunet@telecom-sudparis.eu>
- Subject: Re: [Starpu-devel] Problème sur SOCL
- Date: Tue, 11 Jun 2013 16:58:23 +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>
Voilà
make -C socl/examples check >check.txt
../../tests/loader.c: In function ‘test_cleaner’:
../../tests/loader.c:115:30: warning: unused parameter ‘sig’ [-Wunused-parameter]
../../tests/loader.c: In function ‘main’:
../../tests/loader.c:152:14: warning: unused parameter ‘argc’ [-Wunused-parameter]
make[2]: *** [test-suite.log] Error 1
make[1]: *** [check-TESTS] Error 2
make: *** [check-am] Error 2
And the results are saved in check.txt and showcheck.txt
Regards
Pei
On 06/11/2013 04:48 PM, Nathalie Furmento wrote:
Can you call the commands
make -C socl/examples check
make -C socl/examples showcheck
and send us the output of both.
Thanks,
Nathalie
On 11/06/2013 16:45, Pei LI wrote:
Ok, I understand. Unluckily i didn't find the SOCL among OpenCL platforms.
By the way, i installed StarPU on my Laptop Dell( CPU: intel i3).
And the configuration result of StarPU are listed below:
it says "SOCL enabled", i don't know why i still can't find SOCL.
Does anyone can help me?
CPUs enabled: yes
CUDA enabled: no
OpenCL enabled: yes
SCC enabled: no
MIC enabled: no
Compile-time limits
(change these with --enable-maxcpus, --enable-maxcudadev,
--enable-maxopencldev, --enable-maxbuffers)
Maximum number of CPUs: 64
Maximum number of CUDA devices: 4
Maximum number of OpenCL devices: 8
Maximum number of memory nodes: 16
Maximum number of task buffers: 8
GPU-GPU transfers: no
Allocation cache: yes
Magma enabled: no
BLAS library: none
hwloc: yes
FxT trace enabled: no
StarPU-Top: yes
Documentation: yes
Examples: yes
StarPU Extensions:
MPI enabled: yes
MPI test suite: yes
FFT Support: no
GCC plug-in: yes
GCC plug-in test suite (requires GNU Guile): yes
SOCL enabled: yes
SOCL test suite: yes
Scheduler Hypervisor: no
simgrid enabled: no
ayudame enabled: no
Regards
Pei
On 06/11/2013 02:53 PM, Sylvain HENRY wrote:
No you don't have to include anything else than standard OpenCL headers.
Try to compile and to run the attached source with:
gcc -o clinfo -lOpenCL clinfo.c && ./clinfo
It will show you the detected OpenCL platforms. If SOCL is not among them, you have a problem in your configuration (ICD, etc.).
Regards
Sylvain
Le 11/06/2013 14:33, Pei LI a écrit :
Thanks for your reply. I still some questions.
i found that the examples in
svn://scm.gforge.inria.fr/svn/starpu/trunk/socl/examples
are standard OpenCL programs.
In order to use SOCL, should I add something such as " include "socl.h" " in .c program?
Regards,
Pei
On 06/10/2013 03:51 PM, Nathalie Furmento wrote:
SOCL is an OpenCL implementation, you can therefore use any OpenCL application to test it.
Examples are provided in the StarPU subversion repository. You can find at
svn://scm.gforge.inria.fr/svn/starpu/trunk/socl/examples
such applications along with a Makefile to compile them (you can use it directly if you compile StarPU from the svn repository, or you can adapt it to create a new Makefile).
Regards,
Nathalie
On Jun 10, 14:17, Pei LI wrote:
Bonjour,
Pourriez vous m'envoyer un exemple de SOCL avec Makefile?
Puis je peux faire des testes sur ma machine.
Merci en avance
Cordialement
Pei
On 06/07/2013 11:34 AM, Sylvain HENRY wrote:
Bonjour,
Désormais SOCL est intégré dans la distribution de StarPU [1]. Je
vais supprimer l'ancien dépôt SOCL [2] car il n'est plus utilisé.
SOCL est installé par défaut avec StarPU et supporte l'extension
Installable Client Driver (ICD) : pour l'utiliser il suffit de
créer un fichier "/etc/OpenCL/vendors/socl.icd" contenant le
chemin vers "libsocl-1.2.so".
Il existe pour l'instant très peu de documentation sur SOCL. Brièvement :
- il faut choisir la plate-forme "SOCL" retournée par
clGetPlatformIDs, elle contient tous les devices des autres
plate-formes ;
- il est possible de créer des command queues sans spécifier de
device en passant NULL comme deuxième paramètre de
clCreateCommandQueue. Dans ce cas les commandes sont
automatiquement ordonnancées sur les devices du contexte associé à
la command queue.
Je vais essayer de mettre à jour la documentation [3] dès que
possible. En attendant si vous avez des questions, n'hésitez pas à
les poser sur la mailing-list StarPU
starpu-devel@lists.gforge.inria.fr (en anglais).
Cordialement
Sylvain
[1] https://gforge.inria.fr/projects/starpu/
[2] https://gforge.inria.fr/projects/socl/
[3] http://runtime.bordeaux.inria.fr/StarPU/starpu.html#SOCL-OpenCL-Extensions
Le 07/06/2013 10:48, Pei LI a écrit :
Bonjour à tous,
J'ai eu des problèmes quand j'installais SOCL.
Après exécuter "./waf configure", il affiche:
Checking for header malloc.h : not found
Checking for header time.h : not found
Checking for library OpenCL : not found
Mais, en fait "malloc.h" et "time.h" sont installés
automatiquement dans /usr/include/
J'ai aussi installé OpenCL. Pourquoi il affiche cettes info?
Pourriez-vous m'envoyer des documents ou manuals sur SOCL?
Merci en avance
Cordialement
Pei
_______________________________________________
Starpu-devel mailing list
Starpu-devel@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/starpu-devel
_______________________________________________
Starpu-devel mailing list
Starpu-devel@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/starpu-devel
_______________________________________________
Starpu-devel mailing list
Starpu-devel@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/starpu-devel
make: Entering directory `/home/li/Library/starpuSVN/trunk/socl/examples'
make loader basic/basic testmap/testmap clinfo/clinfo matmul/matmul
mansched/mansched
make[1]: Entering directory `/home/li/Library/starpuSVN/trunk/socl/examples'
CC loader-loader.o
CCLD loader
make[1]: `basic/basic' is up to date.
make[1]: `testmap/testmap' is up to date.
make[1]: `clinfo/clinfo' is up to date.
make[1]: `matmul/matmul' is up to date.
make[1]: `mansched/mansched' is up to date.
make[1]: Leaving directory `/home/li/Library/starpuSVN/trunk/socl/examples'
make check-TESTS
make[1]: Entering directory `/home/li/Library/starpuSVN/trunk/socl/examples'
make[2]: Entering directory `/home/li/Library/starpuSVN/trunk/socl/examples'
SKIP: basic/basic
FAIL: testmap/testmap
PASS: clinfo/clinfo
FAIL: matmul/matmul
FAIL: mansched/mansched
===================================================
3 of 4 tests failed
(1 test was not run)
See socl/examples/test-suite.log
Please report to starpu-devel@lists.gforge.inria.fr
===================================================
make[2]: Leaving directory `/home/li/Library/starpuSVN/trunk/socl/examples'
make[1]: Leaving directory `/home/li/Library/starpuSVN/trunk/socl/examples'
make: Leaving directory `/home/li/Library/starpuSVN/trunk/socl/examples'
make: Entering directory `/home/li/Library/starpuSVN/trunk/socl/examples'
cat basic/basic.log testmap/testmap.log clinfo/clinfo.log matmul/matmul.log
mansched/mansched.log /dev/null
SKIP: basic/basic (exit: 77)
============================
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
Querying platform...
Querying devices...
No OpenCL device found
#Execution_time_in_seconds 0.054122 ./basic/basic
FAIL: testmap/testmap (exit: 1)
===============================
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
/usr/bin/ld: cannot open output file
/home/li/Library/starpuSVN/trunk/socl/examples/testmap/.libs/7604-lt-testmap:
Permission denied
collect2: ld returned 1 exit statusnERROR: ld.so: object '/usr/lib/' from
LD_PRELOAD cannot be preloaded: ignored.
#Execution_time_in_seconds 0.044170 ./testmap/testmap
`./testmap/testmap' exited with return code 1
PASS: clinfo/clinfo (exit: 0)
=============================
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
Number of platforms: 2
Plaform Profile: FULL_PROFILE
Plaform Version: OpenCL 1.0 SOCL Edition
(0.1.0)
Plaform Name: SOCL Platform
Plaform Vendor: INRIA
Plaform Extensions: cl_khr_icd
Plaform Profile: FULL_PROFILE
Plaform Version: OpenCL 1.1 LINUX
Plaform Name: Intel(R) OpenCL
Plaform Vendor: Intel(R) Corporation
Plaform Extensions: cl_khr_fp64 cl_khr_icd
cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics
cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics
cl_khr_byte_addressable_store cl_intel_printf cl_ext_device_fission
cl_intel_exec_by_local_thread
Plaform Name: SOCL Platform
No devices found
Plaform Name: Intel(R) OpenCL
Number of devices: 1
DEVICE 0
Device Type: CL_DEVICE_TYPE_CPU
Device ID: 32902
Max compute units: 4
Max work item dimensions: 3
Max work item dimensions: 3
Max work items: (1024,1024,1024)
Max work group size: 1024
Preferred vector width char: 16
Preferred vector width short: 8
Preferred vector width int: 4
Preferred vector width long: 2
Preferred vector width float: 4
Preferred vector width double: 2
Max clock frequency: 2300MHz
Address bits: 64bits
Max memory allocation: 2063343616 bytes
Image support: Yes
Max size of kernel argument: 3840
Alignment of base addres: 1024 bits
Minimum alignment for any datatype: 128 bytes
Single precision floating point capability
Denorms: Yes
Quiet NaNs: No
Round to nearest even: No
Round to zero: No
Round to +ve and infinity: No
IEEE754-2008 fused multiply-add: No
Cache type: Read/Write
Cache line size: 64 bytes
Cache size: 262144 bytes
Global memory size: 8253374464 bytes
Constant buffer size: 131072 bytes
Max number of constant args: 480
Local memory type: Global
Local memory size: 32768 bytes
Profiling timer resolution: 1
Device endianess: Little
Available: Yes
Compiler available: Yes
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native kernels: No
Queue properties:
Out-of-Order: Yes
Profiling: No
Name: Intel(R) Core(TM)
i3-2350M CPU @ 2.30GHz
Vendor: Intel(R) Corporation
Driver version: 1.1
Profile: FULL_PROFILE
Version: OpenCL 1.1 (Build
31360.31426)
Extensions: cl_khr_fp64 cl_khr_icd
cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics
cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics
cl_khr_byte_addressable_store cl_intel_printf cl_ext_device_fission
cl_intel_exec_by_local_thread
#Execution_time_in_seconds 0.053374 ./clinfo/clinfo
FAIL: matmul/matmul (exit: 1)
=============================
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
/usr/bin/ld: cannot open output file
/home/li/Library/starpuSVN/trunk/socl/examples/matmul/.libs/7691-lt-matmul:
Permission denied
collect2: ld returned 1 exit statusnERROR: ld.so: object '/usr/lib/' from
LD_PRELOAD cannot be preloaded: ignored.
#Execution_time_in_seconds 0.045041 ./matmul/matmul
`./matmul/matmul' exited with return code 1
FAIL: mansched/mansched (exit: 1)
=================================
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/' from LD_PRELOAD cannot be preloaded: ignored.
/usr/bin/ld: cannot open output file
/home/li/Library/starpuSVN/trunk/socl/examples/mansched/.libs/7736-lt-mansched:
Permission denied
collect2: ld returned 1 exit statusnERROR: ld.so: object '/usr/lib/' from
LD_PRELOAD cannot be preloaded: ignored.
#Execution_time_in_seconds 0.042982 ./mansched/mansched
`./mansched/mansched' exited with return code 1
make: Leaving directory `/home/li/Library/starpuSVN/trunk/socl/examples'
- Re: [Starpu-devel] Problème sur SOCL, Pei LI, 10/06/2013
- Re: [Starpu-devel] Problème sur SOCL, Nathalie Furmento, 10/06/2013
- Re: [Starpu-devel] Problème sur SOCL, Pei LI, 11/06/2013
- Re: [Starpu-devel] Problème sur SOCL, Sylvain HENRY, 11/06/2013
- Re: [Starpu-devel] Problème sur SOCL, Pei LI, 11/06/2013
- Re: [Starpu-devel] Problème sur SOCL, Nathalie Furmento, 11/06/2013
- Re: [Starpu-devel] Problème sur SOCL, Pei LI, 11/06/2013
- Re: [Starpu-devel] Problème sur SOCL, Sylvain HENRY, 11/06/2013
- Re: [Starpu-devel] Problème sur SOCL, Nathalie Furmento, 11/06/2013
- Re: [Starpu-devel] Problème sur SOCL, Pei LI, 11/06/2013
- Re: [Starpu-devel] Problème sur SOCL, Sylvain HENRY, 11/06/2013
- Re: [Starpu-devel] Problème sur SOCL, Pei LI, 11/06/2013
- Re: [Starpu-devel] Problème sur SOCL, Nathalie Furmento, 10/06/2013
Archives gérées par MHonArc 2.6.19+.