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
|