Purpose
CppAD has a set of speed tests that are used to compare
Sacado with other AD packages.
This section links to the source code the Sacado speed tests
(any suggestions to make the Sacado results faster are welcome).
SacadoDir
To run these tests, you must include the configure command line option
SACADO_DIR=SacadoDir during installation
.
After the Unix install make
command,
you can then run the Sacado speed tests
with the following commands (relative to the distribution directory):
speed/sacado/sacado correct seed This will check that the speed tests have been built correctly.
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/sacado/sacado 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 Sacado speed tests are
AM_CXXFLAGS = -O2 -DNDEBUG $(CXX_FLAGS) -DSACADO \
-DRAD_EQ_ALIAS -DRAD_AUTO_AD_Const where CXX_FLAGS is specified by the
configure
command.