... | ... | @@ -6,7 +6,7 @@ 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:
|
|
|
To build a small static Gmsh library:
|
|
|
|
|
|
```bash
|
|
|
git clone http://gitlab.onelab.info/gmsh/gmsh
|
... | ... | @@ -22,7 +22,7 @@ sudo make install/fast |
|
|
cd ../..
|
|
|
```
|
|
|
|
|
|
## Sequential (non-MPI) GetDP version in real arithmetic
|
|
|
## GetDP in real arithmetic
|
|
|
|
|
|
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).
|
|
|
|
... | ... | @@ -66,13 +66,13 @@ make |
|
|
cd ../..
|
|
|
```
|
|
|
|
|
|
## Sequential (non-MPI) GetDP version in complex arithmetic
|
|
|
## GetDP in complex arithmetic
|
|
|
|
|
|
Follow the same steps as in the previous section, but change `--with-scalar-type=real` with `--with-scalar-type=complex` when configuring PETSc.
|
|
|
|
|
|
## MPI GetDP version
|
|
|
## GetDP with MPI support for running on computer clusters
|
|
|
|
|
|
For MPI (distributed memory capable) GetDP versions you need to compile the MPI version of PETSc. As for the sequential version, 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):
|
|
|
For MPI (distributed memory capable) GetDP versions you need to compile the MPI version of PETSc. 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
|
... | ... | |