Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Strange matlabpool bug in R2013a for Mac
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I've written a program that can either run with standard 'for' loops or with 'parfor' loops, in an attempt to show the speed differences between the two. The loops are located in different function files, so if the 'for' loops are used, the 'parfor' function isn't even called. For some reason, when I have a matlabpool open, the 'for' loop function goes absolutely crazy and uses all cores on my machine, and ironically takes a long time to compute the problem. However, if I then close the matlabpool, the 'for' loop function runs quickly and only uses 1 core as expected. Has anyone observed this behaviour? I've actually tried this code in both R2013a and R2013b and it does the same thing both times. Also running OS X Mavericks 10.9.3 beta (possibly the problem).
2 comentarios
Edric Ellis
el 11 de Mzo. de 2014
This sounds surprising. Do you have some concise code that demonstrates the problem?
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!