Fihop
Fihop

Reputation: 3177

matlab parallel computing toolbox--failed to start matlabpool using 'local' profile

My desktop runs in Ubuntu 12.04 LTS and the matlab is R2013a. I'm doing local parallel computing(use multicores of my desktop). Before using the following command to start matlabpool, I've already validated the local configuration of parallel computing toolbox. To verify this point, I've attached the figure 1.

enter image description here

                                    figure 1

  matlabpool local 4

But it takes like forever to start the matlabpool. After running 10 minutes, the command line is still like:

Starting matlabpool using the 'local' profile ...

So I use ctrl+c to stop it. It always give me:

Operation terminated by user during parallel.internal.pool.InteractiveClient>iGetSingleConnection (line 737)

Based on the above information, it seems that it get stuck at iGetSingleConnection.

Thanks,

Upvotes: 1

Views: 2751

Answers (1)

chappjc
chappjc

Reputation: 30579

I don't know about Ubuntu, but in Windows when you install a new version of MATLAB, the old firewall rules do not apply to the new executables. So, you need to open the firewall to allow access to the smpd.exe, mpiexec.exe and MATLAB.exe processes. For example, in Windows, I get one of these:

enter image description here

Then I need to go into Windows firewall settings and make the rules. Here is how to create an inbound program rule in Windows 7/8. Maybe there is something similar in Ubuntu.

Upvotes: 1

Related Questions