| [ << ] | [ < ] | [ 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:
-
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.)
-
To update your local version to the latest and greatest, go in the gmsh
directory and type:
svn update
-
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_3MEnable proprietary 3M extension (default: OFF)
ENABLE_ACISEnable ACIS geometrical models (experimental) (default: ON)
ENABLE_ANNEnable ANN (used for fast point search in mesh/post) (default: ON)
ENABLE_BAMGEnable Bamg 2D anisotropic mesh generator (default: ON)
ENABLE_BFGSEnable BFGS (used by some mesh optimizers) (default: ON)
ENABLE_BLAS_LAPACKEnable BLAS/Lapack for linear algebra (required for meshing) (default: ON)
ENABLE_BLOSSOMEnable Blossom algorithm (needed for full quad meshing) (default: ON)
ENABLE_BUILD_LIBEnable ’lib’ target for building static Gmsh library (default: OFF)
ENABLE_BUILD_SHAREDEnable ’shared’ target for building shared Gmsh library (default: OFF)
ENABLE_BUILD_DYNAMICEnable dynamic Gmsh executable (linked with shared lib) (default: OFF)
ENABLE_BUILD_ANDROIDEnable Android NDK library target (experimental) (default: OFF)
ENABLE_BUILD_IOSEnable iOS (ARM) library target (experimental) (default: OFF)
ENABLE_CGNSEnable CGNS mesh export (experimental) (default: OFF)
ENABLE_CAIROEnable Cairo to render fonts (experimental) (default: ON)
ENABLE_CHACOEnable Chaco mesh partitioner (alternative to Metis) (default: ON)
ENABLE_DINTEGRATIONEnable discrete integration (needed for levelsets) (default: ON)
ENABLE_FLTKEnable FLTK graphical user interface (requires mesh/post) (default: ON)
ENABLE_FOURIER_MODELEnable Fourier geometrical models (experimental) (default: OFF)
ENABLE_GMMEnable GMM linear solvers (simple alternative to PETSc) (default: ON)
ENABLE_GRAPHICSEnable building graphics lib even without GUI (advanced) (default: OFF)
ENABLE_KBIPACKEnable Kbipack (neeeded by homology solver) (default: ON)
ENABLE_MATHEXEnable math expression parser (used by plugins and options) (default: ON)
ENABLE_MEDEnable MED mesh and post file formats (default: ON)
ENABLE_MESHEnable mesh module (required by GUI) (default: ON)
ENABLE_METISEnable Metis mesh partitioner (default: ON)
ENABLE_MMG3DEnable MMG3D 3D anisotropic mesh refinement (default: ON)
ENABLE_MPEG_ENCODEEnable built-in MPEG movie encoder (default: ON)
ENABLE_MPIEnable MPI (mostly for parser and solver - mesh generation is sequential) (default: OFF)
ENABLE_MSVC_STATIC_RUNTIMEEnable static Visual C++ runtime (default: OFF)
ENABLE_NATIVE_FILE_CHOOSEREnable native file chooser in GUI (default: ON)
ENABLE_NETGENEnable Netgen 3D frontal mesh generator (default: ON)
ENABLE_OCCEnable Open CASCADE geometrical models (default: ON)
ENABLE_ONELABEnable OneLab solver interface (default: ON)
ENABLE_ONELAB_METAMODELEnable OneLab metamodels (experimental) (default: ON)
ENABLE_OPENMPEnable OpenMP (experimental) (default: OFF)
ENABLE_OPTHOMEnable high-order mesh optimization tools (default: ON)
ENABLE_OS_SPECIFIC_INSTALLEnable OS-specific (e.g. app bundle) installation (default: ON)
ENABLE_OSMESAEnable OSMesa for offscreen rendering (experimental) (default: OFF)
ENABLE_PARSEREnable GEO file parser (required for .geo/.pos files) (default: ON)
ENABLE_PETSCEnable PETSc linear solvers (required for SLEPc) (default: ON)
ENABLE_PLUGINSEnable post-processing plugins (default: ON)
ENABLE_POSTEnable post-processing module (required by GUI) (default: ON)
ENABLE_POPPLEREnable Poppler for displaying PDF documents (experimental) (default: OFF)
ENABLE_QTEnable dummy QT graphical interface proof-of-concept (experimental) (default: OFF)
ENABLE_RTREEEnable RTREE (used for quad/hex mesh generation) (default: ON)
ENABLE_SALOMEEnable Salome routines for CAD healing (default: ON)
ENABLE_SGEOMEnable SGEOM interface to OCC (experimental) (default: OFF)
ENABLE_SLEPCEnable SLEPc eigensolvers (required for conformal compounds) (default: ON)
ENABLE_SOLVEREnable built-in finite element solvers (required for compounds) (default: ON)
ENABLE_TAUCSEnable Taucs linear solver (alternative to PETSc) (default: ON)
ENABLE_TETGENEnable Tetgen 3D initial mesh generator (default: ON)
ENABLE_TETGEN_OLDEnable older version of Tetgen (default: OFF)
ENABLE_VORO3DEnable Voro3D (for hex meshing, experimental) (default: ON)
ENABLE_WRAP_JAVAEnable generation of Java wrappers (experimental) (default: OFF)
ENABLE_WRAP_PYTHONEnable generation of Python wrappers (default: OFF)
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on February 9, 2014 using texi2html 5.0.
