Purpose
CppAD has a set of speed tests that are used to compare
Adolc with other AD packages.
This section links to the source code the Adolc speed tests
(any suggestions to make the Adolc results faster are welcome).
AdolcDir
To run these tests, you must include the configure command line option
ADOLC_DIR=AdolcDir during installation
.
After the Unix install make
command,
you can then run the Adolc speed tests
with the following commands (relative to the distribution directory):
speed/adolc/adolc correct seed where seed is a positive integer see for the
random number generator uniform_01
.
This will check that the speed tests have been built correctly.
You can run the command
speed/adolc/adolc speed seed to see the results of all the speed tests.
See speed_main
for more options.
C++ Compiler Flags
The C++ compiler flags used to build the Adolc speed tests are
AM_CXXFLAGS = -O2 -DNDEBUG $(CXX_FLAGS) -DADOLC where CXX_FLAGS is specified by the
configure
command.