how to get parpool to pause at breakpoints?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ivan Viti
am 29 Apr. 2019
Beantwortet: Edric Ellis
am 30 Apr. 2019
When I do "parpool('local',4)" Matlab ignores my breakpoints so that I can't debug my parallel code. This is within an spmd section.
0 Kommentare
Akzeptierte Antwort
Edric Ellis
am 30 Apr. 2019
Unfortunately, it is not possible to use the MATLAB debugger to debug code running on workers. The normal workaround is to liberally sprinkle fprintf or disp calls through your code that will be run on the workers. Often this is sufficient to narrow down the problematic portion of code to something you can debug on the client.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Parallel Computing Fundamentals finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!