[ADOL-C] Issue with OpenMP

Ingrid Hallen ingridhallen at hotmail.com
Mon Sep 19 03:46:53 EDT 2011


Thanks for your reply. I am aware that the order of execution is unpredictable. However, what I
don't understand is why the values of t1 and t2 for corresponding i and i+1 varies. For instance in my example
I would be ok with the following output:

0 1 1.000 2.000
2 3 3.000 4.000
3 4 4.000 5.000
1 2 2.000 3.000But (sometimes) I get is this:
0 1 1.000 2.000
2 3 3.000 2.000
3 4 4.000 4.000
1 2 2.000 3.000

So the problem lies in the values of the last two columns.

-- Ingrid

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/adol-c/attachments/20110919/e0cf8ae6/attachment.html>


More information about the ADOL-C mailing list