-
Notifications
You must be signed in to change notification settings - Fork 131
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
Add custom options to sbatch command in SLURM #1728
Comments
which argument is that ? can you link to sbatch documentation ? can't it be written in the submitted file itself like we do for other args ? submitit/submitit/slurm/slurm.py Line 390 in f52443f
|
Thanks @gwenzek for your quick reply! It is a custom argument and not part of the official SLURM documentation. Our chair cooperates with a company that finances certain partitions of our cluster, let's call it "mycompany" for the moment. Every time we submit a job to one of these partitions, we are requested to confirm that we are allowed to use this partition for the job by pressing |
the interactive aspect will make it hard to implement. |
I'll have to check that with our admin but as of now, it is not possible to add the I completely understand that interactive confirmation is hard to implement. But it would be sufficient if I was able to pass on the I've forked the repo and changed
This works for me. But it would be preferable if you could set such flags directly in submitit. As far as I understand the structure of your code, a list of flags could be passed to the An alternative would be to modify Would you be open to such changes and which of the two variants do you prefer? |
Dear Submitit team,
I am using
submitit
to submit jobs to a SLURM cluster. For reasons, I need to executesbatch
with a particular argument when submitting jobs to a certain partition.Is there any chance you could add an option to pass customs arguments to be used with
sbatch
?It would need to be processed in
_make_submission_command()
insubmitit/slurm/slurm.py
.Thanks for maintaining this helpful library.
Best,
Nils
The text was updated successfully, but these errors were encountered: