matlabpool hangs when working on a virtual machine
显示 更早的评论
I try to run parallel process on a matlab on a virtual machine (windows 8 using oracle virtualBox). It hangs in subfunction pGetSockets:
while WAITING_FOR_SOCKET
accepted = obj.ConnectionManager.activelyAccept();
WAITING_FOR_SOCKET = isempty( accepted );
...
end
since accepted is always returned empty.
i've tried all of the solutions i found but it still happens.
thanks.
回答(1 个)
Jason Ross
2013-4-4
0 个投票
- If you validate your cluster profile, is there any more information provided? (Parallel > Manage Cluster Profiles > select the profile, then validate)
- What scheduler are you using? (Local, MDCE, LSF, etc).
- Can you validate a local cluster?
- What release are you working with?
- Do you have the firewall enabled?
- Does your VM have networking set up?
- Is that network functional and correct? (e.g. hostname resolves forward and backward, DNS settings are correct, etc)
- How much RAM do you have configured, how many processors, and how many MATLABs are you trying to open in the pool?
What other solutions did you try?
2 个评论
edo
2013-4-7
编辑:Jason Ross
2013-4-9
Jason Ross
2013-4-9
Things I'd try
- Disable the firewall temporarily, it's by far the easiest thing to try.
- Run AdminCenter in matlabroot\toolbox\distcomp\bin . Don't do the MDCE setup options, but run the "Connectivity tests" to check your hostname.
FWIW
- your scheduler is "local".
- the minimum system requirement is 2 GB/MATLAB. With 8 workers in your matlabpool, make sure to have the VM configured with 16 GB.
If the above doesn't work, I'd suggest calling technical support.
类别
在 帮助中心 和 File Exchange 中查找有关 Job and Task Creation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!