manpagez: man pages & more
info gmsh
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

Appendix C Compiling the source code

Stable releases and nightly source snapshots are available from http://geuz.org/gmsh/src/. You can also access the subversion repository directly:

  1. The first time you want to download the latest full source, type:
    svn co https://geuz.org/svn/gmsh/trunk gmsh
    

    You will be asked to accept the security certificate and to provide your username and password. (Use gmsh/gmsh for read-only access.)

  2. To update your local version to the latest and greatest, go in the gmsh directory and type:
    svn update
    
  3. If you have write access, to commit your changes to the central repository, go in the gmsh directory and type:
    svn commit
    

Once you have the source code, you need to run CMake to configure your build (see the ‘README.txt’ file in the top-level source directory for detailed information on how to run CMake).

Each build can be configured using a series of options, to selectively enable optional modules or features. Here is the list of CMake options:

ENABLE_3M

Enable proprietary 3M extension (default: OFF)

ENABLE_ACIS

Enable ACIS geometrical models (experimental) (default: ON)

ENABLE_ANN

Enable ANN (used for fast point search in mesh/post) (default: ON)

ENABLE_BAMG

Enable Bamg 2D anisotropic mesh generator (default: ON)

ENABLE_BFGS

Enable BFGS (used by some mesh optimizers) (default: ON)

ENABLE_BLAS_LAPACK

Enable BLAS/Lapack for linear algebra (required for meshing) (default: ON)

ENABLE_BLOSSOM

Enable Blossom algorithm (needed for full quad meshing) (default: ON)

ENABLE_BUILD_LIB

Enable ’lib’ target for building static Gmsh library (default: OFF)

ENABLE_BUILD_SHARED

Enable ’shared’ target for building shared Gmsh library (default: OFF)

ENABLE_BUILD_DYNAMIC

Enable dynamic Gmsh executable (linked with shared lib) (default: OFF)

ENABLE_BUILD_ANDROID

Enable Android NDK library target (experimental) (default: OFF)

ENABLE_BUILD_IOS

Enable iOS (ARM) library target (experimental) (default: OFF)

ENABLE_CGNS

Enable CGNS mesh export (experimental) (default: OFF)

ENABLE_CAIRO

Enable Cairo to render fonts (experimental) (default: ON)

ENABLE_CHACO

Enable Chaco mesh partitioner (alternative to Metis) (default: ON)

ENABLE_DINTEGRATION

Enable discrete integration (needed for levelsets) (default: ON)

ENABLE_FLTK

Enable FLTK graphical user interface (requires mesh/post) (default: ON)

ENABLE_FOURIER_MODEL

Enable Fourier geometrical models (experimental) (default: OFF)

ENABLE_GMM

Enable GMM linear solvers (simple alternative to PETSc) (default: ON)

ENABLE_GRAPHICS

Enable building graphics lib even without GUI (advanced) (default: OFF)

ENABLE_KBIPACK

Enable Kbipack (neeeded by homology solver) (default: ON)

ENABLE_MATHEX

Enable math expression parser (used by plugins and options) (default: ON)

ENABLE_MED

Enable MED mesh and post file formats (default: ON)

ENABLE_MESH

Enable mesh module (required by GUI) (default: ON)

ENABLE_METIS

Enable Metis mesh partitioner (default: ON)

ENABLE_MMG3D

Enable MMG3D 3D anisotropic mesh refinement (default: ON)

ENABLE_MPEG_ENCODE

Enable built-in MPEG movie encoder (default: ON)

ENABLE_MPI

Enable MPI (mostly for parser and solver - mesh generation is sequential) (default: OFF)

ENABLE_MSVC_STATIC_RUNTIME

Enable static Visual C++ runtime (default: OFF)

ENABLE_NATIVE_FILE_CHOOSER

Enable native file chooser in GUI (default: ON)

ENABLE_NETGEN

Enable Netgen 3D frontal mesh generator (default: ON)

ENABLE_OCC

Enable Open CASCADE geometrical models (default: ON)

ENABLE_ONELAB

Enable OneLab solver interface (default: ON)

ENABLE_ONELAB_METAMODEL

Enable OneLab metamodels (experimental) (default: ON)

ENABLE_OPENMP

Enable OpenMP (experimental) (default: OFF)

ENABLE_OPTHOM

Enable high-order mesh optimization tools (default: ON)

ENABLE_OS_SPECIFIC_INSTALL

Enable OS-specific (e.g. app bundle) installation (default: ON)

ENABLE_OSMESA

Enable OSMesa for offscreen rendering (experimental) (default: OFF)

ENABLE_PARSER

Enable GEO file parser (required for .geo/.pos files) (default: ON)

ENABLE_PETSC

Enable PETSc linear solvers (required for SLEPc) (default: ON)

ENABLE_PLUGINS

Enable post-processing plugins (default: ON)

ENABLE_POST

Enable post-processing module (required by GUI) (default: ON)

ENABLE_POPPLER

Enable Poppler for displaying PDF documents (experimental) (default: OFF)

ENABLE_QT

Enable dummy QT graphical interface proof-of-concept (experimental) (default: OFF)

ENABLE_RTREE

Enable RTREE (used for quad/hex mesh generation) (default: ON)

ENABLE_SALOME

Enable Salome routines for CAD healing (default: ON)

ENABLE_SGEOM

Enable SGEOM interface to OCC (experimental) (default: OFF)

ENABLE_SLEPC

Enable SLEPc eigensolvers (required for conformal compounds) (default: ON)

ENABLE_SOLVER

Enable built-in finite element solvers (required for compounds) (default: ON)

ENABLE_TAUCS

Enable Taucs linear solver (alternative to PETSc) (default: ON)

ENABLE_TETGEN

Enable Tetgen 3D initial mesh generator (default: ON)

ENABLE_TETGEN_OLD

Enable older version of Tetgen (default: OFF)

ENABLE_VORO3D

Enable Voro3D (for hex meshing, experimental) (default: ON)

ENABLE_WRAP_JAVA

Enable generation of Java wrappers (experimental) (default: OFF)

ENABLE_WRAP_PYTHON

Enable generation of Python wrappers (default: OFF)


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on February 9, 2014 using texi2html 5.0.

© manpagez.com 2000-2017
Individual documents may contain additional copyright information.