Why am I unable to use parpool or fail to initialize the interactive session.

17 次查看(过去 30 天)
When attempting to use parpool in Parallel Computing Toolbox, it will not open or I receive an error message like the one below. I am unable to validate my 'Parallel pool test' cluster profile (known as 'local' for R2021b ).
Error Report: Failed to initialize the interactive session.
Caused by:
Error using parallel.internal.pool.AbstractInteractiveClient>iThrowIfBadParallelJobStatus ( line 426 )
The interactive communicating job failed with no message.
Debug Log: CLIENT LOG OUTPUT
Checking communicating job status.
Job state is 'failed'.
No task error messages.
Communicating job debug log:
LOG FILE OUTPUT:
Session failed to start when creating InteractiveClient. Error: Error using parallel.internal.pool.AbstractInteractiveClient>iThrowWithCause (line 305 )
Failed to initialize the interactive session.

回答(1 个)

Dheeraj
Dheeraj 2024-7-23,6:03
Hi 氢氰酸,
I understand you are facing few errors when trying to use MATLAB's Parallel Computing Toolbox and validate your cluster.
There are several issues that can prevent the parpool from starting like license not being configured properly, Cluster configuration not done properly etc.
You could refer to the below MATLAB answer and try the mentioned workarounds that resolves the issue.
Thank you.

类别

Help CenterFile Exchange 中查找有关 Parallel Computing Fundamentals 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by