I want every submitted job to have some value for the wckey, i.e:

#SBATCH --wckey=myproject

I made the appropriate changes to slurm.conf and slurmdb.conf and it works great. I can track how many hours people are using with those wckeys.

But now I want to make it mandatory to use a wckey. To do that I need to delete the default wckey associated with the user's account. I tried doing it as follows, but it still lets me submit jobs without a wckey. It probably thinks I have an "empty" default wckey.

sacctmgr mod user fhussa set defaultwckey=

[root@mas01 ~]# sacctmgr list user fhussa format=user,defaultwckey
      User  Def WCKey
---------- ----------
    fhussa