Unable to run compiled function that uses parallel toolbox
2 次查看(过去 30 天)
显示 更早的评论
The direct error messagebox I get is:
"Failed to start a parallel pool. (For information in addition to the causing error, validate the profile 'local' in the Cluster Profile Manager.)"
Validating the local cluster profile succeeds.
The MatlavDesktopCreateError.log reads:
java.lang.Error: ActionData AbstractNamedUniqueID object with unique ID 'close-genome-desktop' and user-visible name 'Exit NGS Browser'. is already registered.
com.mathworks.mwswing.binding.KeyBindingManager.throwError(KeyBindingManager.java:623)
com.mathworks.mwswing.binding.KeyBindingManager.addAction(KeyBindingManager.java:201)
com.mathworks.mwswing.binding.KeyBindingManager.parseAndRegisterActions(KeyBindingManager.java:71)
at com.mathworks.services.binding.MatlabKeyBindings.<clinit>(MatlabKeyBindings.java:618)
at com.mathworks.widgets.action.BaseAbstractAction.<init>(BaseAbstractAction.java:24)
at com.mathworks.widgets.action.AbstractNewAction.<init>(AbstractNewAction.java:24)
at com.mathworks.hg.peer.FiguresGroup$NewFigureAction.<init>(FiguresGroup.java:78)
at com.mathworks.hg.peer.FiguresGroup.createToolBar(FiguresGroup.java:68)
at com.mathworks.hg.peer.FiguresGroup.<init>(FiguresGroup.java:43)
at com.mathworks.hg.peer.FiguresGroup.getInstance(FiguresGroup.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.mathworks.widgets.desk.DTGroup.createPropertyProvider(DTGroup.java:253)
at com.mathworks.widgets.desk.DTGroup.getPropertyProvider(DTGroup.java:190)
at com.mathworks.widgets.desk.DTOccupant.getProperty(DTOccupant.java:748)
at com.mathworks.widgets.desk.DTOccupant.getToolstripTabs(DTOccupant.java:520)
... (the stack continues a bit further down, but this post space seems limited).
I've tried the compiler-pragma workaround mentioned here and the explicit parpool instantiation mentioned here, with no results. Calling setSchedulerMessageHandler as mentioned here didn't shed any more light.
Any insight would be greatly appreciated!
-Ofek
1 个评论
Thomas Ibbotson
2016-4-27
What is your compiled app doing?
The stack trace has nothing related to the Parallel Computing toolbox in it. It appears to be something to do with the MATLAB desktop which is odd for a parallel application.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Parallel Computing Fundamentals 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!