R2024b parpool crashing when being activated with 24 workers.

76 Ansichten (letzte 30 Tage)
Matteo D'Ambrosio
Matteo D'Ambrosio am 25 Sep. 2024
Kommentiert: Chao Wang vor etwa 13 Stunden
!!! 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 Kommentare
Matteo D'Ambrosio
Matteo D'Ambrosio am 25 Sep. 2024
Bearbeitet: Matteo D'Ambrosio am 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 vor etwa 11 Stunden
I faced the same problem and I have no idea why it happened.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Sergio E. Obando
Sergio E. Obando am 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 Kommentare
Henrik Teneberg
Henrik Teneberg am 24 Okt. 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 am 28 Okt. 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.

Melden Sie sich an, um zu kommentieren.

Produkte


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by