/* $Id: fadbad_prefix.omh 2791 2013-04-26 11:59:58Z bradbell $ */ /* -------------------------------------------------------------------------- CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell CppAD is distributed under multiple licenses. This distribution is under the terms of the Eclipse Public License Version 1.0. A copy of this license is included in the COPYING file of this distribution. Please visit http://www.coin-or.org/CppAD/ for information on other licenses. -------------------------------------------------------------------------- */ $begin fadbad_prefix$$ $dollar @$$ $spell dir CppAD fadbad cmake badiff includedirs $$ $section Including the FADBAD Speed Tests$$ $index fadbad, speed$$ $index speed, fadbad$$ $head Purpose$$ CppAD includes speed comparisons for the AD package $href%http://www.fadbad.com%FADBAD%$$; see $cref speed_fadbad$$. $head fadbad_prefix$$ $index fadbad, prefix$$ $index prefix, fadbad$$ If FADBAD is installed on your system, you can specify a value for its install $icode fadbad_prefix$$ on the $cref cmake$$ command line. The value of $icode fadbad_prefix$$ must be such that, for one of the directories $icode dir$$ in $cref/cmake_install_includedirs/cmake/cmake_install_includedirs/$$, $codei% %fadbad_prefix%/%dir%/FADBAD++/badiff.h %$$ is a valid way to reference to the include file $code badiff.h$$; $head Speed Tests$$ $index speed, fadbad$$ $index fadbad, speed$$ If you include $icode fadbad_prefix$$ on the $cref cmake$$ command line, you will be able to run the FADBAD speed correctness tests by executing the following commands starting in the $cref/distribution directory/download/Distribution Directory/$$: $codei% cd build/speed/fadbad make check_speed_fadbad %$$ After executing $code make check$$, you can run a specific FADBAD speed test by executing the command $code ./speed_fadbad$$; see $cref speed_main$$ for the meaning of the command line options to this program. $children% bin/get_fadbad.sh %$$ $head get_fadbad$$ $index get, fadbad$$ $index fadbad, get$$ If you are using Unix, you can download and install a copy of Fadbad using $cref get_fadbad.sh$$. The corresponding $icode fadbad_prefix$$ would be $code build/prefix$$. $end