On Sun, Mar 15, 2009 at 23:03, Wei Tan <[email protected]> wrote: > I am using both T1 and T2 to model a workflow. > In case of implicit iteration, T1 will maintain the sequence of the > output w.r.t. the input (say a[1,2,3] will generate b[1,2,3])while T2 > will not. > Is my assumption right?
No, the sequence will always be kept - but the execution might not be in the same order if you have allowed for multiple threads on a processor (currently not exposed in 2.0 GUI, where the default number of threads is 1 - however the number of threads set in a Taverna 1 workflow would be honoured). (As thread #2 might finish before #1 - and pipelining will not block the outputs from flowing) The individual jobs of an iteration come with indexes, which is why they can be assembled back into the right order in the resulting lists. So a[1,2,3] would generate b[1,2,3] in Taverna 2 as well, but you might *receive* b[2] before b[1] if you have multiple threads on the processor. As the indexes are kept, this could propagate so that c[2] can be produced before c[1]. If a processor expects a list (or list of a list, etc) then it will not receive these intermediate values, but it will wait until the full list is received. The elements of this list will also be in the expected order. -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ taverna-hackers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/taverna-hackers Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq
