LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Brian Barrett (brbarret_at_[hidden])
Date: 2003-10-28 11:30:18


On Oct 28, 2003, at 8:15 AM, Michael Sabielny wrote:

> In the past (lam 6.5.x, etc.) upon submitting a job the reserved nodes
> were
> known via the PBS_NODEFILE thing. This gave me the opportunity to boot
> the
> LAM cluster "manually" with the reserved nodes in PBS_NODEFILE like
> this:

<snip>

> What do I have to do now if Task Management is available? Do I have to
> give an
> explicit lamboot/lamhalt command before/after the mpirun statement in
> the
> pbs.script or is LAM smart enough to detect this by itself?
>

You do the exact same thing. You don't have to provide a hostfile (if
you do, LAM will simply ignore it). So your pbs script should look
something like:

---pbs.script---
cd $PBS_O_WORKDIR

lamboot -v

mpirun C application

lamhalt -v
---pbs.script---

The lamhalt isn't strictly necessary, but I would leave it in just in
case. Every now and then, PBS does something stupid and doesn't clean
up everyone very nicely. And it's always nice to have the complete
session output in your PBS output files :).

Hope this helps,

Brian

-- 
   Brian Barrett
   LAM/MPI developer and all around nice guy
   Have a LAM/MPI day: http://www.lam-mpi.org/