-
Notifications
You must be signed in to change notification settings - Fork 29
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
nohup not helping in Helixer.py, run is stopped when connection is lost #128
Comments
I'm not the dev. I've been running helixer using singularity and have encountered no issues backgrounding and nohuping. Example execution below...
If I were you, I'd double check the commands you are using, then double check your environment and relevant bashrc/login/whatever. And I guess also try the containerized version of Helixer if you haven't? IDK. Just trying to be helpful. |
Nohup should work, but try using screen or tmux as an alternative. I haven't seen any problems like this running helixer via a nextflow pipeline using a singularity container. |
Hi, yeah, I am unaware of any interaction between Helixer and nohup, and such an interaction would be surprising. I would hazard a guess the run could be failing for a different reason on the larger genome, and nohup is only obscuring the output. Thus I agree with the comment from @nhartwic, which importantly includes an example on how to differentiate standard error and standard out with nohup. Were I running this, I might further change I can also only second @colindaven's advice on using tmux or screen. Either of those will make remote work easier, in general. |
@alexandrosbousios you might need to also google |
Thank you all for the advice and discussion. I know that nohup is expected to work, possibly my set up was not the optimal. I will try what you suggest in future helixer runs and come back to this thread with updates! |
Hi Team,
Great tool, thank you so much! Unless I am doing something wrong, when I run Helixer.py with nohup in the terminal, the process is killed when the connection with the server freezes, so nohup is not doing what is supposed to do in this case. The genome is big and it will takes >1 day to finish. I have tried with A. lyrata chr8, and with other small genomes, and they all finish fine in a short period of time.
Is there any way around this?
Thank you
Alex
The text was updated successfully, but these errors were encountered: