error run MATLAB on computer cluster (multithreading error?)

11 views (last 30 days)
Hi, I am running MATLAB on a computer cluster, recently I get error messages every time when I submit a MATLAB job to the cluster. The error was generated before start executing my code. I showed the computer cluster staff the error message and he said "It looks like there is some sort of multithreading error being thrown." Anyone have thoughts or suggestions on this? Thanks a lot!
Here is the error message that I got:
/gpfs22/local/centos6/matlab/2016a/bin/matlab-glselector.sh: line 26: 2914 Aborted (core dumped) $MATLAB/bin/$ARCH/need_softwareopengl $display -v _ "$need_softwareopengl_log" 2_&1
MATLAB is selecting SOFTWARE OPENGL rendering.
_ M A T L A B (R) _
Copyright 1984-2016 The MathWorks, Inc.
R2016a (9.0.0.341360) 64-bit (glnxa64)
February 11, 2016
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.
Academic License
{?Can't reload
'/gpfs22/local/centos6/matlab/2016a/bin/glnxa64/libmwhgbuiltins.so'
Error in connector.internal.autostart.run
Error in connector.internal.autostart.run
}?
__ __ __ Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: std::exception for "matlab.workingfolder.LastFolderPath": fl:filesystem:SystemError
at com.mathworks.services.settings.Setting.nativeSet(Native Method)
at com.mathworks.services.settings.Setting.set(Setting.java:913)
at com.mathworks.services.settings.Setting.set(Setting.java:769)
at com.mathworks.services.settings.Setting.set(Setting.java:709)
at com.mathworks.mlwidgets.prefs.InitialWorkingFolder.setStringSettingValue(InitialWorkingFolder.java:50)
at com.mathworks.mlwidgets.prefs.InitialWorkingFolder.access$000(InitialWorkingFolder.java:15)
at com.mathworks.mlwidgets.prefs.InitialWorkingFolder$1.actionPerformed(InitialWorkingFolder.java:34)
at com.mathworks.jmi.MatlabPath$DeferredActionEvent.dispatch(MatlabPath.java:152)
at com.mathworks.util.QueueEvent$QueueTarget.processEvent(QueueEvent.java:89)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Accepted Answer

Walter Roberson
Walter Roberson on 6 Sep 2016
I suggest trying removing the preferences file on the cluster, as I suspect it is getting stuck trying to restore some of the history information.
I would probably go after History.xml matlab.prf matlab.settings matlabprefs.mat MATLAB_Editor_State.xml MATLABDesktop.xml

More Answers (0)

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!