Skip to content
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

Problem with slurm backend when calling scancel #45

Open
statquant opened this issue Apr 26, 2019 · 2 comments
Open

Problem with slurm backend when calling scancel #45

statquant opened this issue Apr 26, 2019 · 2 comments

Comments

@statquant
Copy link

Hello,
When I call scancel to cancel all tasks submitted to a slurm cluster by future.batchtools then hit CTRL-C to get the terminal back, R displays an error per task and is painfully slow to come back.

@HenrikBengtsson
Copy link
Collaborator

How many jobs are we talking about? Basically, is it "painfully slow to come back" for a single job or for 100's of jobs?

What's probably going on is that futures are being garbage collected by R and we cleaned up they reach out to Slurm to query about each job's status. Doing lots of these queries might take some time. At least that's my guess based on the limited info I have at hand.

@statquant
Copy link
Author

Hello, I was referring to 1000 jobs.
Interrupt with Ctrl-C becomes useless I would say I get an error message per second.
I have little information as I am forced to kill -9 the master R process.
I can probably replicate this this easily, is there any information you'd like me to report?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants