-
Notifications
You must be signed in to change notification settings - Fork 22
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
Implement cluster sidecar #53
Comments
I'm guessing the best way to implement this would be something like Example
and then this just gets kept in a The Slurm profile polls this every 60 seconds. The only thing we have to test out is whether there is a line limit to this. For example, if I have 1500 jobs running, do I get all of them listed? I assume so, but will need to test this. @leoisl can you think of a better way of doing this? One thing that might slow this down is if the job has disappeared from the bjobs menu and we have to go searching in the log... I wonder if speaking with systems could be useful here? |
Another option here is to |
Looking at the slurm profile status-checker and the snakemake docs it looks like the sidecar needs to start some kind of server. The sidecar should output a single line (in the case of a REST server, this line could be the port the server is listening on and any credentials). This line is subsequently provided to the |
See
snakemake
new feature: snakemake/snakemake#1397This is a more efficient and better way to query for job statuses than
bjobs <jobid>
, but rather complex to implement. An implementation for slurm cluster can be found here: https://github.com/holtgrewe/snakemake-profiles-slurm/blob/slurm-sidecar/%7B%7Bcookiecutter.profile_name%7D%7D/slurm-sidecar.py and can be used as baseThe text was updated successfully, but these errors were encountered: