Simulink design optimization with Parallel computing toolbox
1 view (last 30 days)
Show older comments
Hello all, I am using Simulink design optimization with parallel computing toolbox to tune some parameters( usually 10-15), the problem is with how many ever cores I start the optimization, it gives me a error saying
'The session that parfor is using has shutdown'
or
'The client has lost connection to Lab X' X being some number.
This occurs when I deal with pretty huge data sets.
from comments of Jason Ross to this answer http://www.mathworks.com/matlabcentral/answers/27749-cores-vs-speed-tradeoff-for-a-matlab-computer
the peak memory usage is 3.2 GB, my machine settings are Windows 7, Dual Quad(2.13GHz), 24 GB RAM, 240 GB SSD with 60GB page file and 70GB free space.
I hope I am clear enough, any help to resolve this issue would be appreciated
0 Comments
Answers (1)
Alec Stothert
on 8 Mar 2012
Hi Srinivas,
Is this for an estimation problem, in other words is it the expected model output data that is "pretty huge"? Can you send the data (or similarly sized data) to the MATLAB pool using a parfor loop, i.e., outside of SDO.
-Alec
2 Comments
Alec Stothert
on 8 Mar 2012
Without knowing the whole estimation problem I was wondering if you hit a memory issue causing the pool to fail simply by using a parfor loop. So something like:
data = LoadMyHugeData
parfor ct=1:10
result(ct) = mean(data); %or some action on the data
end
I'll send you an email and we can discuss more off line.
-Alec
See Also
Categories
Find more on Parameter Estimation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!