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

Make it possible to use slurm job submission and control on cluster which do not make sacct user-accessible #14

Open
hejung opened this issue Mar 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@hejung
Copy link
Collaborator

hejung commented Mar 10, 2024

I recently learned that there are some (weirdly configured) clusters on which users do not have access to sacct and each sacct call will fail. I am not sure how common this is (and I do not understand the necessity that leads cluster admins to this sort of configs), but we should be able to also write a version of the asyncmd.slurm.SlurmProcess that uses scontrol to check for the running jobs.

This version will probably less performant and it will unfortunately not be able to parse all exit codes that slurm logs as scontrol only works for running jobs and only the database accessible through sacct keeps track of all expired jobs (successful and failed). It should therefore only be enabled via a configuration function (asyncmd.config.enable_slurm_scontrol_job_parsing or similar) and live parallel to the sacct implementation.

@hejung hejung added the enhancement New feature or request label Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant