On 11/11/24 21:39, Ole Holm Nielsen wrote:
> Hi Henk,
>
> On 11-11-2024 20:06, hmeij--- via slurm-users wrote:
> > Manual compilation of 24.05.4. slurmctld and slurmd run on same server.
> All works ok but all test jobs end up pending with InvalidAccount message.
> I do not use slurm database and have not enabled accounting. Can not find
> an answer for this behavior or a misconfiguration. slurm.conf file was
> generated using easy config tool. Any ideas how to fix this? Thx,
>
> In the slurm.conf manual page for 24.05 the accounting options are listed:
>
>> AccountingStorageType
>> The accounting storage mechanism type. Acceptable values at present
>> "accounting_storage/slurmdbd". The "accounting_storage/slurmdbd" value
>> indicates that accounting records will be written to the Slurm DBD,
>> which manages an underlying MySQL database. See "man slurmdbd" for
>> more information.
>> When this is not set it indicates that account records are not maintained.
>
> In other words, the use of slurmdbd seems to be *required* as of Slurm
> 24.05! The use of AccountingStorageType=accounting_storage/none seems to
> be deprecated, but I can't offhand find this to be documented. Can anyone
> else help?
It seems that accounting_storage/none was removed (deprecated) from 23.11,
but it was still documented until 23.02:
https://github.com/SchedMD/slurm/blob/slurm-23.02/doc/man/man5/slurm.conf.5#L210
Note that in 22.05 the "accounting_storage/none" still implied that
account records would not work, as you have experienced when getting
InvalidAccount messages:
> The default value is "accounting_storage/none" and indicates that account
> records are not maintained.
IHTH,
Ole
--
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-leave@lists.schedmd.com