Yes that would work just fine.

On 02/20/14 09:19, Paul Edmon wrote:

So could you instead add them to a different account and then after that remove the old account association?

-Paul Edmon-

On 02/20/2014 12:14 PM, Danny Auble wrote:

Sorry Paul, there is no way to change a users account. It doesn't work well in accounting.

You would have to add a new association.

These "set" options below are the only options you can modify on a user...

sacctmgr help
...
       modify user        - (set options) AdminLevel=, DefaultAccount=,
                            DefaultQOS=, DefaultWCKey=, Fairshare=,
                            GrpCPUMins=, GrpCPURunMins=,
                            GrpCPUs=, GrpJobs=, GrpMemory=, GrpNodes=,
                            GrpSubmitJob=, GrpWall=,
                            MaxCPUMins=, MaxCPUs=, MaxJobs=, MaxNodes=,
                            MaxSubmitJobs=, MaxWall=, and QosLevel=,
                            RawUsage= (with admin privileges only)
                            (where options) Accounts=, AdminLevel=,
                            Clusters=, DefaultAccount=, Names=,
                            Partitions=, and QosLevel=
...

Danny

On 02/20/14 09:01, Paul Edmon wrote:

I'm working on reorging our slurmdb and as part of that we are reassocating people with different accounts. I'm having problems figure out though how to use sacctmgr to change a persons account from one value to another. Does anyone have any suggestions?

For example lets say that I have:

User= user1, Account=account1

I want to set it to:

User= user1, Account=account2

How would I do that? I tried the obvious and naive methods but no such luck.

-Paul Edmon-

Reply via email to