mpiprofile viewer crashes unexpectedly

조회 수: 1 (최근 30일)
Alexandre Kazantsev
Alexandre Kazantsev 2020년 3월 27일
댓글: Alexandre Kazantsev 2020년 4월 2일
The following minimal code
parpool
spmd
mpiprofile on
mpiprofile viewer
end
disp('there is a db point set at this line')
displays the following :
Lab 1:
Sending pmode lab2client to the MATLAB client for asynchronous evaluation. "
with this error message coming next :
Undefined function or variable 'MPI_PROF_VECTOR'.
Any clue ?
  댓글 수: 1
Alexandre Kazantsev
Alexandre Kazantsev 2020년 3월 27일
The issue disappears when there is no debug point at the last line of the script

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

채택된 답변

Edric Ellis
Edric Ellis 2020년 3월 30일
I suspect the debug breakpoint is interfering with the data transfer from the spmd block back to the client.
I suppose the only workaround is: don't put a breakpoint there!
Starting in R2020a, you can invoke mpiprofile directly from the client, so you can do this instead:
parpool
mpiprofile on
spmd
% do stuff
end
mpiprofile viewer
I believe this approach should not be affected by the presence of breakpoints.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Parallel Computing Fundamentals에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by