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 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)

This is probably the following known problem in R2023a: https://www.mathworks.com/support/bugreports/2968710 . There are workaround steps posted there.

5 Kommentare

Any other work around? I run my code on a cluster where I (think I) cannot change the startup file
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")
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?
@Gustavo Lunardon that error looks different enough to me that it might be something completely different. I suggest contacting MathWorks support.

Melden Sie sich an, um zu kommentieren.

Kategorien

Produkte

Version

R2023a

Gefragt:

am 17 Apr. 2023

Kommentiert:

am 20 Apr. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by