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

How do I modify jobscript.sh within my executor for job submission on SGE? #72

Open
codewithrakshya opened this issue Sep 24, 2024 · 0 comments

Comments

@codewithrakshya
Copy link

In the current setup, the default job script in Snakemake uses /bin/sh, which does not source Conda environments by default. This leads to issues when submitting jobs on systems like SGE, where the Conda environment needs to be sourced to run the job properly.

I would like to know if there’s a way to modify the jobscript to use /bin/bash instead, or alternatively, if there’s a way to adjust the shell prefix within an executor profile to ensure that Conda environments are properly activated. Would this be the right approach, or is there a more appropriate solution for handling this in the context of Snakemake’s job submission system?

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

1 participant