Prev Next

@(@\newcommand{\W}[1]{ \; #1 \; } \newcommand{\R}[1]{ {\rm #1} } \newcommand{\B}[1]{ {\bf #1} } \newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} } \newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} } \newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} } \newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }@)@
Including the Sacado Speed Tests

Purpose
CppAD includes speed comparisons for the AD package Sacado ; see speed_sacado .

sacado_prefix
If Sacado is installed on your system, you can specify a value for its install sacado_prefix on the cmake command line. The value of sacado_prefix must be such that, for one of the directories dir in cmake_install_includedirs ,
     
sacado_prefix/dir/Sacado.hpp
is a valid way to reference to the include file Sacado.hpp;

Speed Tests
If you include sacado_prefix on the cmake command line, you will be able to run the Sacado speed correctness tests by executing the following commands starting in the distribution directory :
     cd build/speed/sacado
     make check_speed_sacado
After executing make check_speed_sacado, you can run a specific Sacado speed test by executing the command ./speed_sacado; see speed_main for the meaning of the command line options to this program.

get_sacado
If you are using Unix, you can download and install a copy of Sacado using get_sacado.sh . The corresponding sacado_prefix would be build/prefix.
Input File: omh/install/sacado_prefix.omh