-
Notifications
You must be signed in to change notification settings - Fork 3
Installation
MeshOpt can be built from source, or can be run from the binary provided in the root directory MESHOPT_ROOT/bin.
MeshOpt links to four external libraries:
- OpenCascade -- http://www.opencascade.org/
- BLAS/LAPACK -- eg. OpenBLAS https://github.com/xianyi/OpenBLAS/
- Armadillo (wrapper or BLAS) -- http://arma.sourceforge.net/
- libLBFGS -- http://www.chokkan.org/software/liblbfgs/
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:
- Clone the project:
git clone https://github.com/johnmoore4/MeshOpt.git - Generate an installation script. See the sample script for more details.
- Run the installation script:
sh install_script.sh - Build and install the project:
make install
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.