Skip to content

SLURM Array jobs #201

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

Open
TheRealLoliges486 opened this issue Apr 11, 2025 · 1 comment
Open

SLURM Array jobs #201

TheRealLoliges486 opened this issue Apr 11, 2025 · 1 comment

Comments

@TheRealLoliges486
Copy link

Description

Hi,

Would it be possible to add support for the Job Array feature of SLURM in law?

Motivation

I'm looking to submit a large number of jobs (on the order of a million) to my SLURM schedd. According to best practices and recommendations (e.g., ETH Zurich's guidance), using Job Arrays is the preferred way to handle such high-throughput workloads efficiently. It also helps avoid overloading the scheduler and ensures fair usage alongside other users.

Support for this feature would significantly improve scalability and resource management for such large-scale workflows.

Thanks for considering this!

Cheers,
Nico

@riga
Copy link
Owner

riga commented Apr 11, 2025

Hey @TheRealLoliges486 ,

yes, this is indeed possible. A while ago, I introduced the generic concept of grouped jobs, which is interpreted by e.g. the HTCondorJobManager as Cluster jobs, which is htcondor's interpretation of the feature you described for slurm.

I'm afraid it is somewhat involved to add support for that and I'm relatively busy in the next 2-3 weeks, so if you need this feature within that time scale, feel free to give it a try. Otherwise, I would put this on my list for May.

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

No branches or pull requests

2 participants