Thanks a lot Trey.

In fact, I had to simply create a linux user with the same name as  slurm
user and then everything worked just fine - all jobs had an accounted
associated with it.

Thanks again
Anna


2014-08-10 22:09 GMT+02:00 Trey Dockendorf <[email protected]>:

> Does 'sacctmgr show user user1' return output or does 'sacctmgr show
> account user1'?  Accounts in the database are more like groups than users.
> To run as another user requires a different flag at command line.  At least
> that's my understanding.  Users in the database belong to accounts, so if a
> user belongs to multiple accounts the --account flag allows the submitter
> to specify their account association to use.
>
> - Trey
>
>
> Anna Kostikova <[email protected]> wrote:
>
>
> Dear slurm users/developers I have installed Slurm in combination with
> Saga library and have hard time getting user statistics out. What I need is
> to know which user submitted which task. How can I determine this? More
> specifically, how can I set up slurm so that tasks from different users are
> run on different nodes of my cluster via sbatch utility by keeping
> information about who run what? For example, I created "user1" in my slurm
> database and then run sbatch with an option --account=user1 from a console
> on a server , but squeue shows that task is submitted from user "root"
> (same without --account option) . Is it possible to know which user
> submitted what or set it all with slurm/saga? Thanks a lot Anna=
>

Reply via email to