Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Unable to run Admincenter for Distributed Computing - Parallel Processing

Asked by Manu Sharma on 13 Feb 2012
Latest activity Answered by Dauren on 7 Mar 2014

Hello,

I am trying to setup cluster computer and on one of the node I am repeatedly receiving an error in command prompt while trying to open admincenter (MATLAB\R2011a\toolbox\distcomp\bin).

I am not sure what is the problem and will really appreciate any advice or help.

Here is the full error code:

java.lang.UnsatisfiedLinkError: D:\Program Files\MATLAB\R2011a\bin\win64\nativeservices.dll: The specified procedure could not be found
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at com.mathworks.services.Prefs.<clinit>(Prefs.java:142)
        at com.mathworks.toolbox.distcomp.admincenter.PersistenceManager.getOrCr
eateSessionDir(PersistenceManager.java:338)
        at com.mathworks.toolbox.distcomp.admincenter.PersistenceManager.getSess
ionFile(PersistenceManager.java:322)
        at com.mathworks.toolbox.distcomp.admincenter.PersistenceManager.retriev
eSession(PersistenceManager.java:206)
        at com.mathworks.toolbox.distcomp.admincenter.PersistenceManager.access$
100(PersistenceManager.java:26)
        at com.mathworks.toolbox.distcomp.admincenter.PersistenceManager$1.loadS
ession(PersistenceManager.java:42)
        at com.mathworks.toolbox.distcomp.admincenter.PersistenceManager$Abstrac
tSessionImporter.getSession(PersistenceManager.java:450)
        at com.mathworks.toolbox.distcomp.admincenter.PersistenceManager$Abstrac
tSessionImporter.getTestData(PersistenceManager.java:431)
        at com.mathworks.toolbox.distcomp.admincenter.AdminCenter.initData(Admin
Center.java:117)
        at com.mathworks.toolbox.distcomp.admincenter.AdminCenter.access$200(Adm
inCenter.java:58)
        at com.mathworks.toolbox.distcomp.admincenter.AdminCenter$1.run(AdminCen
ter.java:89)
        at java.awt.event.InvocationEvent.dispatch(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)
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: com.mathw
orks.services.Prefs.nativeGetPreferencesDirectory()Ljava/lang/String;
        at com.mathworks.services.Prefs.nativeGetPreferencesDirectory(Native Met
hod)
        at com.mathworks.services.Prefs.getPropertyDirectory(Prefs.java:161)
        at com.mathworks.services.Prefs.load(Prefs.java:217)
        at com.mathworks.services.Prefs.<clinit>(Prefs.java:149)
        at com.mathworks.toolbox.distcomp.admincenter.PersistenceManager.getOrCr
eateSessionDir(PersistenceManager.java:338)
        at com.mathworks.toolbox.distcomp.admincenter.PersistenceManager.getSess
ionFile(PersistenceManager.java:322)
        at com.mathworks.toolbox.distcomp.admincenter.PersistenceManager.retriev
eSession(PersistenceManager.java:206)
        at com.mathworks.toolbox.distcomp.admincenter.PersistenceManager.access$
100(PersistenceManager.java:26)
        at com.mathworks.toolbox.distcomp.admincenter.PersistenceManager$1.loadS
ession(PersistenceManager.java:42)
        at com.mathworks.toolbox.distcomp.admincenter.PersistenceManager$Abstrac
tSessionImporter.getSession(PersistenceManager.java:450)
        at com.mathworks.toolbox.distcomp.admincenter.PersistenceManager$Abstrac
tSessionImporter.getTestData(PersistenceManager.java:431)
        at com.mathworks.toolbox.distcomp.admincenter.AdminCenter.initData(Admin
Center.java:117)
        at com.mathworks.toolbox.distcomp.admincenter.AdminCenter.access$200(Adm
inCenter.java:58)
        at com.mathworks.toolbox.distcomp.admincenter.AdminCenter$1.run(AdminCen
ter.java:89)
        at java.awt.event.InvocationEvent.dispatch(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)

0 Comments

Manu Sharma

2 Answers

Answer by Amit Mahajan on 13 Feb 2012

Hello Manu,

It looks like the Admin Center code is unable to call the file "D:\Program Files\MATLAB\R2011a\bin\win64\nativeservices.dll".

Couple of things to try out:

1. If you have MATLAB installed on the machine, trying launching MATLAB and run the MATLAB command "prefdir". (Determines the preference directory)

2. Try re-installing the products. Note: The product MATLAB also needs to be installed along with the Parallel Computing Toolbox. (Typical this seems to be the issue)

Hope this helps with debugging your problem.

0 Comments

Amit Mahajan
Answer by Dauren on 7 Mar 2014

Hello!

I've the same problem when start The Admin Center on Matlab R2011b. But any of 2 steps didn't fix my problem. Have any another idea to solve it?

0 Comments

Dauren

Contact us