Random Parfor iterations missing

1 visualización (últimos 30 días)
Jeremy
Jeremy el 16 de Jul. de 2014
Comentada: Jeremy el 16 de Jul. de 2014
Was just curious as to whether anyone else had encountered something like this.
I'm running a designed experiment. There are 33 treatments in the design, so the simulation runs each one and writes out a file with 33 lines, one per design point. The parfor loop is at the level, as each treatment level runs independently from the others.
This whole process is then iterated in order to provide replications at each design point.
I just ran 600 replications over night to generate a bunch of data for variance characterization. When I imported the data, I found that of my 600 output files, 8 of them had only 32 lines instead of 33. Each one was missing one treatment level...only one treatment was missing twice, and there's no identifiable pattern, or at least none that I can discern:
Run --- Missing Treatment
272 --- 10
273 --- 3
278 --- 1
319 --- 21
329 --- 20
367 --- 21
424 --- 19
487 --- 8
Just wondering if anyone else had encountered something similar...and if they maybe found a way to mitigate it.
  7 comentarios
Sean de Wolski
Sean de Wolski el 16 de Jul. de 2014
Just rerun the failed iterations to see if it's something with them specifically.
Jeremy
Jeremy el 16 de Jul. de 2014
I can certainly do that...but I'd like to figure out what the root cause was. It was a pain in the butt to sift through 600 sets of output to identify the ones that were missing elements and I'd rather not have to do that again.
Plus, I can't see how it would be something with those specific iterations. For example, the first one...run number 272 didn't have a line of output for the 10th design point. That design point ran just fine 599 other times....
Puzzling....

Iniciar sesión para comentar.

Respuestas (0)

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by