Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| freefem [2011/07/13 04:50] – créée gerard | freefem [2017/08/25 07:56] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| FreeFem++ | FreeFem++ | ||
| + | |||
| + | ====== Installation ====== | ||
| * installé dans / | * installé dans / | ||
| + | |||
| + | ====== exemple ====== | ||
| + | |||
| + | < | ||
| + | |||
| + | [henry@octopus ~]$ / | ||
| + | EXEC of the plot : ffglut | ||
| + | -- FreeFem++ v 3.130002 (date Mar 28 jui 2011 09:22:37 CEST) | ||
| + | Load: lg_fem lg_mesh lg_mesh3 eigenvalue | ||
| + | 1 : mesh Th=square(10, | ||
| + | 2 : fespace Vh(Th, | ||
| + | 3 : Vh uh, | ||
| + | 4 : func f=1; // | ||
| + | 5 : func g=0; // | ||
| + | 6 : | ||
| + | 7 : problem laplace(uh, | ||
| + | 8 : | ||
| + | 9 : + int1d(Th, | ||
| + | 10 : - int1d(Th, | ||
| + | 11 : - int2d(Th)( f*vh ) // linear form | ||
| + | 12 : + on(2, | ||
| + | 13 : | ||
| + | 14 : | ||
| + | 15 : | ||
| + | 16 : sizestack + 1024 =1896 ( 872 ) | ||
| + | |||
| + | -- Square mesh : nb vertices | ||
| + | GMRES converges: 27 1.116e-07 0.154071 7.24338e-07 < 1e-06 | ||
| + | -- Solve : | ||
| + | min 1.62405e-12 | ||
| + | times: compile 0s, execution 0s, mpirank:0 | ||
| + | Err ReadOnePlot 1 | ||
| + | | ||
| + | Bien: On a fini Normalement | ||
| + | </ | ||
| + | |||
| + | ====== compilation ====== | ||
| + | < | ||
| + | [devel1@octopus freefem++-3.13-2]$ pwd | ||
| + | / | ||
| + | |||
| + | ./configure --prefix=/ | ||
| + | |||
| + | make | & tee MAKE.LOG | ||
| + | |||
| + | make install | & tee INSTALL.LOG | ||
| + | </ | ||
| + | |||
| + | ====== Erreurs ====== | ||
| + | |||
| + | |||
| + | < | ||
| + | g++ -shared -fPIC -g -m64 -fPIC -DNDEBUG -O3 -mmmx -msse -msse2 -DDRAWING -DBAMG_LONG_LONG -DNCHECKPTR -fPIC ' | ||
| + | / | ||
| + | / | ||
| + | collect2: ld returned 1 exit status | ||
| + | </ | ||
| + | |||
| + | |||