> Has anyone used the BATCH_CMD facility in our SConstruct to run
> compiles or regressions using LSF?  If so, any patches you can share?

I am very interested as well.  I looked into this at one point and
Gabe may have as well while he was working for me, but we never did
it.  One thing to look at while working on this is pyLSF.

http://www.gingergeeks.co.uk/pylsf/

All that said, in general, I was never too happy with the way that
BATCH_CMD works for the build part because there is so much latency in
submitting a job that the build may as well be done on a single system
with a lot of cores.  I was working with the model of doing the build
locally and then I was planning to use something like qdo for the
regressions.

I also wrote a script that that scheduled a single job on as many LSF
nodes as possible and that job would run distccd (one per core) on all
of the nodes that it was able to grab.  The head node would gather the
list of nodes that it had and build a hosts file for distccd and then
I used distcc from the host.  This seems to be a decent solution for
builds.  If you want these scripts, let me know and I'll try to find
them (I should start using them more to be honest.  It really made
builds pretty fast.)

Of course, the correct way to do all this stuff is probably to use the
above model of running some sort of SCons daemon on each node and then
fire tasks off to the daemons from the central guy.  Of course this
would require writing a Taskmaster for SCons and would likely be a
fair amount of work.

Finally, for simply building, a huge amount of time is spent on the
serial task of building the dependency graphs.  This is a problem I've
been trying to fix for a long time, but scons makes it really
difficult to fix.

Sorry for the stream of consciousness.  I've thought a lot about our
build system and often wished it were better in several ways.

  Nate
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to