LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Ben Webb (ben_at_[hidden])
Date: 2002-09-10 04:24:06


On Tue, Sep 10, 2002 at 03:04:41PM +0800, Adam DeLisse wrote:
> Now that version 6.5.6 is "somewhat aware" of PBS, perhaps the experts
> could give examples or a tutorial about the appropriate submission of
> jobs using LAM-MPI to PBS, including any possible prologue or epilogue
> scripts and shell scripts that might need to be run as cleanup.

        I suggest you look at http://bellatrix.pcl.ox.ac.uk/~ben/pbs/#lam
which patches LAM to use the PBS TM interface (via. Mpiexec) for job
startup. It's then a trivial matter of using "lamboot; mpirun ..." in
your PBS script; all cleanup should be automatic, providing lamd doesn't
die catastrophically, although you can catch even this with a cronjob
that scans /tmp/lam-*@pbs*. (PBS also needs some patching, as it doesn't
behave well with daemons started from job scripts - see mom_softkill.patch
on the same page.)

> How would PBS setup for a Beowulf cluster differ from PBS setup
> from a collection of machines meant for serial programs only?

In this case, the only difference would be that you'd have to install
Mpiexec on each cluster machine.

        Ben

-- 
ben_at_[hidden]           http://bellatrix.pcl.ox.ac.uk/~ben/
"Computers in the future may weigh no more than 1.5 tons."
	- Popular Mechanics, forecasting the relentless march of science
_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/