Borrar filtros
Borrar filtros

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

17 visualizaciones (últimos 30 días)
氢氰酸
氢氰酸 el 23 de Jul. de 2024 a las 5:51
Respondida: Dheeraj el 23 de Jul. de 2024 a las 6:03
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.

Respuestas (1)

Dheeraj
Dheeraj el 23 de Jul. de 2024 a las 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.

Categorías

Más información sobre Parallel Computing Fundamentals en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by