LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Michael Sabielny (sabielny_at_[hidden])
Date: 2003-10-29 02:19:16


Am Dienstag, 28. Oktober 2003 17:30 schrieb Brian Barrett:
> 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

Thanks for your quick answer. Does it apply to the mpiexec command, too?

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

mpiexec C application

---pbs.script---

Michael