Why won't parallel pool start under MCR r2022b?
Show older comments
I have a codebase that starts a local parallel pool when performing one unique operation. I'm running this code inside a Windows Server 2022 environment. This codebase successfully launches the local parallel pool, and the pool performs all operations successfully, if I execute the code from within Matlab r2022b via the Command Window. But if I compile it into an application and launch the executable, the executable is unable to start the local parallel pool successfully. The executable is able to perform all other operations successfully; just not the operation starting the parallel pool. Any thoughts about why the executable does not function correctly?
1 Comment
Xiaoqiu
on 12 Apr 2024
I have the same problem. I export the cluster profile of 'Local' into local.mlsettings and pass it to the executable file as an input argument. But the parpool function crashes:
Starting parallel pool (parpool) using the 'local' profile ...
Error using parpool (line 149)
Parallel pool failed to start with the following error.
Error in tmpVelVorMean_LSC_Ver9_Curta (line 125)
Caused by:
Error using parallel.internal.pool.InteractiveClient>iThrowWithCause (line 676)
Failed to initialize the interactive session.
Error using parallel.internal.pool.InteractiveClient>iThrowIfBadParallelJobStatus (line 814)
The interactive communicating job failed with no message.
parallel:cluster:PoolCreateFailed
Answers (1)
Steven Lord
on 1 Aug 2023
0 votes
Can you confirm that you've included the cluster profile in your application? See this documentation page for more information.
1 Comment
Jonathan Kosbab
on 1 Aug 2023
Categories
Find more on Parallel Computing Fundamentals in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!