[Cook] parallel confusion

Jody Hagins jody at atdesk.com
Sat Jun 21 04:00:29 EST 2003


I am trying to cook in parallel (actually using multiple machines). 
Misunderstanding of several comments in the UG have caused terrible
confusion.

Specifically, when I write a recipe, do all local variables have to have
thread IDs?

What is the granularity of an ET (execution thread)?

Does the entire recipe run in the same ET, or is it possible for each
command within a recipe to be run in separate ETs?

If all variables are shared among all ETs, then is it safe to reference
target, need, and other builtin variables, or will they take on the
value of the most recent ET?

When I build local variables, do they all need to have thread-id
somewhere in their name, or is this just the case for global variables?

Is there some way to declare a variable as per-thread, so it does not
always have to be referenced as [myvar[thread-id]]?

Does anyone have any cookbooks that run correctly and safely in parallel
mode?



Again, I really appreciate all the help.  Someday I will be supplying
assistance, instead of being the one requiring it all the time...


Thanks again!


-- 
Jody Hagins

Nirvana?  That's the place where the powers that be and their friends
hang out.
		-- Zonker Harris



More information about the Cook-users mailing list