Name Last Update
Common Loading commit data...
Interface Loading commit data...
Kernel Loading commit data...
Main Loading commit data...
Numeric Loading commit data...
benchmarks Loading commit data...
contrib Loading commit data...
demos Loading commit data...
doc Loading commit data...
templates Loading commit data...
utils Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CHANGELOG.txt Loading commit data...
CMakeLists.txt Loading commit data...
CREDITS.txt Loading commit data...
CTestConfig.cmake Loading commit data...
LICENSE.txt Loading commit data...
README.txt Loading commit data...
This is GetDP, a General environment for the treatment of Discrete Problems.

GetDP is copyright (C) 1997-2017 P. Dular and C. Geuzaine, University of Liege,
and is distributed under the terms of the GNU General Public License, Version 2
or later. See LICENSE.txt and CREDITS.txt for more information.

See the doc/ and demos/ directories for documentation. The reference manual is
located in doc/texinfo/. See the web site for additional

Building a bare-bones version of GetDP from its source code requires a C++
compiler and CMake ( By default GetDP also uses the GSL
( and PETSc (,
using either real or complex arithmetic. If PETSc is available, GetDP can use
SLEPc ( to solve eigenvalue problems. Instead of
PETsc (and SLEPc), GetDP can also use a built-in set of linear solvers derived
from Sparskit Version 2 ( and eigensolvers
from Arpack ( Sparskit and Arpack, as
well GetDP's special mathematical functions require a Fortan compiler and

Build GetDP using CMake's graphical user interface

* Launch CMake and fill-in the two top input fields (telling where the GetDP
  source directory is located and where you want the GetDP binary to be

* Click on "Add entry" and define the variable CMAKE_PREFIX_PATH, of type
  "PATH", pointing to the location(s) of any external package(s) (BLAS/LAPACK,
  etc.) installed in non-standard directories.

* Click on "Configure" and choose your compiler.

* Optionally change some configuration options (re-run "Configure" every time
  you change some options).

* Once you are happy with all the configuration options, click on "Generate".

* Go to the build directory and build Gmsh using your chosen compiler.

Build GetDP from the command line

* Create a build directory, for example as a subdirectory of GetDP's source

    mkdir build

* Run cmake from within the build directory, pointing to GetDP's source

    cd build
    cmake ..

* To build and install GetDP then simply type

    make install

* To change build options you can use "ccmake" instead of "cmake", e.g.:

    ccmake ..

  or you can specify options directly on the command line. For example, you can

    cmake -DCMAKE_PREFIX_PATH=/opt/local ..

  to specify the location of external packages installed in non-standard
  directories. You can use


  to change the installation directory. Or you can use


  to build a version of GetDP that uses Sparskit instead of PETSc.

* You can keep multiple builds with different build options at the same time:
  just configure the builds in separate directories.

* To see a detailed compilation log use

    make VERBOSE=1