This project has moved. For the latest updates, please go here.

Potential bug: Matlab VtsMonteCarlo.RunPostProcessors method failing for more than one post-processor

Coordinator
Oct 5, 2014 at 10:21 PM
Edited Oct 5, 2014 at 10:22 PM
Ran across this yesterday. The root appears to be line 231, where the call to "RunAll" is in fact only running one post processor (or at least just returning one result).

Replacing the 1-line call to RunAll with a for-loop, all seems to run to completion correctly:
outputsNET = NET.createArray('Vts.MonteCarlo.SimulationOutput', npp);            
for ppi = 1:npp
    ppNET = postProcessors(ppi);
    outputsNET(ppi) = ppNET.Run(); 
end
...but of course, no parallelization occurs as with RunAll.

Has anyone else run across this before?