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

missing slurm qos parameter #300

Open
giardine opened this issue Oct 13, 2023 · 2 comments
Open

missing slurm qos parameter #300

giardine opened this issue Oct 13, 2023 · 2 comments

Comments

@giardine
Copy link

First I am able to run the pipeline in the open queue, so I know that everything is installed properly. In case it makes a difference, this is a conda install, with Slurm. But I would like to be able to run this under an allocation to avoid long queues. In our system we need to not only define the account and partition but also the qos. This fails with the ENCODE pipelines. In the slurm*.out files I see that the qos is not being used.
In default.conf:
slurm-partition=burst
slurm-qos=burst3x

In slurm*.out:
2023-10-13 12:37:15,399|caper.hpc|INFO| Running shell command: sbatch -t 48:00:00 --mem 4G -p burst -A xxxx --export=ALL -J CAPER_62 /storage/home/bmg137/miaq8ut7.sh
sbatch: error: Batch job submission failed: Invalid qos specification

Belinda

@leepc12
Copy link
Contributor

leepc12 commented Nov 6, 2023

There is no such slurm-qos parameter in Caper. But you can still customize the leader job submission command line in Caper's conf file (~/.caper/default.conf) here. Also please remove slurm-account if it's not required for your cluster.

slurm-partition=burst
#slurm-account=xxxxxx <------ please remove this if not needed

...

slurm-leader-job-resource-param=-t 48:00:00 --mem 4G   DEFINE_ANY_EXTRA_QOS_PARAMETER_HERE

@giardine
Copy link
Author

giardine commented Nov 6, 2023 via email

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

2 participants