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 | ||
| freefem [2012/11/07 15:05] – [Installed version] admin | freefem [2013/02/19 09:00] (Version actuelle) – [MPI version] admin | ||
|---|---|---|---|
| Ligne 10: | Ligne 10: | ||
| * 3.16 | * 3.16 | ||
| + | * 3.20 (with all depencies) | ||
| ====== Examples ====== | ====== Examples ====== | ||
| + | {{ : | ||
| * **A very small example '' | * **A very small example '' | ||
| - | <file poisson.edp | + | < |
| border aaa(t=0, | border aaa(t=0, | ||
| Ligne 44: | Ligne 44: | ||
| </ | </ | ||
| + | |||
| + | ====== Using FreeFem++ ====== | ||
| + | ===== Interactive mode ===== | ||
| + | |||
| + | <note tip> | ||
| + | |||
| + | <code bash> | ||
| + | $ module laod freefem++ | ||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | |||
| + | $ freefem++ poisson.edp | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | ===== Sequential version ===== | ||
| + | <note tip> | ||
| + | * SGE script example of sequential program | ||
| + | |||
| + | <file bash free_fem++_seq.sge> | ||
| + | |||
| + | #!/bin/bash -l | ||
| + | |||
| + | |||
| + | #$ -o $JOB_NAME.o$JOB_ID | ||
| + | | ||
| + | #$ -e $JOB_NAME.e$JOB_ID | ||
| + | |||
| + | |||
| + | #$ -N freefem_test | ||
| + | |||
| + | #$ -V | ||
| + | |||
| + | module load freefem++ | ||
| + | |||
| + | Freefem++-nw poisson.edp | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | ===== MPI version ===== | ||
| + | |||
| + | Here is an example how to execute with MPI: | ||
| + | |||
| + | <code bash> | ||
| + | |||
| + | mpirun -np 2 FreeFem++-mpi schwarz.edp | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | * SGE scrip example of a parallel program | ||
| + | |||
| + | |||
| + | |||
| + | <file bash free_fem++_MPI.sge> | ||
| + | |||
| + | #!/bin/bash -l | ||
| + | |||
| + | |||
| + | #$ -o $JOB_NAME.o$JOB_ID | ||
| + | | ||
| + | #$ -e $JOB_NAME.e$JOB_ID | ||
| + | |||
| + | #$ -pe impi_tight 4 | ||
| + | |||
| + | #$ -N freefem_test | ||
| + | |||
| + | #$ -V | ||
| + | |||
| + | module load freefem++ | ||
| + | |||
| + | mpirun -np $NSLOTS FreeFem++-mpi schwarz.edp | ||
| + | |||
| + | </ | ||
| + | ====== Documentation ====== | ||
| + | * http:// | ||
| + | * http:// | ||
| + | |||