|base_adolc.hpp||Enable use of AD<Base> where Base is Adolc's adouble Type|
|mul_level_adolc.cpp||Using Adolc with Multiple Levels of Taping: Example and Test|
|mul_level_adolc_ode.cpp||Taylor's Ode Solver: A Multi-Level Adolc Example and Test|
adolc_prefixon the cmake command line. The value of
adolc_prefixmust be such that, for one of the directories
dirin cmake_install_includedirs ,
is a valid way to reference to the include file
adouble.h; Note that CppAD assumes ADOL-C has been configured with its sparse matrix computations enabled; i.e, using
In other words ColPack is installed and with the same prefix as ACOL-C; see get_colpack.sh .
adolc_prefixon the cmake command line, you will be able to run the ADOL-C examples listed above by executing the following commands starting in the distribution directory :
If you do this, you will see an indication that the examples
mul_level_adolc_odehave passed their correctness check.
adolc_prefixon the cmake command line, you will be able to run the ADOL-C speed correctness tests by executing the following commands starting in the distribution directory :
make check_speed_adolc, you can run a specific ADOL-C speed tests by executing the command
./speed_adolc; see speed_main for the meaning of the command line options to this program.
LD_LIBRARY_PATH. For example, if you use the
bashshell to run your programs, you could include
.bashrcin your home directory:
in order for ADOL-C to run properly. If
adolc_prefixbegins with a disk specification, you must use the Cygwin format for the disk specification. For example, if
d:/adolc_baseis the proper directory,
/cygdrive/d/adolc_baseshould be used for