[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Daily snapshot build comments - getrusage/Sparc 20 fixed



On Wed, 2 Sep 1998, John Heidemann wrote:

> On Wed, 02 Sep 1998 17:25:22 BST, Lloyd Wood wrote: 
> >back to running lots of simulations in parallel.
> 
> Btw, what mechanism are you using to sims in parallel?

I start the scripts by hand. I have a 'general' simulation script that
loads in scripts setting parameters passed by parameter (via
line-by-line eval - I keep wondering if there's a better way...) and
saving results under different filenames, so it's: 

machine1> ns constellation.tcl iridium66.tcl
machine2> ns constellation.tcl teledesic288.tcl

etc. Same NFS directory, same simulator binary, same constellation
script - execution is just on different machines.


> I (and other people here) have been using hand-written shell scripts
> to batch run parallel sims.  I'd be interested to know if you (or
> anyone) have looked into more turnkey approaches like Condor or other
> batch-scheduling systems.

Not me.

A way of automating this better would be nice, especially once my
coding is far more complete and simulations scale up to the point
where I'm looking at doing multiple simulations just to provide a
point on a graph on a page in an appendix of a PhD thesis. 

The only hand-written shell scripts I'm using at the moment are the
one-liners I use to configure snapshots:

> less startconf-ns 
configure --disable-static --with-tcl=$HOME/ns/tcl8.0
--with-tcl-ver=8.0 --with- otcl=$HOME/ns/otcl --with-tclcl=$HOME/ns/tclcl
--with-perl=/usr/local/bin --with-tk=$HOME/ns/tk8.0 --with-tk-ver=8.0
--with-dmalloc=$HOME/ns/dmalloc --enable-debug
--with-tcldebug=$HOME/ns/tcl-debug

...since copying this into the ns snapshot directory is far easier
than setting things by hand each time.

Cheers,

L.

<http://www.ee.surrey.ac.uk/Personal/L.Wood/>PGP<[email protected]>