Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Dernière révisionLes deux révisions suivantes
documentation:tools:library:petsc [2020/06/12 09:08] – erase (obsolete) ltaulelldocumentation:tools:library:petsc [2020/08/25 15:58] – créée - modification externe 127.0.0.1
Ligne 1: Ligne 1:
 +====== PETSc ======
 +
 +^  Version  ^  Compilateur  ^  Interconnexion  ^  chemin d'accès  ^  OS  ^
 +|  petsc-3.1-p5  |  intel 11.1.069 |  Infiniband  |/softs/PETSc/petsc-3.1-p5/intel/11.1.069/seq/bin |  Centos 5  || 
 +|  petsc-3.1-p5  |  gnu 4.2.1 |  Infiniband  |/softs/PETSc/petsc-3.1-p5/gnu/4.2.1/acml-4.2.0/bin |  Centos 5 || 
 +|  petsc-3.1-p5  |  pgi 11.0 |  Infiniband  |/softs/PETSc/petsc-3.1-p5/pgi/11.0/seq/bin |  Centos 5  || 
 +|  petsc-3.3.p0  |  openmpi-1.4.5/gnu-4.6.3  |  Infiniband  |/softs/PETSc/petsc-3.3.p0/gnu/4.6.3/openmpi-1.4.5/acml-5.1.0/bin|  Centos 5 || 
 +|  petsc-3.1-p5  |  openmpi-1.4.1 / intel 11.1.069  |  Infiniband  |/softs/PETSc/petsc-3.1-p5/intel/11.1.069/openmpi-1.4.1/mkl/bin |Centos 5||
 +|  petsc-3.1-p5  |  openmpi-1.4.3 / pgi 11.0  |  Infiniband  |/softs/PETSc/petsc-3.1-p5/pgi/11.0/openmpi-1.4.3/bin | Centos 5  || 
 +====== Installations optimisées de PETSc ======
 +
 +{{INLINETOC}}
 +===== Version petsc-3.5.0 compilée avec compilateur gnu-4.7.2 sur les systèmes Debian =====
 +
 +==== Environnement de travail ====
 +
 +Il faut d'abord charger l'environnement correspondant (Debian + GNU + OpenMPI) sur l'un des serveurs de compilation Debian :
 +
 +<code bash> 
 +   $ module use /applis/PSMN/Modules/
 +   $ module load Base/psmn
 +   $ unsetenv PETSC_ARCH PETSC_DIR
 +   $ setenv PETSC_DIR $PWD
 +   $ module load openmpi/1.6.4-gnu-4.7.2
 +</code>
 +==== Download PETSc ====
 +
 +<code bash> 
 +  $ wget http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.5.0.tar.gz
 +</code>
 +EN LOCAL (login)
 +
 +<code bash> 
 +  $ cd /home/login/Installations/Debian7
 +  $ cd Sources/
 +  $ gunzip -c ../Downloads/petsc-3.5.0.tar.gz  | tar -xof -
 +  $ cd petsc-3.5.0/
 +</code>
 +==== Etape de "configuration" ====
 +
 +<code bash> 
 +   $ ./configure --prefix=/home/login/petsc-3.5.0/full-debian7 --with-fortran-datatypes --with-x=0 --with-mpi-dir=/softs/openmpi-1.6.4-gnu-4.7.2-debian7  --download-parmetis --download-superlu --download-superlu_dist --download-blacs --download-scalapack --download-mumps --download-suitesparse --download-ml --with-debugging=no   
 +</code>
 +==== Etape de "build" ====
 +
 +<code bash> 
 +  $ make PETSC_DIR=/home/login/petsc-3.5.0/full-debian7 PETSC_ARCH=arch-linux2-c-opt streams NPMAX=4
 +  $ make install 
 +</code>
 +