MATLAB parallel pool startup takes forever when setting a network path as current folder

2 views (last 30 days)
Hello, I am using MATLAB R2019a (update 2 or 3) and R2018b (Update 5) currently. I find that when using MATLAB on Windows 10 and setting a windows shared folder on the network as current folder, starting the parallel pool usually (I would say 70% for R2019a, 20% for R2018b) takes forever (at least more than 120 min). No error message, zero CPU consumption, and the memory occupied by each individual MATLAB worker usually gets stucked at 290-310 MB. It happens in many different computers and laptops in my lab. Pressing "Ctrl+C" to abort the startup process and restart the parallel pool does not help. I hope to know the reason and solution for this phenomenon.
Pressing Ctrl+C during the startup process gives the following error output:
com.mathworks.mvm.exec.MvmCancellationException
at com.mathworks.mvm.exec.FutureResult.getInternal(FutureResult.java:409)
at com.mathworks.mvm.exec.FutureFevalResult.getInternal(FutureFevalResult.java:49)
at com.mathworks.mvm.exec.FutureResult.get(FutureResult.java:262)
at com.mathworks.toolbox.distcomp.util.mvm.Async$1.done(Async.java:51)
at com.mathworks.mvm.exec.MvmSwingWorker$1$1.run(MvmSwingWorker.java:142)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!