error using parallel pool (parpool)
Show older comments
Hi! im trying to load a simulation file in a simulator app that i have (it run with matlab runtime). suddenly the app got an error (it repeat in multiple computers).
the 'log' text when loading the simulation file in the app is:
Starting parallel pool (parpool) using the 'local' profile ...
Starting parallel pool (parpool) using the 'local' profile ...
Error using parpool (line 145)
Parallel pool failed to start with the following error.
Error in appdesigner.internal.service.AppManagementService/tryCallback (line 347)
Error in appdesigner.internal.service.AppManagementService>@(~,~)obj.tryCallback(app,startupFcn,false,[]) (line 156)
Caused by:
Error using parallel.internal.pool.InteractiveClient>iThrowWithCause (line 670)
Failed to locate and destroy old interactive jobs.
Error using parallel.Cluster/findJob (line 74)
Unknown type: concurrentconcurrent.
Error using matlab.apps.internal.GraphicsCallbackProxy/runCallbackFunction (line 23)
Error while evaluating GraphicsCallbackProxy CallbackFcn.
distcomp.feature( 'LocalUseMpiexec', false )
in the command window and it still not working.
the app is running only in a specific computers (clasified) so i cant share it
Note: I did a validation to my local cluster and the only unusual note is that the 'Job' ran with 6 workers.
Answers (1)
Gayatri
on 16 Apr 2024
Hi Roee,
The error message related to Failed to locate and destroy old interactive jobs and Unknown type: concurrentconcurrent suggests there might be a problem with the management of parallel jobs or a misconfiguration in your setup.
Here are a few steps you can try to diagnose and potentially resolve the issue:
- Clean Up Parallel Pool Environment: Before starting your application, ensure that any existing parallel pools are shut down and that there are no jobs that might be causing conflicts.
>> delete(gcp('nocreate')); % This command shuts down any existing parallel pool
- Check and Reset Parallel Configuration: Inspect your current parallel configuration and reset it to the default settings.
parallel.defaultClusterProfile('local'); % Reset the default profile to 'local'
- Validate Parallel Pool Setup: After cleaning up, try to manually start a parallel pool to see if the issue persists outside of your application environment. This can help in identifying if the issue is with the MATLAB parallel setup or something specific to your application.
>> parpool; % This command attempts to start a parallel pool using the default configuration
I hope it helps!
Categories
Find more on Parallel Computing Fundamentals in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!