[ADOL-C] tape as binary string to use at compile time

Andrea Walther awalther at math.uni-paderborn.de
Tue Mar 6 03:39:04 EST 2018

Dear Giang Bui,

this was indeed the original idea when
designing ADOL-C: The tapes could be generated,
stored and reused at a later time.

So for this purpose you may store the tapes on disc
and use the information in these binary files for later
use. So in principle, if you generate the tapes at one place
with a specific identifier the approach that you are proposing
should work if you use the same identify later on.

Best regards

Andrea Walther

Quoting hg <hgbk2008 at gmail.com>:

> Dear Adol-C developer
> I wonder if we can extract the tape as an ascii string representing a
> binary (e.g. encoded by libz). Then one can use that string to bind to a
> specific function/derivative evaluation. The tape information will then be
> included during compilation. Although one has to generate the tape offline
> but I think it can help to avoid the use of ADOLC_OPENMP for multithreaded
> application. In my case, although I worked locally at the material level
> but I have to modify the code upstream to assert the ADOLC_OPENMP for
> multithreading. That is somewhat manageable, but I assume that when we have
> a correct and stable version of the code, it makes sense to introduce to
> binary at compile time to improve performance, additionally reduce
> maintenance overhead. Please let me know if my idea making any sense.
> Best regards
> Giang Bui

Prof. Dr. Andrea Walther
Lehrstuhl fuer Mathematik und ihre Anwendungen
Institut fuer Mathematik
Universitaet Paderborn
Warburger Str. 100
33098 Paderborn

Email: andrea.walther at uni-paderborn.de
Phone: ++49 5251 602721
        ++49 5251 602724 (sekr.)
Fax:   ++49 5251 603728


More information about the ADOL-C mailing list