Is there a way for a worker to see how many workers are in the parpool?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
Is there a way for a worker to see how many workers are in a parpool?
Currently i have this, but i have to change the value of NumWorkers before the parpool is started and for the first pctRunOnAll.
NumWorkers = 32;
ParallelPool = parpool(NumWorkers);
pctRunOnAll NumWorkers = 32;
pctRunOnAll ParaScript
I know that i can do..
ParallelPool.NumWorkers
..in the parent script but this doesn't work in a worker.
Thanks
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Parallel Computing Fundamentals 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!