On Friday, August 15, 2003, at 08:03 AM, Ricardo Fonseca wrote:
> I've been trying to use lam 7.0 under OpenPBS. So far I've been able
> to boot lam through OpenPBS, and sucessfully run jobs. This is done
> through using either of the following in my pbs script:
> lamboot -ssi boot tm
> mpirun C executable
> wipe lamboot -ssi boot tm
> or simply
> mpiexec -ssi boot tm C executable.
>
> However, I still don't get CputUse (I only get WalltUse). Does anyone
> have an example on how to get this working on lam 7.0?
You shouldn't have to do anything - LAM just does the "right" thing to
not leave PBS's session tracking. Your application can't leave the
session it was started in (by calling setsid() or something like that),
or PBS can't track usage. Note that OpenPBS is notorious for not
getting the small things like this correct - you might want to make
sure that PBS is tracking usage for simple applications (just have an
app that enters a tight spin loop to eat up cycles - no MPI).
Hope this helps,
Brian
--
Brian Barrett
LAM/MPI developer and all around nice guy
Have a LAM/MPI day: http://www.lam-mpi.org/
|