Skip to content
johnmoore4 edited this page May 21, 2015 · 6 revisions

MeshOpt can be built from source, or can be run from the binary provided in the root directory MESHOPT_ROOT/bin.

Building from source

Dependencies

MeshOpt links to four external libraries:

The path to the OpenCascade installation root must be passed to CMake when configuring. A sample configuration script is provided in the directory Demo.

The other three libraries will be downloaded and installed automatically if their CMake variables are not set by the user. See the sample installation script for an example of how to override the BLAS/LAPACK libraries.

To build MeshOpt from source:

  1. Clone the project: git clone https://github.com/johnmoore4/MeshOpt.git
  2. Generate an installation script. See the sample script for more details.
  3. Run the installation script: sh install_script.sh
  4. Build and install the project: make install

Running MeshOpt

MeshOpt must be run in the current working directory of a project, and must contain MeshOpt.config file. This file points to the geometry definition file and GMSH file in addition to specifying various runtime parameters. MeshOpt does not currently accept any command line arguments.

Clone this wiki locally