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

23 Ansichten (letzte 30 Tage)
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.

Antworten (1)

Dheeraj
Dheeraj am 23 Jul. 2024
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.

Kategorien

Mehr zu Parallel Computing Fundamentals finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by