Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
developpement:activites:integration:xeonphi4wheezy [2014/04/24 08:32]
equemene [Des débuts difficiles pour une prise en main impossible]
developpement:activites:integration:xeonphi4wheezy [2015/01/07 10:04] (Version actuelle)
Ligne 221: Ligne 221:
 </​code>​ </​code>​
  
-Lancement avec la commande suivante : ''​micctrl --initdefaults''​ dont la sortie est la suivante ​+Lancement avec la commande suivante : ''​micctrl ​\-\-initdefaults''​ dont la sortie est la suivante ​
 <​code>​ <​code>​
 [Warning] mic0: Generating compat network config file.  This will be removed in the 3.2 release [Warning] mic0: Generating compat network config file.  This will be removed in the 3.2 release
Ligne 287: Ligne 287:
 Vérification du nombre de processeurs avec ''​cat /​proc/​cpuinfo | grep ^processor | wc -l''​ lequel donne ''​244''​. Vérification du nombre de processeurs avec ''​cat /​proc/​cpuinfo | grep ^processor | wc -l''​ lequel donne ''​244''​.
  
-==== Installation du copmosant ​OpenCL ====+==== Installation du composant ​OpenCL ====
  
-Installation des composants OpenCL standards+=== Installation des composants OpenCL standards ​===
  
 +<​code>​
 apt-get install amd-clinfo amd-libopencl1 amd-opencl-icd apt-get install amd-clinfo amd-libopencl1 amd-opencl-icd
 +</​code>​
  
-Vérification du fonctionnement de OpenCL avec clinfo+=== Vérification du fonctionnement de OpenCL avec clinfo ​===
  
 +<​code>​
 Number of platforms: ​                1 Number of platforms: ​                1
   Platform Profile: ​                ​FULL_PROFILE   Platform Profile: ​                ​FULL_PROFILE
Ligne 376: Ligne 379:
   Version: ​                    ​OpenCL 1.2 AMD-APP (938.2)   Version: ​                    ​OpenCL 1.2 AMD-APP (938.2)
   Extensions: ​                    ​cl_khr_fp64 cl_amd_fp64 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_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_popcnt ​   Extensions: ​                    ​cl_khr_fp64 cl_amd_fp64 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_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_popcnt ​
 +</​code>​
  
 Seuls les processeurs CPU sont détectés Seuls les processeurs CPU sont détectés
  
-Installation des composants Python OpenCL+=== Installation des composants Python OpenCL ​===
  
 +<​code>​
 python-pyopencl python-pyopencl-doc python-pyopencl python-pyopencl-doc
 +</​code>​
  
-Vérification du fonctionnement+=== Vérification du fonctionnement ​===
  
 +<​code>​
  ​python /​usr/​share/​doc/​python-pyopencl-doc/​examples/​benchmark-all.py ​  ​python /​usr/​share/​doc/​python-pyopencl-doc/​examples/​benchmark-all.py ​
 +</​code>​
 +
 +<​code>​
 ('​Execution time of test without OpenCL: ', 7.673499822616577,​ '​s'​) ('​Execution time of test without OpenCL: ', 7.673499822616577,​ '​s'​)
 =============================================================== ===============================================================
Ligne 416: Ligne 426:
 Execution time of test: 0.000632971 s Execution time of test: 0.000632971 s
 Results OK Results OK
 +</​code>​
  
-#2 Updated by Emmanuel Quemener 2 months ago +Intel publie ses [[http://​software.intel.com/​en-us/​vcsource/​tools/​opencl-sdk-xe|versions de OpenCL]].
- +
-    Status changed from New to Closed +
- +
-Comment Edit +
- +
-Intel publie ses versions de OpenCL sur http://​software.intel.com/​en-us/​vcsource/​tools/​opencl-sdk-xe+
  
 La dernière version est la 3.2.1.16712 La dernière version est la 3.2.1.16712
  
-Récupération de la dernière version :+==== Récupération de la dernière version : ====
  
 +<​code>​
 cd /root cd /root
 wget http://​registrationcenter.intel.com/​irc_nas/​3809/​intel_sdk_for_ocl_applications_xe_2013_r3_sdk_3.2.1.16712_x64.tgz wget http://​registrationcenter.intel.com/​irc_nas/​3809/​intel_sdk_for_ocl_applications_xe_2013_r3_sdk_3.2.1.16712_x64.tgz
Ligne 434: Ligne 440:
 tar xzf intel_sdk_for_ocl_applications_xe_2013_r3_sdk_3.2.1.16712_x64.tgz tar xzf intel_sdk_for_ocl_applications_xe_2013_r3_sdk_3.2.1.16712_x64.tgz
 cd /​root/​intel_sdk_for_ocl_applications_xe_2013_r3_sdk_3.2.1.16712_x64 cd /​root/​intel_sdk_for_ocl_applications_xe_2013_r3_sdk_3.2.1.16712_x64
 +</​code>​
  
-Conversion des RPM en DEB+==== Conversion des RPM en DEB ====
  
 +<​code>​
 ls *.rpm | xargs -I '​{}'​ alien --scripts '​{}'​ ls *.rpm | xargs -I '​{}'​ alien --scripts '​{}'​
 +</​code>​
  
 +<​code>​
 opencl-1.2-base_3.2.1.16712-2_amd64.deb generated opencl-1.2-base_3.2.1.16712-2_amd64.deb generated
 opencl-1.2-devel_3.2.1.16712-2_amd64.deb generated opencl-1.2-devel_3.2.1.16712-2_amd64.deb generated
 opencl-1.2-intel-cpu_3.2.1.16712-2_amd64.deb generated opencl-1.2-intel-cpu_3.2.1.16712-2_amd64.deb generated
 opencl-1.2-intel-devel_3.2.1.16712-2_amd64.deb generated opencl-1.2-intel-devel_3.2.1.16712-2_amd64.deb generated
 +</​code>​
  
-Installation des paquets+==== Installation des paquets ​====
  
 +<​code>​
 dpkg -i *.deb dpkg -i *.deb
 +</​code>​
  
-Un lien est réalisé entre /​opt/​intel/​opencl-1.2-3.2.1.16712 et /​etc/​alternatives/​opencl-intel-runtime+Un lien est réalisé entre ''​/​opt/​intel/​opencl-1.2-3.2.1.16712'' ​et '/​etc/​alternatives/​opencl-intel-runtime'
  
 +<​code>​
 echo /​etc/​alternatives/​opencl-intel-runtime/​lib64 >> /​etc/​ld.so.conf.d/​mic.conf ​ echo /​etc/​alternatives/​opencl-intel-runtime/​lib64 >> /​etc/​ld.so.conf.d/​mic.conf ​
 echo /​etc/​alternatives/​opencl-intel-runtime/​libmic >> /​etc/​ld.so.conf.d/​mic.conf ​ echo /​etc/​alternatives/​opencl-intel-runtime/​libmic >> /​etc/​ld.so.conf.d/​mic.conf ​
Ligne 455: Ligne 469:
  
 clinfo | grep "​Device Type" ​ clinfo | grep "​Device Type" ​
 +</​code>​
  
 Plus besoin d'​établir les liens pour l'ICD. Plus besoin d'​établir les liens pour l'ICD.
  
 3 composants sont détectés : 3 composants sont détectés :
 +<​code>​
   Device Type:                     ​CL_DEVICE_TYPE_CPU   Device Type:                     ​CL_DEVICE_TYPE_CPU
   Device Type:                     ​CL_DEVICE_TYPE_CPU   Device Type:                     ​CL_DEVICE_TYPE_CPU
   Device Type:                     ​CL_DEVICE_TYPE_ACCRLERATOR   Device Type:                     ​CL_DEVICE_TYPE_ACCRLERATOR
 +</​code>​
  
-Lancement du test Python OpenCL ​''​python /​usr/​share/​doc/​python-pyopencl-doc/​examples/​benchmark-all.py'​ :<​code>​+Lancement du test Python OpenCL '​python /​usr/​share/​doc/​python-pyopencl-doc/​examples/​benchmark-all.py'​ :<​code>​
 ('​Execution time of test without OpenCL: ', 7.768199920654297,​ '​s'​) ('​Execution time of test without OpenCL: ', 7.768199920654297,​ '​s'​)
 =============================================================== ===============================================================
developpement/activites/integration/xeonphi4wheezy.1398321146.txt.gz · Dernière modification: 2015/01/07 10:04 (modification externe)