-
Notifications
You must be signed in to change notification settings - Fork 23
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
Snakemake fails with executor SLURM with slurm_persist_conn_open_without_init #114
Comments
We are clearly dealing with a cluster issue of some kind, here (after all, Snakemake only triggers Allow me an additional question: What is the output of |
I am not sure about hiccups during this time, but it is a consistent issue; this has happened 3AM on multiple different days. I am closing this issue, as this problem is seemingly outside of the scope of Snakemake development, so I appreciate the time to help and troubleshoot and will continue this conversation with our representatives given your suggested followups. Cheers! |
Thanks! Your SLURM is fairly recent. That probably is not an issue, then. Perhaps, at least, you are able to restart with |
Yes, I can still continue with the |
I have learned that our CHPC systems shut down for a brief moment in order to make a backup every night. Is there any way of specifying "onerror" handlers that attempt to resubmit jobs within some amount of time? Most of what I know about resubmission behavior has to do with the rules themselves failing, and not necessarily errors with communicating with the Slurm system. Thanks for any help! |
PROBLEM
When I use snakemake with a cluster profile and leave it running overnight, trying both with a
screen
process or with anohup snakemake ... &
detachment, I will run into the following error below for each currently running rule/job:Snakemake version: 8.11.0
Snakemake Slurm Executor Plugin version: 0.5.0
Below is the configuration profile being used to run Snakemake with the Slurm plugin:
Noticably, this error has occurred multiple times in the past, and these jobs always fail at 3:00AM of the following morning. Note this line in the error statement:
sacct -X --parsable2 --noheader --format=JobIdRaw,State --starttime **2024-06-06T03:00** --endtime now --name jobname1
Also of note, an IT representative I've communicated with from our HPC team noted that they have had success with an overnight Nextflow workflow using screen. I have since tried their recommendation using
screen
, but again encountered the error above.ATTEMPTED SOLUTIONS
I have run the same workflow using a "local" profile, using a high-resource interactive node on the same HPC, to confirm that the workflow completes as normal outside of a Slurm environment.
The following Github commit indicates that this problem was addressed in release 0.1.3 of the Snakemake Slurm Executor Plugin: #5 . Yet, the issue persists with my later version.
QUESTION
Is this problem likely to be caused by Snakemake, or is it more likely to do with how my institution's HPC is configured and how Snakemake interacts with it? Or is there more information that I could provide that could help me pinpoint the cause of this issue?
The text was updated successfully, but these errors were encountered: