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.
Ältere Kommentare anzeigen
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
Antworten (1)
Edric Ellis
am 17 Apr. 2023
1 Stimme
This is probably the following known problem in R2023a: https://www.mathworks.com/support/bugreports/2968710 . There are workaround steps posted there.
5 Kommentare
RH
am 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
am 19 Apr. 2023
Bearbeitet: Edric Ellis
am 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
am 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
am 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
am 20 Apr. 2023
Thanks for the advice!
Kategorien
Mehr zu Parallel Computing Fundamentals finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!