Running batch jobs makes current matlab session busy

Hello, I'm running 4 batch jobs on my machine which works fine, other than that the current matlab session stays busy while the jobs run, so I cant carry on working... whereas I thought with running batch jobs on other workers current session should be free. Is there anything I'm missing?

4 Commenti

How are you launching the batch jobs? If you run something like:
j = batch('myscript');
That should return immediately (or at least pretty quickly) and let you continue working in the client MATLAB session.
yes that's what I do. I noticed with one job it frees the session but two or more jobs keep matlab busy
That shouldn't be happening. Could you post a minimal reproduction that demonstrates the problem on your system?
It turns out this was caused by a wait command somewhere in the code that I had missed.

Accedi per commentare.

Risposte (0)

Categorie

Richiesto:

il 25 Lug 2016

Commentato:

il 3 Set 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by