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!