Différences
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 | ||
mpich2_intel_fortran [Le 01/01/2009, 13:56] 213.95.41.13 |
mpich2_intel_fortran [Le 11/09/2022, 11:54] (Version actuelle) moths-art Suppression des espaces en fin de ligne (détecté et corrigé via le bot wiki-corrector (https://forum.ubuntu-fr.org/viewtopic.php?id=2067892) |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | {{tag>brouillon développement librairie}} | + | {{tag>programmation BROUILLON}} |
---- | ---- | ||
====== Installer MPICH2 avec Intel Fortran ====== | ====== Installer MPICH2 avec Intel Fortran ====== | ||
- | Ce tutoriel vous explique comment installer la librairie mpich2 avec le compilateur Intel Fortran 10.1.018. | + | Ce tutoriel vous explique comment installer la librairie mpich2 avec le compilateur Intel Fortran 12.1. |
- | Cette procédure d'installation est effectuée sur la version 8.04 ubuntu avec le compilateur Intel Fortran 10.1.018( cf [[http://www.intel.com/cd/software/products/asmo-na/eng/340679.htm]]) | + | Cette procédure d'installation est effectuée sur la version 12.04 ubuntu avec le compilateur Intel Fortran 12.1. |
===== Pré-requis ===== | ===== Pré-requis ===== | ||
Ligne 12: | Ligne 12: | ||
* avoir [[:tutoriel:comment_installer_un_paquet|installé]] le paquet **build-essential** | * avoir [[:tutoriel:comment_installer_un_paquet|installé]] le paquet **build-essential** | ||
- | <note important>Il faut que le répertoire CHEMIN_VERS/intel/fc/10.1.018/bin soit dans PATH et que ldconfig ait dans son cache CHEMIN_VERS/intel/fc/10.1.008/lib </note> | + | <note important>Il faut que le répertoire CHEMIN_VERS/intel/12.1/bin soit dans PATH et que ldconfig ait dans son cache CHEMIN_VERS/intel/12.1/lib </note> |
===== Procédure d'installation ===== | ===== Procédure d'installation ===== | ||
Ligne 18: | Ligne 18: | ||
==== Préparer mpich2 ==== | ==== Préparer mpich2 ==== | ||
- | Télécharger les sources sur [[http://www.mcs.anl.gov/research/projects/mpich2/|le site officiel MPICH2]] puis [[formats_archives|décompressez]] l'archive obtenue.(Version actuelle : 1.0.7) | + | Télécharger les sources sur [[https://www.mpich.org/|le site officiel MPICH2]] puis [[archivage|décompressez]] l'archive obtenue.(Version actuelle : 1.5) |
Ouvrez un terminal et placez vous dans le dossier extrait. | Ouvrez un terminal et placez vous dans le dossier extrait. | ||
Ligne 25: | Ligne 25: | ||
Fixer les variables d'environnement suivantes : | Fixer les variables d'environnement suivantes : | ||
+ | |||
+ | en sh (ksh, bash, etc) | ||
export F77='ifort' | export F77='ifort' | ||
- | export F90='ifort' | + | export FC='ifort' |
export CC='icc' | export CC='icc' | ||
+ | | ||
+ | en csh (tcsh, etc) | ||
+ | setenv F77 ifort | ||
+ | setenv FC ifort | ||
+ | setenv CC icc | ||
+ | | ||
ou, si vous ne disposez pas du compilateur intel fortran : | ou, si vous ne disposez pas du compilateur intel fortran : | ||
- | export CC='gcc' | + | export CC='gcc' ou setenv CC gcc |
- | Si on suppose que l'installation se fait dans le répertoire **/opt/mpich2-intel**, on peut alors taper les commandes suivantes : | + | Si on suppose que l'installation se fait dans le répertoire **/opt/mpich2-intel**, on peut alors taper les commandes suivantes : |
- | ./configure --prefix=/opt/mpich2-intel \ | + | ./configure --prefix=/opt/mpich2-intel --enable-fast-O3 --enable-f77 --enable-fc --enable-mpe |
- | --enable-fast-O3 \ | + | |
- | --enable-f77 \ | + | |
- | --enable-f90 \ | + | |
- | --enable-mpe | + | |
make | make | ||
sudo make install | sudo make install | ||
Ligne 71: | Ligne 75: | ||
* [[http://www.intel.com/support/performancetools/fortran/linux/index.htm|Intel Fortran]] | * [[http://www.intel.com/support/performancetools/fortran/linux/index.htm|Intel Fortran]] | ||
- | * [[http://www.mcs.anl.gov/research/projects/mpich2/|MPICH2]] | + | * [[http://www.mpich.org|MPICH2]] |
---- | ---- | ||
//Contributeurs : [[:utilisateurs:mknux]] | //Contributeurs : [[:utilisateurs:mknux]] |