Fail to start parallel pool
14 views (last 30 days)
Show older comments
I have this problem
Starting parallel pool (parpool) using the 'local' profile ...
Caught unexpected fl::except::IInternalException
>> i delete the local_cluster_jobs,but cant solve this problem

Answers (1)
Abhishek Kumar Singh
on 28 Feb 2025
I've often seen this error occur due to conflicts or unexpected interactions within the MATLAB environment, such as user-defined functions having the same names as internal MATLAB functions. Here are some general steps you can take to troubleshoot and resolve these conflicts, which might be preventing the parallel pool from starting:
- Clear the workspace to ensure no residual variables or functions are interfering:
clear all;
- Reset the MATLAB path to its default state to remove any path conflicts:
restoredefaultpath;
rehash toolboxcache;
- Review the current directory and any folders added to the MATLAB path for custom scripts or functions that might shadow built-in functions.Also, you might want to check any startup files (e.g., startup.m) for commands or settings that might affect the MATLAB environment.
- Sometimes MATLAB preferences can become corrupted. Resetting them can help:
- Close MATLAB.
- Navigate to the MATLAB preferences directory (usually found in the user’s home directory under .matlab).
- Rename the preferences folder for the current version (e.g., rename R2023a to R2023a_old).
- Restart MATLAB, which will create a new preferences folder.
By following these steps, you should be able to identify and resolve any underlying conflicts or issues in your MATLAB environment that might be preventing the parallel pool from starting, assuming the issue is as I suspect.
Let me know if this helps!
0 Comments
See Also
Categories
Find more on Startup and Shutdown 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!