Error when creating a distributed array

조회 수: 9 (최근 30일)
Jean-Baptiste SCHIRATTI
Jean-Baptiste SCHIRATTI 2016년 1월 6일
답변: Rahul Goel 2016년 1월 8일
I am working with Matlab2015b. When I try to create a distributed array using
M=randn( n,p, 'distributed' );
I obtain the following error :
Error using spmdlang.RemoteSpmdExecutor/throwBlockExceptions (line 159)
Error detected on workers 2 3 4.
Error in spmdlang.spmd_feval_impl (line 26)
blockExecutor.throwBlockExceptions();
Error in spmd_feval_fcn (line 59)
spmdlang.spmd_feval_impl( f, @assign_outputs, get_out, unpack_in, initial_outputs, argsInCell,
varargin{:} );
Error in distributed/sBuild (line 16)
M = spmd_feval_fcn( @iBuild, [{codBuildMethod}, argsCell(:).'] );
Error in distributed.randn (line 36)
M = distributed.sBuild( @codistributed.randn, 'randn', varargin{:} );
Caused by:
Cell contents reference from a non-cell array object.
Cell contents reference from a non-cell array object.
Cell contents reference from a non-cell array object.
Where is this coming from ? How can I solve this ? Thank you for your help !
  댓글 수: 1
Edric Ellis
Edric Ellis 2016년 1월 7일
Hm, that works for me. What values of m, p are you using? How large is your parallel pool?

댓글을 달려면 로그인하십시오.

답변 (1개)

Rahul Goel
Rahul Goel 2016년 1월 8일
Hi Jean,
This works for me too. What is the result of validation of your cluster profile? It seems like worker 2 and 3 are running into issues.

카테고리

Help CenterFile Exchange에서 Grid Lines, Tick Values, and Labels에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by