Overview
Incorporate the Intel® TBB library into the Open Dynamics Engine*.
Please see ../ODE_simulate/
for a standalone example.
Files
- ode-src-0.8-tbb.zip
- Patch to incorporate the Intel® TBB library
into ode-src-8.0.zip.
Build
- Download ode-src-8.0.zip
from http://www.ode.org.
- Unpack ode-src-8.0.zip.
- Unpack ode-src-8.0-tbb.zip into the same directory.
Overwrite any existing files.
- Follow platform-specific instructions:
- Microsoft* Visual Studio* .NET 2003
- Use ode-0.8\build\vs2003\ode-tbb-pfor.sln for
the parallel_for version
and ode-0.8\build\vs2003\ode-tbb-task.sln for the
task-based version.
The resultant executable is located in
in ode-0.8\lib\{Debug,Release}Dll-tbb-{pfor,task}\test_buggy_objects.exe.
- Microsoft* Visual Studio* 2005
- Use ode-0.8\build\vs2005\ode-tbb-pfor.sln for
the parallel_for version
and ode-0.8\build\vs2005\ode-tbb-task.sln for the
task-based version.
The resultant executable is located in
in ode-0.8\lib\{Debug,Release}Dll-tbb-{pfor,task}\test_buggy_objects.exe.
- Linux* and Mac OS X*
- Open a command prompt to the directory.
Use ./configure --with-tbb=pfor for
the parallel_for version
and ./configure --with-tbb=task for the task-based version.
Run make to build ODE along with test_buggy_objects.
The resultant executable is located in
in ode-0.8/ode/test/test_buggy_objects.
Usage
Set the TBB_NUM_THREADS environment variable to control the
number of threads TBB uses.
Copyright 2007 Intel Corporation. All Rights Reserved.
* Other names and brands may be claimed as the property of others.