[CppAD] release build for CppAD?
Brad Bell
bradbell at seanet.com
Wed Nov 30 09:14:28 EST 2005
Sachiko Honda wrote:
> Is there a way to build the CppAD library with full code optimization?
>
> Sachiko
> _______________________________________________
> CppAD mailing list
> CppAD at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cppad
>
>
Currently, there are only three routines in libCppAD.a; namely
http://www.coin-or.org/CppAD/Doc/speedtest.xml
http://www.coin-or.org/CppAD/Doc/nearequal.xml
http://www.coin-or.org/CppAD/Doc/erf.xml
A configure command line option to compiles this library for best speed
could be added (if the users desire it).
The real speed optimization with CppAD can be realized by following the
directions under the heading Speed in the file
http://www.coin-or.org/CppAD/Doc/faq.xml
You should compile your code with optimization, without debugging,
and with the preprocessor symbol NDEBUG defined.
(The Speed tests do this.)
Note that defining NDEBUG
will turn off all of the error checking and reporting that
is done using the default definitions in CppADError
.
More information about the CppAD
mailing list