batchtools icon indicating copy to clipboard operation
batchtools copied to clipboard

Socket parallelization + resizing the terminal window = crash

Open ryananeff opened this issue 5 years ago • 3 comments

Submitting 55 jobs in 55 chunks using cluster functions 'Socket' ... Submitting [============>--------------------------------------] 25% eta: 47m Error in unserialize(socklist[[n]]) : 'connection' must be a connection

ryananeff avatar Jun 19 '19 18:06 ryananeff

To add to this error message: It seems to happen when you resize the terminal window when you are running batchtools inside a screen (I'm not making this up!)

ryananeff avatar Aug 08 '19 17:08 ryananeff

Any updates as to this issue? It is a problem when running long jobs, as I want to be able to see the progress bar and detach/reattach/resize the window.

ryananeff avatar Sep 13 '19 18:09 ryananeff

I think the batchtools maintainers need more information from you than this in order to say anything useful or even comment on this, e.g. R version, session info, operating system, in what type of terminal, size of data/analysis, batchtools backend, etc. A minimal reproducible self-contained example is known to have solved many problems. It might also help others who might say "yup, I've got exactly this problem".

HenrikBengtsson avatar Sep 13 '19 19:09 HenrikBengtsson