Merge pull request #818 from borglab/tbb-disabling-instructions
commit
dfc77f0967
|
|
@ -20,9 +20,10 @@ $ make install
|
||||||
Optional dependent libraries:
|
Optional dependent libraries:
|
||||||
- If TBB is installed and detectable by CMake GTSAM will use it automatically.
|
- If TBB is installed and detectable by CMake GTSAM will use it automatically.
|
||||||
Ensure that CMake prints "Use Intel TBB : Yes". To disable the use of TBB,
|
Ensure that CMake prints "Use Intel TBB : Yes". To disable the use of TBB,
|
||||||
disable the CMake flag GTSAM_WITH_TBB (enabled by default). On Ubuntu, TBB
|
disable the CMake flag `GTSAM_WITH_TBB` (enabled by default) by providing
|
||||||
may be installed from the Ubuntu repositories, and for other platforms it
|
the argument `-DGTSAM_WITH_TBB=OFF` to `cmake`. On Ubuntu, TBB may be
|
||||||
may be downloaded from https://www.threadingbuildingblocks.org/
|
installed from the Ubuntu repositories, and for other platforms it may be
|
||||||
|
downloaded from https://www.threadingbuildingblocks.org/
|
||||||
- GTSAM may be configured to use MKL by toggling `GTSAM_WITH_EIGEN_MKL` and
|
- GTSAM may be configured to use MKL by toggling `GTSAM_WITH_EIGEN_MKL` and
|
||||||
`GTSAM_WITH_EIGEN_MKL_OPENMP` to `ON`; however, best performance is usually
|
`GTSAM_WITH_EIGEN_MKL_OPENMP` to `ON`; however, best performance is usually
|
||||||
achieved with MKL disabled. We therefore advise you to benchmark your problem
|
achieved with MKL disabled. We therefore advise you to benchmark your problem
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ For instructions on updating the version of the [wrap library](https://github.co
|
||||||
```bash
|
```bash
|
||||||
cmake .. -DGTSAM_BUILD_PYTHON=1 -DGTSAM_PYTHON_VERSION=3.6.10
|
cmake .. -DGTSAM_BUILD_PYTHON=1 -DGTSAM_PYTHON_VERSION=3.6.10
|
||||||
```
|
```
|
||||||
|
If you do not have TBB installed, you should also provide the argument `-DGTSAM_WITH_TBB=OFF`.
|
||||||
- Build GTSAM and the wrapper with `make` (or `ninja` if you use `-GNinja`).
|
- Build GTSAM and the wrapper with `make` (or `ninja` if you use `-GNinja`).
|
||||||
|
|
||||||
- To install, simply run `make python-install` (`ninja python-install`).
|
- To install, simply run `make python-install` (`ninja python-install`).
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue