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

slurm problem submitting DRMAA job #29

Open
psteinb opened this issue Jan 23, 2018 · 2 comments
Open

slurm problem submitting DRMAA job #29

psteinb opened this issue Jan 23, 2018 · 2 comments

Comments

@psteinb
Copy link
Collaborator

psteinb commented Jan 23, 2018

$ snakemake -j 2 -d /home/steinbac/projects/20180119-prepping-deconvolution-pipeline/cschmied/exampleData --cluster-config ./cluster.json --drmaa " {cluster.slurm_q} {cluster.slurm_extra}"
#...
Submitted DRMAA job (jobid 9701968)
Finished job 11.
1 of 15 steps (7%) done

rule hdf5_xml:
    input: dataset_one_first.xml
    output: dataset_one.xml, dataset_one.h5, dataset_one-00-00.h5_xml, dataset_one-01-00.h5_xml
    log: logs/b1_hdf5_xml.log
    jobid: 12

WorkflowError:
DRMAA Error: code 14: Invalid native specification:  --time=00:45:00 -n 1 -c 3 --mem-per-cpu=7000 (Unsupported option: -c)
Will exit after finishing currently running jobs.
Exiting because a job execution failed. Look above for error message

This needs investigation.

@sommerc
Copy link

sommerc commented May 17, 2018

Hi,

is there any news on this, I have the same problem right now. The -c flag is not supported in the drmaa-slurm native specification. What was it originally intended for?

Cheers,
Chris

@psteinb
Copy link
Collaborator Author

psteinb commented May 23, 2018

yes, the DRMAA API (even though it's an API) doesn't support -c. It's best to revert to the snakemake cluster CLI for now:

$ snakemake -j 2 -d /home/steinbac/projects/20180119-prepping-deconvolution-pipeline/cschmied/exampleData --cluster-config ./cluster.json --cluster "sbatch {cluster.slurm_q} {cluster.slurm_extra}"

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