LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Tim Prince (n8tm_at_[hidden])
Date: 2007-06-27 14:57:48


sds_at_[hidden] wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi
> we have a cluster on which several people want to run their lam/mpi jobs
> as themselves. alas, this appears to be impossible.
>
> we have a special "lampi" user and lamboot is run as "lampi".
> we have a daemon (run as lampi) who accepts "job requests" from
> individuals, queues them, and runs them using mpirun one by one.
> it works just fine, except that the jobs are run as "lampi".
> we want the jobs to be run as the owner, so we tried to have the daemon
> run them as "sudo -u <user> mpirun ...".
> this fails with the message
>
Typically, each user job would be a script which sets the necessary
environment variables, including PATH, and starts (and later stops) its
own MPI daemon.