[ADOL-C] using adolc with openmp

Andrea Walther andrea.walther at uni-paderborn.de
Wed Mar 19 03:15:45 EDT 2014


Hi Ian,

> Is it possible to only trace the function on one thread and then
> simultaneously evaluate the derivatives (at different values) using
> multiple threads?

so far, it is not possible to create the tape only on thread and
to distribute it subsequently.

However, what does work is the following scenario:

You create the tape one each threat like in the example libprpar.cpp
in the examples directory of ADOL-C.

Subsequently you can then change the values of the variables on each 
thread to evaluate the different instances of your problem.

Hope this helps.

Best regards

Andrea

-- 
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
Fax:   ++49 5251 603728

**********



More information about the ADOL-C mailing list