Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| developpement:activites:integration:cuda4stretch [2016/08/29 12:32] – [Installation des composants Cuda & OpenCL] equemene | developpement:activites:integration:cuda4stretch [2016/08/29 12:56] (Version actuelle) – [Installation des composants Python] equemene | ||
|---|---|---|---|
| Ligne 284: | Ligne 284: | ||
| apt-get install -y opencl-headers ocl-icd-opencl-dev | apt-get install -y opencl-headers ocl-icd-opencl-dev | ||
| cd / | cd / | ||
| - | ls *7.1.15*deb | grep -v opencl | xargs -I ' | + | ls *7.5.18*deb | grep -v opencl | xargs -I ' |
| # Il arrive que l' | # Il arrive que l' | ||
| apt-get -f install | apt-get -f install | ||
| Ligne 292: | Ligne 292: | ||
| < | < | ||
| - | cd / | + | cd $NVIDIAROOT |
| - | apt-get -y build-dep | + | apt-get -y build-dep |
| apt-get -y install python-setuptools python3-setuptools | apt-get -y install python-setuptools python3-setuptools | ||
| - | wget http:// | + | apt-get source |
| - | wget http:// | + | |
| - | wget http:// | + | |
| - | tar Jxf pyopencl_2015.1.orig.tar.xz | + | |
| cd pyopencl-*/ | cd pyopencl-*/ | ||
| - | tar Jxf ../ | ||
| debuild | debuild | ||
| cd .. | cd .. | ||
| Ligne 309: | Ligne 305: | ||
| Les paquets créés sont les suivants : | Les paquets créés sont les suivants : | ||
| < | < | ||
| - | 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 |
| </ | </ | ||
| Ligne 324: | Ligne 320: | ||
| </ | </ | ||
| - | Il n' | + | Il n' |
| - | < | ||
| - | cd / | ||
| - | apt-get -y build-dep pycuda | ||
| - | apt-get -y install python-setuptools python3-setuptools | ||
| - | wget http:// | ||
| - | wget http:// | ||
| - | wget http:// | ||
| - | tar Jxf pycuda_2015.1.2.orig.tar.xz | ||
| - | cd pycuda-*/ | ||
| - | tar Jxf ../ | ||
| - | debuild | ||
| - | cd .. | ||
| - | ls -1 *.deb | ||
| - | mv *.deb debian | ||
| - | </ | ||
| - | |||
| - | < | ||
| - | 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 | ||
| - | </ | ||
| ==== Installation des composants Python ==== | ==== Installation des composants Python ==== | ||
| < | < | ||
| - | cd / | + | cd $NVIDIAROOT/debian |
| # Les paquets suivants issus de AMD sont necessaires pour le premier et bien utile pour le second | # Les paquets suivants issus de AMD sont necessaires pour le premier et bien utile pour le second | ||
| apt-get install -y ocl-icd-libopencl1 ocl-icd-dev opencl-headers | apt-get install -y ocl-icd-libopencl1 ocl-icd-dev opencl-headers | ||
| Ligne 362: | Ligne 335: | ||
| < | < | ||
| - | cd / | + | apt-get install -y python-pytest python3-pytest python3-appdirs python-appdirs |
| - | apt-get install -y python-pytest python3-pytest python3-appdirs python-appdirs | + | apt-get install |
| - | dpkg -i python-pycuda*deb python3-pycuda*deb | + | |
| </ | </ | ||