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 Prochaine révision Les deux révisions suivantes | ||
developpement:activites:integration:cp2k4wheezy [2014/05/23 07:49] equemene [Compilation et exécution en mode parallèle sous MPI] |
developpement:activites:integration:cp2k4wheezy [2014/05/24 01:59] equemene [Rétroportage de la librairie XC] |
||
---|---|---|---|
Ligne 37: | Ligne 37: | ||
<code>apt-get source libxc | <code>apt-get source libxc | ||
- | sudo apt-get build-dep libxc | + | sudo apt-get build-dep -y libxc |
cd libxc-2.0.2 | cd libxc-2.0.2 | ||
debuild | debuild | ||
Ligne 110: | Ligne 110: | ||
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 117: | ||
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 127: | ||
== 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 138: | ||
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 151: | ||
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 158: | ||
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 ===== |