R2024b parpool crashing when being activated with 24 workers.

76 views (last 30 days)
!!! Update: These crashes seem to be happening quite randomly, regardless of the number of workers that are used.
Dear all,
Whenever i try to start a parpool with >20 workers on the processes profile, an error occurs and the parallel pool automatically gets shut down. I have tried validating the profile with the cluster profile manager, and using any value above 20 workers seems to be producing this error for some reason, despite my CPU having 24 cores. I've never experienced this problem on Matlab 2024a, and I have always been able to start parallel pools with up to 24 workers.
Is there a known fix for this? It has only been happening since updating to Matlab R2024b. My CPU is an Intel Core i9-14900KF.
Thanks in advance, I attached the error below if it can be useful, and a few snapshots of the cluster profile manager validations.
Command window output:
Starting parallel pool (parpool) using the 'Processes' profile ...
Error using parpool (line 133)
Parallel pool failed to start with the following error. For more detailed information,
validate the profile 'Processes' in the Cluster Profile Manager.
Error in parallel.internal.ui.PoolHelper.startPool (line 12)
parpool();
^^^^^^^^^
Caused by:
Error using parallel.internal.pool.AbstractInteractiveClient>@()checker.checkState()
(line 121)
The parallel pool job errored with the following message: MATLAB worker shut down
unexpectedly with status 1 during task execution.
Parallel pool using the 'Processes' profile is shutting down.
This parallel pool has been shut down.
Caused by:
The client lost connection to worker 2 (Task 2; Host: localhost), potentially due to
network issues or errors during the interactive communicating job.
With 16 workers (same output when using 20):
With 24 workers:
  3 Comments
Matteo D'Ambrosio
Matteo D'Ambrosio on 25 Sep 2024
Edited: Matteo D'Ambrosio on 25 Sep 2024
Thanks for the reply!
Yes the error messages are the same, the only difference is the number (ID) of the worker that fails.
Chao Wang
Chao Wang ungefär 4 timmar ago
I faced the same problem and I have no idea why it happened.

Sign in to comment.

Answers (1)

Sergio E. Obando
Sergio E. Obando on 25 Sep 2024
While not exactly the same error, this post covers some good troubleshooting steps: Validation Fails
If you prefer or if those steps do not resolve your issue, I would highly recommend contacting Technical Support.
  6 Comments
Henrik Teneberg
Henrik Teneberg on 24 Oct 2024
Hi Sergio,
I have installed 2024b Update 1. Does that include the update to Matlab Service Host? The issue is unfortunately still there.
I should also mention that I run Matlab as an .exe under MCR. I have used Update 1 both when compiling and as MCR version.
Sergio E. Obando
Sergio E. Obando on 28 Oct 2024
Hi Henrik, if this is through MATLAB runtime I am unsure if the root cause is the same. Please reach out to support as they may need to troubleshoot this with you.

Sign in to comment.

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!