/bin/sh does not know the command source and me changing it to . results in Unrecognized Shell which i think conda is not happy with sh.
So the Example on https://gateway.dask.org/install-jobqueue.html is not working for me.
Anything else we need to know?:
Suggested change is to expose a config for the slurm script shebang, like you are already doing for dask_jobqueue.SLURMCluster
Describe the issue: I try to spawn a cluster via dask-gateway with the following config:
Slurm accepts the submission and tries to execute job. which fails with
inside the logs from that submission is:
and if i check how the script put together by the gateway with
/bin/sh
does not know the commandsource
and me changing it to.
results inUnrecognized Shell
which i think conda is not happy withsh
. So the Example on https://gateway.dask.org/install-jobqueue.html is not working for me.Minimal Complete Verifiable Example:
Anything else we need to know?: Suggested change is to expose a config for the slurm script shebang, like you are already doing for dask_jobqueue.SLURMCluster
Affected lines are: https://github.com/dask/dask-gateway/blob/bf04d65def1c6d6ca758d14b849735e2368789c8/dask-gateway-server/dask_gateway_server/backends/jobqueue/slurm.py#L72 https://github.com/dask/dask-gateway/blob/bf04d65def1c6d6ca758d14b849735e2368789c8/dask-gateway-server/dask_gateway_server/backends/jobqueue/slurm.py#L84
Environment: