... | ... | @@ -6,6 +6,8 @@ This page contains more detailed instructions to compile a full-featured version |
|
|
|
|
|
The Gmsh library is used in GetDP to perform efficient field interpolation on general meshes (mesh to mesh interpolation), through the `ScalarField`, `VectorField` and `TensorField` family of functions, in conjunction with the `GmshRead` operation.
|
|
|
|
|
|
Here's how to download and compile a small static Gmsh library:
|
|
|
|
|
|
```bash
|
|
|
git clone http://gitlab.onelab.info/gmsh/gmsh
|
|
|
cd gmsh
|
... | ... | @@ -17,11 +19,13 @@ sudo make install/fast |
|
|
cd ../..
|
|
|
```
|
|
|
|
|
|
If you prefer to build a dynamic Gmsh library, replace ```-DENABLE_BUILD_LIB=1``` with ```-DENABLE_BUILD_SHARED=1```.
|
|
|
If you prefer to build a dynamic Gmsh library instead, replace ```-DENABLE_BUILD_LIB=1``` with ```-DENABLE_BUILD_SHARED=1```.
|
|
|
|
|
|
## Compile a sequential (non-MPI) GetDP version in real arithmetic
|
|
|
|
|
|
Download the PETSc source code from [the official site](http://www.mcs.anl.gov/petsc/petsc-as/download/), then (here for PETSc 3.7.4):
|
|
|
PETSc is the standard linear algebra toolkit used by GetDP (GetDP can also use linear solvers from Sparskit -- see the configuration options for more information).
|
|
|
|
|
|
To compile a sequential real arithmetic PETSc library, first download and uncompressed the PETSc source code from [the official site](http://www.mcs.anl.gov/petsc/petsc-as/download/), then (here for PETSc 3.7.4):
|
|
|
|
|
|
```bash
|
|
|
cd petsc-3.7.4
|
... | ... | |