[Cook] Distcc and Cook

Simon Clift ssclift at math.uwaterloo.ca
Wed Feb 16 03:41:13 EST 2005


On Tue, 2005-02-15 at 09:22 -0600, Jerry Pendergraft wrote:
> OK then the simple solution is to do
>  parallel_rsh = distcc_wrap;
> For a longer explanation .. in case it helps.

Thanks for that explanation.  I'd been hoping to avoid
doing a cook_rsh wrapper since as far as cook is
concerned, all of the processes should appear to be
executing on the localhost.  DistCC pulls together
what the compilation needs, pipes it over to the
machine where the compilation is to be done, then
gets the compiled file back over a pipe.  The box
doing the compilation otherwise has no access to 
the files of the originating machine.

I hit some troubles with shell quoting on the wrapper, 
and eventually just tried ssh for everything, but again
only one thread at a time started, even though 8 should
have (-par 8).

Then I found my problem: I'd wrapped most of my compiles
in [shell] because of some parameter quoting hassles
I'd had a long time ago.  Removing that seems to have
gotten things going.

Now, if only my admins would update our big parallel
box from gcc-2.95.0... :-(

Thanks again for your help.
-- Simon

-- 
Simon Clift                        ssclift at math dot uwaterloo dot ca
Ph.D. Student, Computational Finance
Scientific Computing Group, School of Computer Science
University of Waterloo
Waterloo, Ontario, Canada   N2L 3G1




More information about the Cook-users mailing list