f



parallel computing toolbox error

I am running MATLAB R2008a on a LINUX machine and trying to use the 
parallel computing toolbox.

When I run the code:

%--------------parforTest.m------------------
matlabpool open;
tic;
A=zeros(1, 20480);
parfor i = 1:20480
     A(i) = sin(i*2*pi/2048);
end
toc
plot(A);
matlabpool close;
%-------------------------------------------

I got the error message:

%-------------------------BEGIN------------------------------------------
Starting matlabpool using the parallel configuration 'local'.
Waiting for parallel job to start...
Connected to a matlabpool session with 4 labs.
??? Error using ==> 
parallel_function>make_general_channel/channel_general at 829
Undefined command/function 'display'.

Error in ==> parallel_function>distributed_execution at 725
     [tags, out] = P.getCompleteIntervals(min(thisDispatchSize, j));

Error in ==> parallel_function at 564
R = distributed_execution(...

Error in ==> parforTest at 4
A = zeros(1, 20480);

??? Operation terminated by user during ==> remoteParallelFunction at 34
%-----------------------------END------------------------------------


Anyone knows what's the problem?

Thanks,
Rui
0
ruiw518 (2)
8/28/2008 1:28:59 AM
comp.soft-sys.matlab 211266 articles. 23 followers. lunamoonmoon (257) is leader. Post Follow

0 Replies
745 Views

Similar Articles

[PageSpeed] 22

Reply: