mpiprofile viewer crashes unexpectedly

1 Ansicht (letzte 30 Tage)
Alexandre Kazantsev
Alexandre Kazantsev am 27 Mär. 2020
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 Kommentar
Alexandre Kazantsev
Alexandre Kazantsev am 27 Mär. 2020
The issue disappears when there is no debug point at the last line of the script

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Edric Ellis
Edric Ellis am 30 Mär. 2020
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.

Weitere Antworten (0)

Kategorien

Mehr zu Parallel Computing Fundamentals finden Sie in Help Center und File Exchange

Produkte


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by