Error using parpool. Parallel pool failed to start with the following error. For more detailed information, validate the profile 'Processes' in the Cluster Profile Manager.
Mostra commenti meno recenti
Error using parpool
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>iThrowWithCause
Failed to initialize the interactive session.
Error using parallel.internal.pool.AbstractInteractiveClient>iThrowIfBadParallelJobStatus
The interactive communicating job errored with the following message: An unexpected error occurred accessing a parallel pool. The underlying error was: Failed to
bind to endpoint: tcp://tcpnodelay=localhost:27470/protocol/catapult
Cause: protectedInit():: No ports to bind!
Errors encoountered:
Address already in use
Risposte (1)
Edric Ellis
il 17 Apr 2023
1 voto
This is probably the following known problem in R2023a: https://www.mathworks.com/support/bugreports/2968710 . There are workaround steps posted there.
5 Commenti
RH
il 19 Apr 2023
Any other work around? I run my code on a cluster where I (think I) cannot change the startup file
Edric Ellis
il 19 Apr 2023
Modificato: Edric Ellis
il 19 Apr 2023
You should be able to add the taskStartup.m as part of the AttachedFiles when starting the pool. Something like this:
parpool(AttachedFiles = "path/to/taskStartup.m")
Gustavo Lunardon
il 20 Apr 2023
I have almost the same error
poolobj = parpool;
Starting parallel pool (parpool) using the 'Processes' profile ...
Error using parpool
Parallel pool failed to start with the following error. For more detailed information, validate the profile 'Processes' in the
Cluster Profile Manager.
Caused by:
Error using parallel.internal.pool.AbstractInteractiveClient>iThrowWithCause
Failed to initialize the interactive session.
Error using parallel.internal.pool.AbstractInteractiveClient>iThrowIfBadParallelJobStatus
The interactive communicating job failed with no message.
I tried your solution but I cannot edit the taskStartup.m and attaching a mofidied version on a nonprotected folder did solve the problem. Any suggestion?
Edric Ellis
il 20 Apr 2023
@Gustavo Lunardon that error looks different enough to me that it might be something completely different. I suggest contacting MathWorks support.
Gustavo Lunardon
il 20 Apr 2023
Thanks for the advice!
Categorie
Scopri di più su Parallel Computing Fundamentals in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!