Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to enable slurm job accounting? #12

Open
fengggli opened this issue Jun 30, 2022 · 0 comments
Open

how to enable slurm job accounting? #12

fengggli opened this issue Jun 30, 2022 · 0 comments

Comments

@fengggli
Copy link

Hi!

Description

I am trying to rebuild my slurm cluster to JetStream2 following this guide (https://xcri-docs.readthedocs.io/en/latest/toolkits/vc-installation-js2/)

I am using the current "rocky-linux" branch and the jetstream featured rocky image, as suggested by the above guide. I can build the cluster correctly, but by default the job accounting is disabled:

[rocky@slurm-headnode-tt ~]$ sacct -Pj12
Slurm accounting storage is disabled

Question

Is there any guide/suggestsion on how to enable job accounting correctly, for Cluster created using the "rocky-linux" branch?

PS

I used to have an old fork (a914cc0) of this repo that I use to deploy cluster in JetStream1. for my JetStream1 deployment, I could uncomment those two lines in /etc/slurm/slurm.conf for the job accounting to work:

AccountingStorageType=accounting_storage/filetxt
AccountingStorageLoc=/var/log/slurm/slurm_jobacct.log

However, this does not work for the newer deployment, and it seems that the filetext accounting storage type is deprecated in newer slurm.

Thanks!
Feng

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant