-
Notifications
You must be signed in to change notification settings - Fork 23
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
Submitting multi-threaded jobs using slurm-drmaa #2
Comments
I use |
Unfortunately, those parameters don't prevent jobs from being split across multiple nodes, at least on our SLURM cluster. This is despite explicitly specifying
|
Hi, I found the same issue and then tried this drmaa supported option: This option will result in the following: NumNodes=1 NumCPUs=4 NumTasks=1 CPUs/Task=1 ReqB:S:C:T=0:0:: Has there been any update or ideas to add support for --cpus-per-task? |
I believe |
@BrunoGrande I realized I never followed up on your question. I believe it works for me because I have |
It should be possible to use |
|
The version of the drmaa library used by Galaxy 19.01 does not yet support the --cpus-per-task option. Compare: natefoo/slurm-drmaa#2
I realize it's strange to ask a question like this on a repository, but I've spent the past hour trying to figure it out on my own to no avail. I thought that you might be able to answer it in 30 seconds. I would greatly appreciate any help!
In essence, how do you submit multi-threaded jobs using slurm-drmaa? To be clear, I want the job to run on one node (i.e.
--ntasks=1
). I use the--cpus-per-task
option withsrun
orsbatch
, but this option isn't available in the native specification for slurm-drmaa.I've tried different combinations of
--mincpus
,--nodes
,--ntasks-per-node
and--ntasks
, but they either allow jobs to be split across multiple nodes or they fail. I've looked through the code for galaxyproject/galaxy and galaxyproject/pulsar, but I couldn't find any hints.The text was updated successfully, but these errors were encountered: