
Slurm ジョブ スケジューリング システム内のユーザーを現在のグループから他のグループに移動したいのですが、明らかなことを試してもエラーが発生します。
sacctmgr modify user where name=example set account=groupb
唯一の方法は、それを削除して新しいアカウントで再度作成することです。
sacctmgr delete user example account=groupa
sacctmgr add user example account=groupb
ありがとう
答え1
複数のアカウントを使用し、最後に追加したアカウントをデフォルトのアカウントに設定する別の方法を見つけました。
sacctmgr add user example account=groupb
sacctmgr modify user where user=example set defaultaccount=groupb
答え2
私はこの回答に出会い、ここで私の見解を共有したいと思います。Slurm では、すべてが関連付けを中心に展開されます。Zhen の回答はまさにその通りです。そのユーザーに新しい関連付けを追加し、古い関連付けを削除するだけです。または、古い関連付けを残して、ユーザーがどのアカウントでジョブを実行するかを決定できるようにします (srun の -U オプションを参照)
sacctmgr remove user where user=example and account=oldgroup
sacctmgr add user name=example defaultaccount=newgroup ...