matlabpool error and local cluster profile SPMD validation failed

5 views (last 30 days)
When tried to run matlabpool, gives the error message below:
----
matlabpool open stopped. Error using matlabpool (line 144) Failed to open matlabpool. (For information in addition to the causing error, validate the profile 'local' in the Cluster Profile Manager.)
Caused by: Error using parallel.internal.apishared.ConnMgrBuilder.buildForCJS (line 96) Java exception occurred: com.mathworks.toolbox.distcomp.pmode.peermessaging.AbstractPeerAcceptor$CouldNotOpenServerSocketChannelException: CouldNotOpenServerSocketChannel: MatlabPoolPeerInstance{fUuid=a338a8e1-55ad-4cc3-8a34-1cb5edc9cfd0, fGroupUuid=f4f49202-54fd-4e17-a54e-9383e098ac00, fAliasedProcessInstance=[Process: client], fNumberOfLabs=-1} could not open a ServerSocketChannel on Horvath-Maze.
at com.mathworks.toolbox.distcomp.pmode.peermessaging.AbstractPeerAcceptor.<init>(AbstractPeerAcceptor.java:62)
at com.mathworks.toolbox.distcomp.pmode.peermessaging.PeerActiveAcceptor.<init>(PeerActiveAcceptor.java:28)
at com.mathworks.toolbox.distcomp.pmode.io.MatlabPoolServerSocketAcceptor.<init>(MatlabPoolServerSocketAcceptor.java:38)
at com.mathworks.toolbox.distcomp.pmode.io.ConnectionManager.buildClientConnManager(ConnectionManager.java:223)
Caused by: java.net.SocketException: Unrecognized Windows Sockets error: 87: socket
at sun.nio.ch.Net.socket0(Native Method)
at sun.nio.ch.Net.serverSocket(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.<init>(Unknown Source)
at sun.nio.ch.SelectorProviderImpl.openServerSocketChannel(Unknown Source)
at java.nio.channels.ServerSocketChannel.open(Unknown Source)
at com.mathworks.toolbox.distcomp.pmode.peermessaging.AbstractPeerAcceptor.<init>(AbstractPeerAcceptor.java:59)
... 3 more
When I tried to validate the local cluster profile it fails to perform the SPMD job test. Validation details as below:
Stage: SPMD job test (createCommunicatingJob) Status: Failed Description:The job errored or did not reach state finished. Command Line Output:(none) Error Report:(none) Debug Log: LOG FILE OUTPUT: [0] MATLAB is running in headless mode. Figure windows will not be displayed. [7] MATLAB is running in headless mode. Figure windows will not be displayed. [6] MATLAB is running in headless mode. Figure windows will not be displayed. [5] MATLAB is running in headless mode. Figure windows will not be displayed. [4] MATLAB is running in headless mode. Figure windows will not be displayed. [2] MATLAB is running in headless mode. Figure windows will not be displayed. [3] MATLAB is running in headless mode. Figure windows will not be displayed. [1] MATLAB is running in headless mode. Figure windows will not be displayed. [0] [0] To get started, type one of these: helpwin, helpdesk, or demo. [0] For product information, visit www.mathworks.com. [0] [4] [4] To get started, type one of these: helpwin, helpdesk, or demo. [4] For product information, visit www.mathworks.com. [4] [2] [2] To get started, type one of these: helpwin, helpdesk, or demo. [2] For product information, visit www.mathworks.com. [2] [5] [5] To get started, type one of these: helpwin, helpdesk, or demo. [5] For product information, visit www.mathworks.com. [5] [3] [3] To get started, type one of these: helpwin, helpdesk, or demo. [3] For product information, visit www.mathworks.com. [3] [7] [7] To get started, type one of these: helpwin, helpdesk, or demo. [7] For product information, visit www.mathworks.com. [7] [6] [6] To get started, type one of these: helpwin, helpdesk, or demo. [6] For product information, visit www.mathworks.com. [6] [1] [1] To get started, type one of these: helpwin, helpdesk, or demo. [1] For product information, visit www.mathworks.com. [1] [0] 2014-07-18 15:52:41 | About to evaluate task with DistcompEvaluateFileTask [0] » [4] 2014-07-18 15:52:41 | About to evaluate task with DistcompEvaluateFileTask [4] » [2] 2014-07-18 15:52:41 | About to evaluate task with DistcompEvaluateFileTask [2] » 2014-07-18 15:52:41 | Enter distcomp_evaluate_filetask_core [0] 2014-07-18 15:52:41 | Enter distcomp_evaluate_filetask_core/iSetup [5] 2014-07-18 15:52:41 | About to evaluate task with DistcompEvaluateFileTask [5] » [3] 2014-07-18 15:52:41 | About to evaluate task with DistcompEvaluateFileTask [3] » [0] 2014-07-18 15:52:41 | This process will exit on any fault. [0] 2014-07-18 15:52:41 | This process will exit when its parent process dies. [0] 2014-07-18 15:52:41 | About to initialize MPI. [7] 2014-07-18 15:52:41 | About to evaluate task with DistcompEvaluateFileTask [7] » [6] 2014-07-18 15:52:41 | About to evaluate task with DistcompEvaluateFileTask [6] » 2014-07-18 15:52:41 | Enter distcomp_evaluate_filetask_core [4] 2014-07-18 15:52:41 | Enter distcomp_evaluate_filetask_core/iSetup [1] 2014-07-18 15:52:41 | About to evaluate task with DistcompEvaluateFileTask [1] » 2014-07-18 15:52:42 | Enter distcomp_evaluate_filetask_core [5] 2014-07-18 15:52:42 | Enter distcomp_evaluate_filetask_core/iSetup [4] 2014-07-18 15:52:41 | This process will exit on any fault. [4] 2014-07-18 15:52:42 | This process will exit when its parent process dies. 2014-07-18 15:52:41 | Enter distcomp_evaluate_filetask_core [2] 2014-07-18 15:52:41 | Enter distcomp_evaluate_filetask_core/iSetup [2] 2014-07-18 15:52:42 | This process will exit on any fault. [2] 2014-07-18 15:52:42 | This process will exit when its parent process dies. [2] 2014-07-18 15:52:42 | About to initialize MPI. [0] [0] job aborted using terminate/kill: [0] process: node: exit code: error message: [0] 0: localhost: 1: Fatal error in MPI_Init_thread: Other MPI error, error stack: [0] MPIR_Init_thread(394)........: Initialization failed [0] MPID_Init(135)...............: channel initialization failed [0] MPIDI_CH3_Init(35)...........: [0] MPIDI_CH3I_Progress_init(309): [0] MPIDU_Sock_listen(933).......: unable to create a socket [0] easy_create(143).............: WSASocket failed, The parameter is incorrect. (errno 87) [0] Fatal error in MPI_Init_thread: Other MPI error, error stack: [0] MPIR_Init_thread(394)........: Initialization failed [0] MPID_Init(135)...............: channel initialization failed [0] MPIDI_CH3_Init(35)...........: [0] MPIDI_CH3I_Progress_init(309): [0] MPIDU_Sock_listen(933).......: unable to create a socket [0] easy_create(143).............: WSASocket failed, The parameter is incorrect. (errno 87) [5] 2014-07-18 15:52:42 | This process will exit on any fault. [5] 2014-07-18 15:52:42 | This process will exit when its parent process dies. [5] 2014-07-18 15:52:42 | About to initialize MPI. [4] 2014-07-18 15:52:42 | About to initialize MPI. 2014-07-18 15:52:42 | Enter distcomp_evaluate_filetask_core [3] 2014-07-18 15:52:42 | Enter distcomp_evaluate_filetask_core/iSetup [3] 2014-07-18 15:52:42 | This process will exit on any fault. [3] 2014-07-18 15:52:42 | This process will exit when its parent process dies. [3] 2014-07-18 15:52:42 | About to initialize MPI.
----
Any suggestions are highly appreciated! Thank you.
  1 Comment
Edric Ellis
Edric Ellis on 22 Jul 2014
It looks like there are some problems opening up communications. If you have a firewall running on your system, try disabling it and seeing if that makes any difference.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!