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 | ||
developpement:activites:integration:cp2k4wheezy [2014/05/23 07:49] equemene [Compilation et exécution en mode parallèle sous MPI] |
developpement:activites:integration:cp2k4wheezy [2015/01/07 10:04] (Version actuelle) |
||
---|---|---|---|
Ligne 36: | Ligne 36: | ||
Il est nécessaire de disposer de la ligne suivante dans son ''/etc/apt/sources.list'' :<code>deb-src http://ftp.de.debian.org/debian/ sid main contrib non-free</code> | Il est nécessaire de disposer de la ligne suivante dans son ''/etc/apt/sources.list'' :<code>deb-src http://ftp.de.debian.org/debian/ sid main contrib non-free</code> | ||
- | <code>apt-get source libxc | + | <code>apt-get install pbuilder |
- | sudo apt-get build-dep libxc | + | aptitude update |
- | cd libxc-2.0.2 | + | cd /tmp |
+ | apt-get source libxc | ||
+ | sudo apt-get build-dep -y libxc | ||
+ | cd libxc-2.* | ||
debuild | debuild | ||
cd .. | cd .. | ||
- | sudo dpkg -i libxc1_2.0.2-1_amd64.deb libxc-dev_2.0.2-1_amd64.deb | + | sudo dpkg -i libxc*_amd64.deb |
</code> | </code> | ||
Ligne 110: | Ligne 113: | ||
cd $CP2K_HOME/makefiles | cd $CP2K_HOME/makefiles | ||
wget -O $CP2K_HOME/arch/Linux-amd64-Debian-OpenBLAS.ssmp http://www.cbp.ens-lyon.fr/emmanuel.quemener/software/CP2K/Linux-amd64-Debian-OpenBLAS.ssmp | wget -O $CP2K_HOME/arch/Linux-amd64-Debian-OpenBLAS.ssmp http://www.cbp.ens-lyon.fr/emmanuel.quemener/software/CP2K/Linux-amd64-Debian-OpenBLAS.ssmp | ||
- | time make -j8 ARCH=Linux-amd64-Debian-OpenBLAS VERSION=ssmp | + | time make -j4 ARCH=Linux-amd64-Debian-OpenBLAS VERSION=ssmp |
</code> | </code> | ||
Ligne 117: | Ligne 120: | ||
cd $CP2K_HOME/makefiles | cd $CP2K_HOME/makefiles | ||
wget -O $CP2K_HOME/arch/Linux-amd64-Debian-ATLAS.ssmp http://www.cbp.ens-lyon.fr/emmanuel.quemener/software/CP2K/Linux-amd64-Debian-ATLAS.ssmp | wget -O $CP2K_HOME/arch/Linux-amd64-Debian-ATLAS.ssmp http://www.cbp.ens-lyon.fr/emmanuel.quemener/software/CP2K/Linux-amd64-Debian-ATLAS.ssmp | ||
- | time make -j8 ARCH=Linux-amd64-Debian-ATLAS VERSION=ssmp | + | time make -j4 ARCH=Linux-amd64-Debian-ATLAS VERSION=ssmp |
</code> | </code> | ||
Ligne 127: | Ligne 130: | ||
== Pour l'utilisation de OpenBLAS == | == Pour l'utilisation de OpenBLAS == | ||
+ | |||
<code> | <code> | ||
cd $CP2K_HOME/makefiles | cd $CP2K_HOME/makefiles | ||
wget -O $CP2K_HOME/arch/Linux-amd64-Debian-OpenBLAS.popt http://www.cbp.ens-lyon.fr/emmanuel.quemener/software/CP2K/Linux-amd64-Debian-OpenBLAS.popt | wget -O $CP2K_HOME/arch/Linux-amd64-Debian-OpenBLAS.popt http://www.cbp.ens-lyon.fr/emmanuel.quemener/software/CP2K/Linux-amd64-Debian-OpenBLAS.popt | ||
- | time make -j8 ARCH=Linux-amd64-Debian-OpenBLAS VERSION=popt | + | time make -j4 ARCH=Linux-amd64-Debian-OpenBLAS VERSION=popt |
</code> | </code> | ||
Ligne 137: | Ligne 141: | ||
cd $CP2K_HOME/makefiles | cd $CP2K_HOME/makefiles | ||
wget -O $CP2K_HOME/arch/Linux-amd64-Debian-ATLAS.popt http://www.cbp.ens-lyon.fr/emmanuel.quemener/software/CP2K/Linux-amd64-Debian-ATLAS.popt | wget -O $CP2K_HOME/arch/Linux-amd64-Debian-ATLAS.popt http://www.cbp.ens-lyon.fr/emmanuel.quemener/software/CP2K/Linux-amd64-Debian-ATLAS.popt | ||
- | time make -j8 ARCH=Linux-amd64-Debian-ATLAS VERSION=popt | + | time make -j4 ARCH=Linux-amd64-Debian-ATLAS VERSION=popt |
</code> | </code> | ||
- | mpilation en mode hybride OpenMP/MPI === | + | === Compilation en mode hybride OpenMP/MPI === |
C'est ici que vont servir les paquets OpenMP, OpenMPI, Blacs et Scalapack. | C'est ici que vont servir les paquets OpenMP, OpenMPI, Blacs et Scalapack. | ||
Ligne 150: | Ligne 154: | ||
cd $CP2K_HOME/makefiles | cd $CP2K_HOME/makefiles | ||
wget -O $CP2K_HOME/arch/Linux-amd64-Debian-OpenBLAS.psmp http://www.cbp.ens-lyon.fr/emmanuel.quemener/software/CP2K/Linux-amd64-Debian-OpenBLAS.psmp | wget -O $CP2K_HOME/arch/Linux-amd64-Debian-OpenBLAS.psmp http://www.cbp.ens-lyon.fr/emmanuel.quemener/software/CP2K/Linux-amd64-Debian-OpenBLAS.psmp | ||
- | time make -j8 ARCH=Linux-amd64-Debian-OpenBLAS VERSION=psmp | + | time make -j4 ARCH=Linux-amd64-Debian-OpenBLAS VERSION=psmp |
</code> | </code> | ||
Ligne 157: | Ligne 161: | ||
cd $CP2K_HOME/makefiles | cd $CP2K_HOME/makefiles | ||
wget -O $CP2K_HOME/arch/Linux-amd64-Debian-ATLAS.psmp http://www.cbp.ens-lyon.fr/emmanuel.quemener/software/CP2K/Linux-amd64-Debian-ATLAS.psmp | wget -O $CP2K_HOME/arch/Linux-amd64-Debian-ATLAS.psmp http://www.cbp.ens-lyon.fr/emmanuel.quemener/software/CP2K/Linux-amd64-Debian-ATLAS.psmp | ||
- | time make -j8 ARCH=Linux-amd64-Debian-ATLAS VERSION=psmp | + | time make -j4 ARCH=Linux-amd64-Debian-ATLAS VERSION=psmp |
</code> | </code> | ||
===== Exécution d'un exemple ===== | ===== Exécution d'un exemple ===== |