Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Dernière révision Les deux révisions suivantes | ||
developpement:activites:integration:cuda4stretch [2016/08/29 14:33] equemene [Installation des composants Cuda & OpenCL] |
developpement:activites:integration:cuda4stretch [2016/08/29 14:54] equemene [Rétroportage du composants Python PyCUDA] |
||
---|---|---|---|
Ligne 292: | Ligne 292: | ||
<code> | <code> | ||
- | cd /root/nvidia | + | cd $NVIDIAROOT |
- | apt-get -y build-dep pycuda | + | apt-get -y build-dep pyopencl |
apt-get -y install python-setuptools python3-setuptools | apt-get -y install python-setuptools python3-setuptools | ||
- | wget http://snapshot.debian.org/archive/debian/20150617T043723Z/pool/main/p/pyopencl/pyopencl_2015.1-2.debian.tar.xz | + | apt-get source pyopencl |
- | wget http://snapshot.debian.org/archive/debian/20150617T043723Z/pool/main/p/pyopencl/pyopencl_2015.1-2.dsc | + | |
- | wget http://snapshot.debian.org/archive/debian/20150610T042543Z/pool/main/p/pyopencl/pyopencl_2015.1.orig.tar.xz | + | |
- | tar Jxf pyopencl_2015.1.orig.tar.xz | + | |
cd pyopencl-*/ | cd pyopencl-*/ | ||
- | tar Jxf ../pyopencl_2015.1-2.debian.tar.xz | ||
debuild | debuild | ||
cd .. | cd .. | ||
Ligne 309: | Ligne 305: | ||
Les paquets créés sont les suivants : | Les paquets créés sont les suivants : | ||
<code> | <code> | ||
- | python3-pyopencl_2015.1-2_amd64.deb | + | python3-pyopencl_2015.2.4-1_amd64.deb |
- | python3-pyopencl-dbg_2015.1-2_amd64.deb | + | python3-pyopencl-dbg_2015.2.4-1_amd64.deb |
- | python-pyopencl_2015.1-2_amd64.deb | + | python-pyopencl_2015.2.4-1_amd64.deb |
- | python-pyopencl-dbg_2015.1-2_amd64.deb | + | python-pyopencl-dbg_2015.2.4-1_amd64.deb |
- | python-pyopencl-doc_2015.1-2_all.deb | + | python-pyopencl-doc_2015.2.4-1_all.deb |
</code> | </code> | ||
Ligne 324: | Ligne 320: | ||
</code> | </code> | ||
- | Il n'est pas possible de rétroporter la dernière version de pycuda en Jessie à cause des dépendances entre PyCUDA et d'autres librairies récentes n'acceptant pas le rétroportage. | + | Il n'est nécessaire de rétroporter la version la plus récente de pycuda, étant dans la même version. |
- | <code> | ||
- | cd /root/nvidia | ||
- | apt-get -y build-dep pycuda | ||
- | apt-get -y install python-setuptools python3-setuptools | ||
- | wget http://snapshot.debian.org/archive/debian/20150710T034220Z/pool/contrib/p/pycuda/pycuda_2015.1.2-1.debian.tar.xz | ||
- | wget http://snapshot.debian.org/archive/debian/20150710T034220Z/pool/contrib/p/pycuda/pycuda_2015.1.2-1.dsc | ||
- | wget http://snapshot.debian.org/archive/debian/20150710T034220Z/pool/contrib/p/pycuda/pycuda_2015.1.2.orig.tar.xz | ||
- | tar Jxf pycuda_2015.1.2.orig.tar.xz | ||
- | cd pycuda-*/ | ||
- | tar Jxf ../pycuda_2015.1.2-1.debian.tar.xz | ||
- | debuild | ||
- | cd .. | ||
- | ls -1 *.deb | ||
- | mv *.deb debian | ||
- | </code> | ||
- | |||
- | <code> | ||
- | python3-pycuda_2015.1.2-1_amd64.deb | ||
- | python3-pycuda-dbg_2015.1.2-1_amd64.deb | ||
- | python-pycuda_2015.1.2-1_amd64.deb | ||
- | python-pycuda-dbg_2015.1.2-1_amd64.deb | ||
- | python-pycuda-doc_2015.1.2-1_all.deb | ||
- | </code> | ||
==== Installation des composants Python ==== | ==== Installation des composants Python ==== |