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 error #16

Open
smilesun opened this issue Feb 5, 2025 · 3 comments
Open

slurm error #16

smilesun opened this issue Feb 5, 2025 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@smilesun
Copy link
Collaborator

smilesun commented Feb 5, 2025

No SLURM account given, trying to guess.
Guessed SLURM account: aih
No partition was given for rule 'generate_data', and unable to find a default partition. Trying to submit without partition informati
on. You may want to invoke snakemake with --default-resources 'slurm_partition='.
WorkflowError:
SLURM sbatch failed. The error message was sbatch: error: Batch job submission failed: No partition specified or system default parti
tion

@smilesun
Copy link
Collaborator Author

smilesun commented Feb 5, 2025

@Alex-Markham

@smilesun
Copy link
Collaborator Author

smilesun commented Feb 6, 2025

Now the erros is

No rule to produce --cluster=sbatch --partition=cpu_p --qos=cpu_normal --nice=10000 -t 24:00:00 -c 2 --mem=10G (if you use input functions make sure that they don't raise unexpected exceptio
ns).

@smilesun smilesun added bug Something isn't working help wanted Extra attention is needed labels Feb 6, 2025
@Alex-Markham
Copy link
Owner

can you push your changes so I can see the bash script being run? My guess is that you're using quotes, something like "--cluster=sbatch --partition=cpu_p --qos=cpu_normal --nice=10000 -t 24:00:00 -c 2 --mem=10G", so snakemake is interpreting it as a path for a file it should produce. Try removing the quotes and/or ordering things differently in the command (or push the changes and I can change the command to something I think will work)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants