"Fossies" - the Fresh Open Source Software Archive

Member "getdp-3.1.0-source/README.txt" (29 Dec 2018, 3039 Bytes) of package /linux/privat/getdp-3.1.0-source.tgz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "README.txt": 3.0.4_vs_3.1.0.

    1 This is GetDP, a General environment for the treatment of Discrete Problems.
    2 
    3 GetDP is copyright (C) 1997-2019 P. Dular and C. Geuzaine, University of Liege,
    4 and is distributed under the terms of the GNU General Public License, Version 2
    5 or later. See LICENSE.txt and CREDITS.txt for more information.
    6 
    7 See the doc/ and demos/ directories for documentation. The reference manual is
    8 located in doc/texinfo/. See the web site http://getdp.info for additional
    9 examples.
   10 
   11 Building a bare-bones version of GetDP from its source code requires a C++
   12 compiler and CMake (http://cmake.org). By default GetDP also uses the GSL
   13 (http://www.gnu.org/software/gsl) and PETSc (http://www.mcs.anl.gov/petsc),
   14 using either real or complex arithmetic. If PETSc is available, GetDP can use
   15 SLEPc (http://www.grycap.upv.es/slepc) to solve eigenvalue problems. Instead of
   16 PETsc (and SLEPc), GetDP can also use a built-in set of linear solvers derived
   17 from Sparskit Version 2 (http://www-users.cs.umn.edu/~saad/) and eigensolvers
   18 from Arpack (http://www.caam.rice.edu/software/ARPACK). Sparskit and Arpack, as
   19 well GetDP's special mathematical functions require a Fortan compiler and
   20 BLAS/LAPACK.
   21 
   22 Build GetDP using CMake's graphical user interface
   23 -------------------------------------------------
   24 
   25 * Launch CMake and fill-in the two top input fields (telling where the GetDP
   26   source directory is located and where you want the GetDP binary to be
   27   created).
   28 
   29 * Click on "Add entry" and define the variable CMAKE_PREFIX_PATH, of type
   30   "PATH", pointing to the location(s) of any external package(s) (BLAS/LAPACK,
   31   etc.) installed in non-standard directories.
   32 
   33 * Click on "Configure" and choose your compiler.
   34 
   35 * Optionally change some configuration options (re-run "Configure" every time
   36   you change some options).
   37 
   38 * Once you are happy with all the configuration options, click on "Generate".
   39 
   40 * Go to the build directory and build Gmsh using your chosen compiler.
   41 
   42 Build GetDP from the command line
   43 --------------------------------
   44 
   45 * Create a build directory, for example as a subdirectory of GetDP's source
   46   directory:
   47 
   48     mkdir build
   49 
   50 * Run cmake from within the build directory, pointing to GetDP's source
   51   directory:
   52 
   53     cd build
   54     cmake ..
   55 
   56 * To build and install GetDP then simply type
   57 
   58     make
   59     make install
   60 
   61 * To change build options you can use "ccmake" instead of "cmake", e.g.:
   62 
   63     ccmake ..
   64 
   65   or you can specify options directly on the command line. For example, you can
   66   use
   67 
   68     cmake -DCMAKE_PREFIX_PATH=/opt/local ..
   69 
   70   to specify the location of external packages installed in non-standard
   71   directories. You can use
   72 
   73     cmake -DCMAKE_INSTALL_PREFIX=/opt
   74 
   75   to change the installation directory. Or you can use
   76 
   77     cmake -DENABLE_PETSC=0 -DENABLE_SPARSKIT=1 ..
   78 
   79   to build a version of GetDP that uses Sparskit instead of PETSc.
   80 
   81 * You can keep multiple builds with different build options at the same time:
   82   just configure the builds in separate directories.
   83 
   84 * To see a detailed compilation log use
   85 
   86     make VERBOSE=1