... | ... | @@ -2,7 +2,7 @@ General build instructions are available in the top-level [README](http://gitlab |
|
|
|
|
|
This page contains more detailed instructions to compile a full-featured version of GetDP, including instructions to compile common dependencies: the Gmsh (http://gmsh.info) library as well as PETSc (http://www.mcs.anl.gov/petsc/petsc-as/download/). In addition to CMake, a C++ and a Fortran compiler, you should have (preferably optimized) versions of the BLAS and LAPACK libraries on your system (e.g. OpenBLAS, ATLAS or the MKL).
|
|
|
|
|
|
## Compile a minimal Gmsh library
|
|
|
## Minimal Gmsh library
|
|
|
|
|
|
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.
|
|
|
|
... | ... | @@ -21,7 +21,7 @@ cd ../.. |
|
|
|
|
|
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
|
|
|
## Sequential (non-MPI) GetDP version 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).
|
|
|
|
... | ... | @@ -52,9 +52,9 @@ cd ../.. |
|
|
|
|
|
Setting `-DENABLE_BLAS_LAPACK=0` will force GetDP to use the same BLAS/LAPACK libraries as the ones used by PETSc.
|
|
|
|
|
|
## Compile a sequential (non-MPI) GetDP version in complex arithmetic
|
|
|
## Sequential (non-MPI) GetDP version in complex arithmetic
|
|
|
|
|
|
Follow the same steps as above, but change `--with-scalar-type=real` with `--with-scalar-type=complex` when configuring PETSc.
|
|
|
|
|
|
## Compile an MPI GetDP version in complex arithmetic
|
|
|
## MPI GetDP version in complex arithmetic
|
|
|
|