Skip to content

How to reassign a specific task when some remote cluster connection closed? #188

Closed
@seonghobae

Description

@seonghobae

Hi,

I want to know how to reassign a specific task which one was failed to get when some remote cluster connection closed.

Sometimes, I work in the for loop with listenv::listenv(), I experienced the remote cluster connection closed with internet connectivity issues, or remote R session was dead unexpectedly.

Then, I do not know which task was failed, gone, or successes. Hence I got an incomplete result or none.

In the current, I did like this with my little knowledge, that's time waste so many situations, I try to parallelise over one thousand model estimation works during Bayesian calibrations.

https://github.com/seonghobae/kaefa/blob/master/R/kaefa.R#L441-L462
https://github.com/seonghobae/kaefa/blob/master/R/newEngine.R#L226-L435

Here are my detailed questions:

  1. I want to know how to reassign a specific task which one was failed to get when some remote cluster connection closed.
  2. How to know which job fails with connectivity issues? (not to non-convergence)
  3. The future() has a failover (robustness) mode retry automatically some remote cluster has disconnect unexpectedly?

Best,
Seongho

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions