Simulink design optimization with Parallel computing toolbox

1 次查看(过去 30 天)
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.
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

回答(1 个)

Alec Stothert
Alec Stothert 2012-3-8
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 个评论
Srinivas
Srinivas 2012-3-8
Hi Alec,
This is an estimation problem, the expected model output data is "pretty huge", I have no problems running it on smaller data sets. I am not sure what you mean by sending the data to the MATLAB pool using a parfor loop.
Alec Stothert
Alec Stothert 2012-3-8
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Parameter Estimation 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by