Borrar filtros
Borrar filtros

Robust SPMD-like structure

1 visualización (últimos 30 días)
Stephen
Stephen el 7 de En. de 2016
Respondida: Walter Roberson el 7 de En. de 2016
I'm interested in running some subroutine on different sets of data in parallel. Sometimes, a dataset will cause errors in the subroutine, but most of the time it does not. Is there a way to salvage the valid results from all of the datasets without errors? SPMD documentation says that it will stop all workers upon encountering an error in one.

Respuestas (1)

Walter Roberson
Walter Roberson el 7 de En. de 2016
Put in your own try/catch
You might also want to look at parfeval()

Categorías

Más información sobre Parallel for-Loops (parfor) en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by